Here is a script to easy publish your ssh2 public key to the remote sites you frequently connect to. Example: sshpubkey.sh user@example.com You will now be able to connect to example.com from your machine without entering the password.
Midnight Commander Color Themes
Here is a script to easy change the default blue scheme of Midnight Commander. Unpack the archive and do: ./mc_change_theme.sh puthre.theme To revert to the default scheme just: ./mc_change_theme.sh default.theme The script will modify your ~/.mc/ini file. Please make sure that Midnight Commander is not running when you change your theme. Here is how a…
Problems emerging device-mapper.1.02.19 with confcache on Gentoo
Disable confcache in /etc/make.conf if you are getting this when trying to emerge device-mapper.1.02.19 on Gentoo: checking target system type… config.sub: missing argument Try `config.sub –help’ for more information. configure: error: /bin/sh autoconf/config.sub failed !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sys-fs/device-mapper-1.02.19/work/device-mapper.1.02.19/config.log !!! ERROR: sys-fs/device-mapper-1.02.19 failed. Call stack: ebuild.sh,…
Street coding
Oldstyle Extreme Programming (And YES, that’s a keyboard)
Kernel 2.6.21 is out
Kernel 2.6.21 is out ant it contains my Logitech Formula Force EX force feedback patch
CentOS _dl_sysinfo_int80 deadlock
Are you using a CentOS or CentOS derived distribution and you experience deadlocks in dl_sysinfo_int80 function like this?: #0 0x00ace7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00cb248b in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0x080bdf39 in el_push () #3 0x080bdfda in el_getc () #4 0x080bde50 in el_push () #5 0x080be11b in el_gets () #6 0x080a6f59 in…
Using libGD to manipulate jpeg images in C
Yesterday, for a small project of mine, I needed to implement a small utility to deform jpeg images from command line. The idea was to use texture mapping for deformations, so I needed a way to manipulate the jpeg images at the pixel level. The first thing I tried was the imagemagik utility. I’ve browsed…
Running X applications under chroot jail
Having a Gentoo32 chroot as a fallback on a Gentoo64 system is not unusual. Some things simply do not work on Gentoo 64 (as FlashPlayer 9) or you need a distcc server for the other (32 bit) systems. I wrote a simple bash script that allows the X applications under chroot jail to connect to…
Every time you feed a troll, God kills a kitten
http://lists.lug.ro/lurker/message/20070205.152933.4a60c9ff.en.html