Author Archives: bolt

Cool Software: PatchMyPC

This is an actual software autoupdater which is free, donate-ware and doesn’t contain malware! In short: awesome! Get it from: http://www.patchmypc.net/ PatchMyPC.exe

Cool Software: SlowMP3

Slow MP3 allows you to speed up and down MP3 files without getting “chipmunk” voices, transpose them up and down and other cool stuff. It’s awesome if you’re trying to learn that new song on your guitar and can’t find the tabs for it. Try it out! http://www.finki.net/pekka/slowmp3/ (now dead – see my copy below) […]

Creating .deb-Packages With Checkinstall

If you’ve exhausted all other options, it might be time to compile from source, even in Debian. If you’re about to do that though, don’t abandon the concept of .deb files and the advantages they bring with versioning and easy removal. Use “checkinstall“. Checkinstall is in the standard Debian repositories and encapsulates your install into […]

Fixing “shmget() failed: No space left on device”

I had this happen when someone ran a script to kill x11vnc every so often, using kill -9 (don’t ask). Killing x11vnc with SIGTERM (15) allows it to clean up its shared memory segments. SIGKILL (9) will not. Googling around, I found a script over here (backup copy here). The problem with that was that […]

SSH in a while loop – stdin problems

When SSH is used with a line like “while read ….”, the while loop will only run once. This can be seen by running this simple example: $ seq 1 10 | while read line; do ssh remotehostname “echo x${line}x”; done x1x You might expect this to connect to the host with the name “remotehostname” […]

Set php.ini values using .htaccess

Did you know that you can set php.ini values right inside the .htaccess file? You can do so by adding lines like these: #format php_value setting_name setting_value #example php_value upload_max_filesize 128M

GCC stray X in program

Problem: IEMGD_HEAD_Linux/common/drm/emgd/display/pi/cmn/pi.c:1: error: stray ‘\357’ in program This is caused by “invalid” characters in the code, specifically I encountered this while trying to compile the Intel EMGD driver for my EEEPC’s graphics card. Thanks to the helpful folks over here, there’s a solution: cd IEMGD_HEAD_Linux/common/drm/emgd/display/pi/cmn cat -v pi.c | awk ‘{if(NR>1) print $0}’ > tmp […]

Tell your friends how to burn ISO files properly

I have no idea how many blank CD’s I’ve seen wasted on having a file system with a single .iso file on them. Then, I found this page: http://iso.snoekonline.com/iso.htm It tells you how to burn an image with basically any Windows-based software out there. If someone runs Linux, I assume they can figure it out […]