| area | dust | handlebars |
|---|---|---|
| community | ✘ company biased | ✔ wide community (i would say that it's the mainstream solution) [1] |
| features | ✘ rich | ✔ reduced [2] |
| learning curve | ✘ looks easy | ✔ looks easier (for me) |
| escaping | ✔ pipes [3] | ✘ {{{}}} and then? |
| variable delimiter | ✔ {} |
✘ {{}} |
| if | ✘ @if cond="" :else /if, if it works |
✔ #if else /if |
| subtemplates | ✘ oh yeah | ✔ maybe, if we really need it... [4] |
| documentation | ✘ go find it, fragmented | ✔ under your tips, see community |
This file contains hidden or 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
| // Gruntfile with the configuration of grunt-express and grunt-open. No livereload yet! | |
| module.exports = function(grunt) { | |
| // Load Grunt tasks declared in the package.json file | |
| require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
| // Configure Grunt | |
| grunt.initConfig({ | |
| // grunt-express will serve the files from the folders listed in `bases` |
This file contains hidden or 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
| set tabstop=2 | |
| set shiftwidth=2 |
This file contains hidden or 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
| function e(a) { | |
| return '"'+a+'"'; | |
| } | |
| /* | |
| > convert([{a: 1, b: 2}, {a: 3, b:4}]); | |
| '"a","b"\n"1","2"\n"3","4"' | |
| > convert([{a: 1, b: 2}, {a: 3, b:4}]); | |
| '"a","b"\n"1","2"\n"3","4"' | |
| */ | |
| function convert(j) { |
This file contains hidden or 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
| spitting | |
| drizzling | |
| raining | |
| pouring - lashing |
Since several people ask me about directions for a job in Berlin, here i write the few things i know and which helped me to find a job (as a developer).
The principal site for me was Berlin startup jobs: http://berlinstartupjobs.com/
I actually found my current job on the careers page for Berlin:
This file contains hidden or 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
| /** | |
| * SVG inspired by Quine's paradox | |
| */ | |
| svg { | |
| display: block; | |
| margin: 40px auto; | |
| font: 83px sans-serif; | |
| } |
This file contains hidden or 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
| .container { | |
| width: 500px; | |
| } | |
| .content { | |
| display: inline; | |
| margin-left: 20px; | |
| } |
This file contains hidden or 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
| http://www.restapitutorial.com/lessons/restfulresourcenaming.html | |
| frameworks for java: | |
| http://restlet.org/ | |
This file contains hidden or 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
| http://stackoverflow.com/questions/3792315/javascript-to-java-using-json/3794212#3794212 | |
| http://stackoverflow.com/questions/7539954/java-json-serialization-best-practice | |
| https://code.google.com/p/google-gson/ | |
| http://wiki.fasterxml.com/JacksonHome | |
| http://software.danielwatrous.com/restful-java-servlet-serializing-tofrom-json-with-jackson/ | |