Monthly Archives: July 2013

[Android] Remove fading-edge of Listview

How to do it ? 


This attribute is deprecated and will be ignored as of API level 14 (ICE_CREAM_SANDWICH). Useandroid:fadingEdgeLength="0dp" instead.





[Git setup] setup git on Mac machine

Struggled for hour and get git work now ( just like old time in linux).

It used to be very easy to work with git in linux, just sudo apt-get install git … and things are done.

But it’s a little bit fuzzy with this new Mac machine.

After downloading a version of git from

The next thing you want to try is to open terminal and type in the most lovely command “git”

But strange thing happens, it saids “bash-git command not found”

WTF, I just installed it seconds ago.

Wow, this happens because we need to tell the system what should it’s supposed to do with that command.

Your git stuffs in now in “/usr/local/git/bin/git

You need to create a symbol link to “/usr/local/bin”

Follow these steps

sudo -s
mkdir -p /usr/local/bin
ln -s /usr/local/git/bin/git /usr/local/bin/git

Done !