This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As I just saw someone got verified on Twitter (i.e. the little blue v mark on the avatar), I wondered what the process would be to become | |
verified. | |
My guess it's quite random and highly influenced by knowing the right people. | |
But if Twitter would be doing this for all its users by default, it could and probably would make Twitter a nice place again. No more | |
anonymous cowards harassing other people. There's been plenty of that the last few years and Twitter should act upon it if it wants to | |
survive and grow its user base again. | |
But what if we think bigger? What if the internet itself had some concept of identity. Currently, online we can claim whoever we want to | |
be. Think of the sily gifs around the internet about a dog chatting to a fridge. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am willemsst on github. | |
* I am willemsst (https://keybase.io/willemsst) on keybase. | |
* I have a public key whose fingerprint is 8A46 77DF 6479 59FD BAE3 2560 EC51 2B86 D46F F779 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +willemsst is my openname (Bitcoin username). https://onename.io/willemsst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
public class IntParseTest { | |
private static int parseInt(String s) { | |
int result = 0; | |
char x; | |
boolean negative = false; | |
for (int i = 0; i < s.length(); i++) { | |
x = s.charAt(i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package be.idevelop.opencom.smtp.server.actor | |
import akka.actor.ActorRef | |
import akka.actor.ActorSystem | |
import akka.camel.Camel | |
import akka.camel.CamelExtension | |
import akka.util.Timeout | |
import be.idevelop.opencom.util.Condition | |
import org.apache.camel.CamelContext | |
import org.apache.camel.component.james.smtp.SMTPComponent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package be.idevelop.opencom.smtp.server.actor | |
import akka.actor.ActorSystem | |
import org.apache.commons.mail.SimpleEmail | |
import spock.lang.Shared | |
import spock.lang.Specification | |
class SmtpActorTest extends Specification { | |
@Shared | |
ActorSystem system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package be.idevelop.opencom.smtp.server.actor; | |
import akka.actor.*; | |
import akka.camel.*; | |
import akka.camel.javaapi.*; | |
import org.apache.camel.*; | |
import org.apache.camel.component.james.smtp.*; | |
import org.slf4j.*; | |
import scala.concurrent.duration.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package be.idevelop.util; | |
/** | |
* MIT License http://opensource.org/licenses/MIT | |
* | |
* @author @willemsst | |
*/ | |
import java.lang.reflect.*; | |
import java.nio.*; |