Web Development, Ruby on Rails, DevOps, Git, Tools, Programming, Tips & Tricks

Doing some work before exiting (Ruby)


When running a few programs (like Web server or a script), do you notice that sometimes they print out "Good bye" message before exiting? I was wondering if

UNIX commands for daily tasks

UNIX is a base OS for many popular OS you are using right now, from Linux to Mac OSX. Those OS share common commands so it is pretty easy to

Executing shell script from Ruby code

Many times when we are developing an application using Ruby, we want to run a shell script to do certain task. For example, imagine that I have a script do_

How to create private git server


Github, Bitbucket or Gitlab are common git servers you have heard of. But do you know that you can also create your own git server with just a few lines