Navigation

timfluhr.org

geek

truth in verbose logging

-----

# Run check on contents of backup directory

FILES2=`ls /backup/mysql | wc -l`

if [ FILES2 = 0 ]; then
echo "$NOW - sqldumps from $HOSTN were not successfully written to
/backup/mysql. You are an appalling failure!" >> /var/log/mysqldump.log
else
echo "$NOW - sqldumps from $HOSTN were successfully written to
/backup/mysql. Though files were backed up successfully you are still an
inadequate lover." >> /var/log/mysqldump.log

-------

Dr. Grypp would like to add...

"AND HAVE WASTED YOUR LIFE."

and perhaps

"YOU KNOW NO ONE RESPECTS YOU OR YOUR WORK, RIGHT??"

RTFM!

In case anyone needs to configure a smarthost for sendmail in debian and doesn't want to read the helpfile, a la me, here is the quick and dirty way to do it.

$ cd /etc/mail
$ nano sendmail.mc

add line

define(`SMART_HOST',`[mail.forward.com]')dnl

recompile sendmail.cf

$ m4 sendmail.mc > sendmail.cf

restart sendmail

$ /etc/init.d/sendmail restart

add mail.forward.com to hosts file

$ nano /etc/hosts
111.233.121.12 mail.forward.com

restart networking

$ /etc/intit.d/networking restart

Hopefully this will save all you lazy folks a couple hours.

truth in instant messaging

[16:31] tim: do you want to play basketball with us next weekend?
[16:31] tz: ha
[16:32] tim: come on...its fun
[16:32] tz: I can't dribble, pass, shoot, or run.
[16:32] tim: come on sucka.
[16:32] tz: do you like doing things you're really bad at?
[16:32] tim: I like having sex
[16:32] tim: a lot.

SSO is dead

I've been trying to get it go away for a year.

Haven't done the blogging in a while.

So fresh and so clean. Ah.

Ha!



Read here if interested in illegal opcode. I've decided that I'm pretty good at breaking things, and pretty bad at my job.

Recent blog posts

Events

« March 2010
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
282930
31123456

Tags

argh!(30) assclown(6) Bachmann!(5) baseball(9) beer(2) Bitch(1) bush(5) chicago(1) comics(2) football(1) geek(9) geography(2) grypp(1) holy fucking shit(1) hot guys(4) jesus(2) jolly(2) kissing boys(4) music(7) obama(13) other people's pics(12) other people's words(17) politics(43) QOTD(2) religion(1) robots(4) Seven Things in Seven Days(1) sex(9) soapbox(29) things that should go away(6) things to not do to babies(3) tim's pics(19) tim's words(40) tim is lose(18) tim is nuts(1) tim is sweet(1) tim is win(14) video(15) word(s) of the day(3)

Archives