Reading output from running crontab process

— update– for more ways to do it checkout http://askubuntu.com/questions/192798/reading-the-output-from-any-process-using-its-pid ———— Today I was run a long process from crontab. But I forget to set the output of the command. Checking with ps aux |…

Capybara.ignore_hidden_elements

Be careful with this value, or if you are not aware about this option. When set to true (which is default for selenium), you will not be able to get the element using method find,…

corrupt zsh history file

Today I experienced corrupt zsh history file. Which simply kills my most favorite terminal command ever (j). After quick googling, the fix is simple too. First edit ~/.zsh_history and remove line with a lot of…

ssh disconnect issue

On a normal day, I keep several console connected with ssh to my servers. Often, I encountered my ssh console frozen or Write failed: Broken pipe In order to avoid such issue, we can simply…

Installing passenger on existing nginx

The normal installation of passenger usually require you to either do 1. passenger-install-nginx-module, or 2. go to nginx source and reinstall manually with extra –add-module /path-to-passenger-module I am a bit reluctant to do option-1 because…

My new startup

I am starting to work fulltime on my new startup. Co-founding startup is not easy.. haha. Anyway, here is the link to it: http://www.sirclo.com

happy kicker for happy mommies

Inspired by my lovely wife‘s ritual of counting baby kicks during last trimester of pregnancy, me and colleague designer wrote this simple app. So, in brief, this apps helps you track the number of kicks…

Git delete remote branch

I have been playing around with git flow. Then I ended up with several feature/xxx remote branch. So to tidy things up, I need to delete those branches. The syntax is a bit strange but…

USB Tethering on mac

While away from wifi, your phone will be the only connection source. Unfortunately, I haven’t been able to make my phone wifi tethering stable. And what make it worse is that if the phone make…

Star Trek Mobile Application

During the last few months, icehouse was busy making apps for this cool movie. We have been told to keep it hush2, but now that it has been available to play store and AppStore here,…