$ traceroute 216.81.59.173 🙂
node-orm2 — Node.js Object Relational Mapping
ORM Package for Node.js. Works with MySQL, PostgreSQL and SQLite. var orm = require(‘orm’); orm.connect("mysql://username:password@host/database", function (err, db) { if (err) throw err; var Person = db.define(‘person’, { name : String, surname : String, age : Number, male : Boolean, continent : [ ‘Europe’, ‘America’, ‘Asia’, ‘Africa’, ‘Australia’, ‘Antartica’ ], // ENUM type photo : …
Continue reading “node-orm2 — Node.js Object Relational Mapping”
Unpretentiousil
Sublime Text Markdown Syntax Highlighting
Instructions for use with SublimeText3 in the comments below One of the features I find lacking in Sublime Text is the default support for Markdown syntax highlighting. Fortunately Sublime Text can be customized and we can define a color scheme of our own. To get the results as shown in the screenshot above, edit your …
Continue reading “Sublime Text Markdown Syntax Highlighting”
OS X hardlink
UPDATE 2013.02.09: Via the comments I’ve come to know that it is possible with ln after all as long as you don’t combine a tilde (˜) and quotes in the source path (which I did because some of my folders have spaces in their name). Just escape any spaces with a \ and the tilde …
Automatic Text Balancing on the Web for Better Readability
Good proposal by Adobe as this is an actual problem we’re facing in web development right now. Results in better readability and as an extra it also prevents typographic widows The proposed CSS looks like this: h1 { text-wrap: balance; } Balancing Text for better readability → The original article seems to be gone. Link …
Continue reading “Automatic Text Balancing on the Web for Better Readability”
Autocomplete git branch name
Turns out it’s possible to enable autocompletion of git branch names when working on the command line. The script can be automatically installed on OS X using these commands: $ curl -G https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.sh $ echo ‘source ~/.git-completion.sh’ >> ~/.bash_profile Don’t forget to re-open any already open Terminal windows. (via @decthomas) UPDATE: I’ve been …
Recommended SublimeText Plugin: GitGutter
Silex $app['autoloader']->registerNamespace() deprecated
The past few days I’ve been playing around with Silex, a micro PHP Framework. At a certain point I got stuck in the process when using a custom controller: the darn class just wouldn’t load and the (otherwise excellent) documentation on the Silex site has not mention on how to load it. Most of the …
Continue reading “Silex $app['autoloader']->registerNamespace() deprecated”
Evasi0n iOS6 Jailbreak Explained
Evasi0n’s userland component is very unique, because it is entirely filesystem-based. It doesn’t require memory corruption to escalate privileges from mobile to root. Perhaps it was named evasi0n because it evades all the userland exploit defenses instead of attacking them head-on. Evasi0n Jailbreak’s Userland Component →