11.16
bringing you a cold cup of coffee….
this is a real simple way to redirect all hotlinked images to another image in apache from either the httpd.conf or an htaccess file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?insert_url_here\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(png|gif|bmp|jpg)$ image_here.jpeg [L]
format is real simple, you just have to change insert_url_here\.com to your url so that any request coming to your server will be redirected to the image in the last line RewriteRule .*\.(png|gif|bmp|jpg)$ image_here.jpeg [L]
make sure to change image_here.jpeg to the path and image that you want to use.
hello all,
as some of you may noticed that the format and layout has changed.
i am in the process of changing from simplephp blog to wordpress since simplephp is no longer being maintained.
all the old posts are going to be brought over to this new layout bit by bit but for now are located at http://www.pissedoffadmins.com/old/
things should be back to normal within a couple of days.
to the one or two of you that read this slop every now and then i apologize for no recent updates.
i have been working on migrating all the content on this site to wordpress since this particular software is no longer being maintained.
look forward to more updates soon.
here is my .conkyrc as used for:

used in this desktop screenshot:

along with:
evilwm, mrxvt, xsetroot, xv (for wallpaper) & xclock
need to convert all the mp3′s in a directory to wave to burn in xcdroast ?
here is an easy way:
for x in *mp3 ; do lame --decode `echo $x | cut -d. -f1`.mp3 `echo $x | cut -d. -f1`.wav ; done
obviously this assumes you have lame installed
EDIT 06.17.09 – converting wma to mp3′s (found this using “the google”, not mine):
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$i" && lame -m j -h --vbr-new -b 160 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav
this assumes you have mplayer & lame
here is a screen shot for rage since he likes seeing multiple processors in htop:
iapetus:
IBM eserver xSeries 235
MemTotal: 6229956 kB
4 x xeon 3.06ghz
uname: Linux iapetus 2.6.29-gentoo-pappys_seeds #1 SMP PREEMPT Mon Apr 20 10:55:05 EDT 2009 x86_64 Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
terminal is mrxvt
mrxvt can be grabbed from http://materm.sourceforge.net or in gentoo emerge x11-terms/mrxvt
process monitor is htop
htop can be grabbed from http://htop.sourceforge.net or in gentoo emerge sys-process/htop
screen shot grabbed with gimp