Generate Android Log Tag in Studio/Intellij

Everything I do more than once I try to automate. For example creating a static variable TAG in a class for logging. In Android Studio/Intellij you can create a live template to make this quicker. Go to Settings > Live templates > Add, enter tag in the abbreviation, a…

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…