- Vert.x http://Vertx.io
- Spark http://Sparkjava.com
- Jooby http://jooby.org
- Rapidoid http://rapidoid.org
- Pippo http://pippo.ro
- Blade http://bladejava.com
- Javalite http://javalite.io
- Microserver https://github.com/aol/micro-server
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
The server.rb
file slowly feeds data to the socket, and both clients will yield data as it's available. UneventfulMachine
steals the API of EventMachine.
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
// define a grammar called Hello | |
grammar Hello; | |
r : 'hello' ID; | |
ID : [a-z]+ ; | |
WS : [ \t\r\n]+ -> skip ; |