What files to add to my version control (git,svn,etc..) from my Visual Studio project?

I guess ultimately the question is what NOT to take into your code versioning system… This is the contents of my .gitignore file… there may be other things which need to be ignored but that’s what I use: Backup/ Debug/ Release/ bin/ obj/ _UpgradeReport_Files/ CodeAnalyst/ *.csproj* *.user *.suo *.ncb *.dll *.exe *.pdb ipch/ *.sdf *.opensdf […]

Continue reading


WordPress Quick Tips: background color, special chars

To set special attributes of a paragraph e.g. the background, font typeface, color and size, etc enclose your paragraph in a <div> tag, e.g.: <div style=”background-color:black;color:red;font-size:0.75em;font-family:Courier”> Your paragraph goes here. It will use a Courier font, 75% of the normal size, and the text will be red on a black background…</div> Using the above settings […]

Continue reading


GDB – how to step into uClibc if you have .debug files

1. Make sure your debuginfo files are part of LD_LIBRARY_PATH. To do this, either a) add the path where you stored the .debug files to your LD_LIBRARY_PATH environment variable, e.g.: $ export LD_LIBRARY_PATH=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/target/usr/lib/debug:/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin/../lib:/opt/STM/STMCR1.5.0/lib:/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin/../../../host/stmc/lib Then restart gdb. OR b) start gdb and set the LD_LIBRARY_PATH from within gdb: (gdb) set env LD_LIBRARY_PATH /opt/STM/STLinux-2.3/devkit/sh4_uclibc/target/usr/lib/debug:/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin/../lib:/opt/STM/STMCR1.5.0/lib:/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin/../../../host/stmc/lib In my case […]

Continue reading


Error in PREUN scriptlet … file was supposed to be removed but is not

Sometimes a yum/RPM package would get “stuck” and just won’t go away. Actually usually the package is already gone but yum/rpm fails to update it’s internal DB and still thinks it is there. The error one usually sees in such cases is something like: Error in PREUN scriptlet in rpm package stlinux23-sh4_uclibc-which stlinux23-sh4_uclibc-which-2.16-5.sh4_uclibc was supposed […]

Continue reading