Start Unicorn on reboot in a Rails application

If you need to run some cron jobs on server, check out the ruby gem whenever. It lets you write cron jobs in ruby way. You can do lots of useful thing using whenever, create database dumps/backups, run scripts/commands on reboot etc. Using whenever to start unicorn on reboot 1. Add whenever to your Gemfile …

Check for open ports using this free tool : Port Checker

Few weeks ago I created a tool : port checker – that checks for open ports. It’s a simple web app built using Sinatra (a lightweight framework in ruby) and Foundation (an advanced front end framework), over a weekend. http://portchecker.co More about this little web app It simply checks for open ports on your computer (useful …

Getting started with Android Studio on Ubuntu/Linux (14.04 LTS)

Android Studio is the new development environment for Android (officially recommended). It’s based on IntelliJ IDEA (Integrated Development Environment from JetBRAINS). You can still use Eclipse IDE though (however, it may not be supported once the Android Studio comes out of beta) but Android Studio brings lots of new features and improvements (Advanced Android code …

Upgrading to Ubuntu 14.04 LTS

Ubuntu 14.04 “Trust Tahr” is released and It’s time to upgrade. Step 1. Backup Backup all the important files/configs/ etc. The upgrades usually go smooth but that doesn’t mean you shouldn’t have backup ready, in case anything goes wrong. Step 2. Disable proprietary drivers Remove proprietary binary drivers for graphic cards (Nvidia/AMD) etc as the linux …

Ubuntu 14.04 LTS is released!

Ubuntu 14.04 (code named as Trusty Tahr) is released.  It’s a LTS release, so, it will be supported for next 5 years (the earlier LTS edition (12.04) was released two years ago). If you move from LTS to LTS (as I do, for primary development environment), then it’s time to upgrade. Download Ubuntu 14.04 LTS …