Just to make some little noise after not pushing anything to this blog, I will share this nice trick I learned today. If you want to see what macros gcc define on your platform:
gcc -E -dM -xc /dev/null
does the job for you.
Just to make some little noise after not pushing anything to this blog, I will share this nice trick I learned today. If you want to see what macros gcc define on your platform:
gcc -E -dM -xc /dev/null
does the job for you.
Git has been warning me for leaving trailing whitespace in code files every now and then. So I decided to put this in my .vimrc:
Source: here
Found this useful piece of code to put into .bashrc, which shows the current branch when the current working directory is versioned by git.
This was the most useful thing I’ve found today.
found it here.