Whatever you do, don’t panic!
Archive for December, 2008
Colorful make output
Dec 4th
This handy piece of code colors errors and warnings in make output.
(put it in your .bash_profile)
make()
{
pathpat="(/[^/]*)+:[0-9]+”
ccred=$(echo -e “\033[0;31m")
ccyellow=$(echo -e "\033[0;33m")
ccend=$(echo -e "\033[0m")
/usr/bin/make "$@" 2>&1 | sed -E -e "/[Ee]rror[: ]/ s%$pathpat%$ccred&$ccend%g” -e “/[Ww]arning[: ]/ s%$pathpat%$ccyellow&$ccend%g”
return ${PIPESTATUS[0]}
}
{
pathpat="(/[^/]*)+:[0-9]+”
ccred=$(echo -e “\033[0;31m")
ccyellow=$(echo -e "\033[0;33m")
ccend=$(echo -e "\033[0m")
/usr/bin/make "$@" 2>&1 | sed -E -e "/[Ee]rror[: ]/ s%$pathpat%$ccred&$ccend%g” -e “/[Ww]arning[: ]/ s%$pathpat%$ccyellow&$ccend%g”
return ${PIPESTATUS[0]}
}
via shawnwilsher.com
An alternative would be to install colormake and use that instead of the normal make command.











Facebook Connect
Dec 23rd
Posted by Florian Beer in blog
No comments
This Blog is now Facebook Connect enabled.
If you have a Facebook account, you can click the “Connect with Facebook” button in the comment section to tie your ramblings to your social network profile.
Awesome, isn’t it?