A collection of random hacks – Ubuntu

Whether you are a sysadmin, developer or just a user, if you face a non-trivial issue while setting up any software, you generally head over to sites like stackoverflow.com to find any solutions. If the problem is solved and you are happy, you generally do two things: Bookmark/Star that post, and secondly make a note to your own workflow about that issue for future references. For what its worth, here is the collection of such notes prepared by me for ubuntu 12.04 LTS. However, most solutions should work on 14.04 too. Continue reading

How to host a Flask app on Openshift

Openshift free tier is an excellent way to host your python web app for staging or testing, and you can even host a low to medium traffic production site. Openshift provides several options (cartridges) for hosting including python, php, node.js, etc. but python being my favorite language and Flask being a minimalist and flexible framework, this combination is what I usually end up with. Continue reading

Farewell WordPress, Hello Jekyll!

Here I am, signing off from a self-hosted, over-bloated WordPress site and finding a welcome change in Jekyll, a blog-aware static site generator. There is nothing new about this, several well-known bloggers have already migrated to Jekyll in the last few years including Rasmus Andersson, Nick Quaranto and Roger Chapman. Ever since Tom Preston Werner invented this thing in 2008 and published his infamous article about Blogging Like a Hacker, it has become the Go-to thing for those of us who favour on-line publishing above everything else. Continue reading

PHP – An Annoying Tryst

It has been a few months since I’ve started working primarily in PHP and I am actually liking the language a lot! I like the simplicity and symmetry found in C style of solving problems, and PHP has got liberal amounts of that kind of resemblance. I have even come to terms with the clutter of all unorganized functions, considering all the positive aspects of PHP programming. Continue reading

9 Optimizations to make your Linux Desktop fly like a Rocket!

This article is the result of notes I’ve prepared during tweaking, twisting and optimizing ubuntu variants over the last few years. In case you use any other distro, some of these settings may not be applicable to you. For best results, these changes must be done on top of a fresh installation, otherwise chances of things breaking increase a bit. Each step is optional – In case of software removals, do it only if you are not going to use the concerned software. Be careful before making any changes and know exactly what and why you are doing that. Continue reading