Go West - Pet Shop Boys

[youtube &w=560&h=315] (Together) We will go our way (Together) We will leave someday (Together) Your hand in my hands (Together) We will make our plans (Together) We will fly so high (Together) Tell all our friends goodbye (Together) We will start life new (Together) This is what we’ll do ...

October 22, 2017 · 2 min · birdchan

山河故人 Mountains May Depart

[youtube &w=560&h=315] http://cinephilia.net/36403 Very interesting film.

October 22, 2017 · 1 min · birdchan

The best time to plant a tree was 20 years ago. The second best time is now.

Nice post: https://medium.com/@benjaminhardy/2-quotes-that-will-reshape-your-approach-to-life-194ce05586fd

October 12, 2017 · 1 min · birdchan

The Fastest Wireless Networks of 2017

Ref: https://www.tomsguide.com/us/best-mobile-network,review-2942.html

October 2, 2017 · 1 min · birdchan

Air travel planning is messy

I didn’t know there is so much math behind searching for a plane ticket… http://www.demarcken.org/carl/papers/ITA-software-travel-complexity/ITA-software-travel-complexity.pdf

October 1, 2017 · 1 min · birdchan

virtualenvwrapper in osx

Using python virtual env wrapper is very beneficial, especially when you have many python projects using different python versions. It would be a disaster if we just blindly pip install all project modules into our global site-packages. There will definitely be package conflicts later on. Using a virtual environment will keep your python modules stored separately per environment, thus avoiding many issues mentioned above. To install virtualenvwrapper, just do pip install virtualenvwrapper. Or follow this doc. ...

September 29, 2017 · 2 min · birdchan

Docker Tutorial Series

Highly recommend this Docker Tutorial Series written by Romin Irani. Some content is outdated, but the tutorial posts are very easy to understand. https://rominirani.com/docker-tutorial-series-a7e6ff90a023

September 26, 2017 · 1 min · birdchan

OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/

If you try to run pip install and got this error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/, perhaps you don’t have permission to that folder. Try: [code] sudo chown -R $USER /Library/Python/2.7 [/code]

September 22, 2017 · 1 min · birdchan

Command prompt setting

Just to add more to my previous command prompt setting post. These two links will help you construct your command prompt PS1 string: http://ezprompt.net/ http://bashrcgenerator.com/ And if you use git a lot, this following setting will show your current git branch name in your command prompt. Thanks to this post. parse_git_branch() { git branch 2> /dev/null | sed -e ‘/^[^*]/d’ -e ’s/* \(.*\)/ (\1)/’ } export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " So my complete prompt setting .bash_profile lines are: ...

September 22, 2017 · 1 min · birdchan

Stop iTunes opening when plugging in iPhone

Open iTunes, go to Preferences, click the Devices tab icon, and then check the box on the bottom left.

September 15, 2017 · 1 min · birdchan