Inject dynamic host IP address with Gradle

If you're developing an Android app which requires any kind of server you probably have to update the IP address of your local testing server every time you start developing. Since as developers we don't want to do things more then once we need to automate that. Luckily with the…

Adapt Phantom Ghost Theme

About 2 months ago I released this theme you're seeing for ghost. A few people asked me how to cosmosize fonts, css, etc. so I thought I'd write a brief summary of how to edit this theme. I suggest creating a fork of phantom on GitHub and clone your fork…

Phantom Ghost Theme

Finally, after about nearly 3 months of being down I took to the time to finish the Ghost theme to a point where don't need to be ashamed of publishing it. The blog is up and running again, I migrated from Wordpress to Ghost which wasn't that easy because my…

Sublime Text: Wrap in closure

If you write a lot of JavaScript this little Sublime Text Snippet might come in handy. It wraps your selection in a closure function and puts 2 cursors inside the parameter brackets. Usage Select some code and press Ctrl + Shift + P It will be listed in the fuzzy search with…

JSHint in Sublime Text 3 (Can't load reporter file)

There isn't really a reason why someone shouldn't use JSHint or JSLint. If you installed the JSHint plugin in Sublime Text 3 you probably get the error: Can't load reporter file. That's because the plugin isn't Sublime Text 3 compatible. Luckily there's an easy fix for that. First cd into…

Execute MySQL from Sublime Text

Oh dear, it has been over a year since my last post. I shouldn't be so lazy. Enough said, lets blow the dust of this blog and start being more productive again. If you want to execute a sql file directly from Sublime Text and want to see the result…