Install PostgreSQL 9.4 with Homebrew

Homebrew is a great tool on Mac to install 3rd-party softwares and unix softwares like libxml2, MySQL, Redis, etc. Today let’s install PostgreSQL 9.4 with it.

Use CLI to configure Wifi on debian for Raspberry Pi

Raspbian is a customized Debian on Raspberry Pi, and it’s almost same as Debian.

Install Raspbian image on Raspberry Pi 3

For SBC, a.k.a Single Board Computer, dd is our friend. Normally, this is the only tool we use to “install” OS.

Use email to create tasks in Omni Focus 2

There’s no doubt that Omni Focus 2 is a great GTD tool on Mac, or even in every platform. Sometimes I just feel hard to collect tasks, cause they are everywhere.

How should Evernote do right now?

A few years ago Evernote was the number 1 notes app all over the world, and everybody loves it.

Use getopt to parse script parameters

There are 3 ways to parse parameters for your CLI written by bash: position based parameter, getopts and getopt. With no doubt, getopt is the most powerful one.

Run psql without password

To run psql without prompting password, you need to create $HOME/.pgpass file like below with correct file permission 600:

Increase your disk size for boot2docker

You searched for this article, so I assume you know what boot2docker is and are using it. That’s good, so am I.

Kill containers in Docker

After using Docker for a while, you may find out there are so many containers in stopped status, and they are not deleted. You can delete them one by one with docker rm, but we are developers, how can we bear this?

Return text with Nginx

There is always a time that you want your web server just return some plain text to user or monitor services. One way of doing it is to create a static file and use url of this file.