Happy Birthday demp.se./y!

Not me obviously, my birthday was last month.  But demp.se/y celebrates it’s first birthday today! 😀

The first post was actually on 27th August, as I started the blog on a different domain, but then exactly a week after I registered the domain hack of my surname, which I found with help from xona.com if anyone is interested.

Some stats:

171 posts
296 comments
40,695 Visits
86,972 Page Views

Referring Sites   57.02%
Search Engines    34.53%
Direct Traffic    8.40%

August 2007 Earnings

I can’t believe another month has already gone by!! Not really done any work online this month, just a few tweaks on some sites and a bit of programming on some other projects. I think earnings will be down this month 🙁

Account 1

Adsense for Content: $104.00 ($186.57)

Account 2

Adsense for Content: $713.01 ($845.33)

August 2007 Earnings Total:     $817.01    ($1041.55)

So yea quite a big drop this month, I really need to start doing something about this!!

River Boat Challenge

Well yesterday me and 7 mates spent our bank holiday monday doing the ‘River Boat Challenge’!  Basically we spent about 4 hours floating down the river on inflatable boats, lilos and rings!

Had to climb over a few trees and get out the way of some canoe’s a couple of times, but was fun!  Weather was nice too so water didn’t seem to cold!  Was certainly something different to do with the day!

MooPlug 0.4.2

I have updated MooPlug to version 0.4.2, can’t remember everything that’s changed, but I know I fixed a few bugs I came across and I’ve added two new functions:

Moo_ProcessList( sSeperator )

Moo_ProcessRunning ( sProcess )

You can most likely guess what they do, the first lists all currently running processes with an optional parameter to set the seperator and the second returns true or false to wether a paticular process is running or not.

The Simpsons Movie Audio Clip Downloads

After the success of my The Simpsons Movie – Spider Pig Clip Download post and the amount of comments I have since received asking for more, I thought I’d give you what you want!

Here are some more MP3’s from the Simpsons Movie, some requested, others just one’s I liked. Enjoy!

Homer – “This book doesn’t have any answers!”
[mp3]http://demp.se/y/downloads/BookAnswers.mp3[/mp3]

Marge – “I can’t escape the feeling this is the crisis Grandpa warned us about”
[mp3]http://demp.se/y/downloads/Crisis.mp3[/mp3]

Marge – “They’re going to destroy Springfield!”
[mp3]http://demp.se/y/downloads/DestroySpringfield.mp3[/mp3]

Homer + Bart – “Did I save the day?” “Actually you doomed us all!” “D’oh!”
[mp3]http://demp.se/y/downloads/DoomedUsAll.mp3[/mp3]

Lisa – “Dad do something!”
[mp3]http://demp.se/y/downloads/DoSomething.mp3[/mp3]

Mr Burns – “Excellent”
[mp3]http://demp.se/y/downloads/Excellent.mp3[/mp3]

Homer – “Uh oh! We better get started!”
[mp3]http://demp.se/y/downloads/GetStarted.mp3[/mp3]

Homer – “He’s not Spider Pig anymore, he’s Harry Plopper!”
[mp3]http://demp.se/y/downloads/HarryPlopper.mp3[/mp3]

Homer + Marge – “You can take Spider Pig with you.” “He’s not Spider Pig anymore, he’s Harry Plopper!”
[mp3]http://demp.se/y/downloads/HarryPlopperMarge.mp3[/mp3]

Homer – “I Think I’ll have a nibble”
[mp3]http://demp.se/y/downloads/HaveNibble.mp3[/mp3]

Homer – “OK Marge, I Will”
[mp3]http://demp.se/y/downloads/IWill.mp3[/mp3]

Homer – “I forgot what I supposed to say”
[mp3]http://demp.se/y/downloads/ForgotSay.mp3[/mp3]

President Schwarzenegger – “I was elected to lead, not to read!”
[mp3]http://demp.se/y/downloads/LeadNotRead.mp3[/mp3]

Marge- “I know it’s easy for your mind to wander”
[mp3]http://demp.se/y/downloads/MindToWander.mp3[/mp3]

President Schwarzenegger- “That is me”
[mp3]http://demp.se/y/downloads/President.mp3[/mp3]

Chief Wiggum – “Whoa that was close!”
[mp3]http://demp.se/y/downloads/WhoaClose.mp3[/mp3]

Homer + Family- “Ok Who wants waffles?” “I do! I do! I do!“
[mp3]http://demp.se/y/downloads/Waffles.mp3[/mp3]

Download Spider Pig Choir Audio Clip
[mp3]http://demp.se/y/downloads/SpiderPigChoir.mp3[/mp3]

Alcohol + Bouncy Castles = Fun

Had a party at my house on saturday for my 21st Birthday. Was fun, had a few drinks, made some punch which was nice. Oh yea and I had a bouncy castle! 😛

Was really fun, think we finally had enough bouncing about 3am! Luckily no-one was sick on it, would of been messy!

Oh and we had face paints too!  One of my mates is an amazing artist and she did some really cool designs!  Think about 20-30 of us had painted faces by the end of it!  Looked cool!  Forgot to take many pictures though :(  Should of got one of all of us!

Bouncy Castle

I Want A Facebook App!

I want to make a Facebook app! It would be a good learning and coding project as well as a chance to try out some marketing stuff. Haven’t a clue what could make one about, so gonna have to keep thinking.

You’ll understand the other incentive for developers to create apps for the Facebook platform when you know that Favorite Peeps was recently bought for $60,000 and that Where I’ve Been has just been sold for a reported $3,000,000!

So yea anyone got any Facebook App idea now? 😛

Tip: Add Disclaimer To Only Outgoing Email Using Altermime

On our mail server at work, we added a disclaimer to all outgoing emails using Altermime. This has been working fine for a few months now. There was just one thing that annoyed me about it, it added to all outgoing emails, including internal mail between users.

So I went about trying to find a solution and eventually found out how to do it so thought I’d share it here and also keep it as a reference to me as it took me ages to find it 😛

  1. # wget http://www.pldaniels.com/altermime/altermime-0.2.2.tar.gz
    # tar -xzvf altermime-0.2.2.tar.gz
    # cd altermime-0.2.2
    # make

    # cp altermime /usr/bin/
    # chown root.root /usr/bin/altermime
    # chmod 755 /usr/bin/altermime

  2. # useradd -r -c “Postfix Filters” -d /var/spool/filter filter
    # mkdir /var/spool/filter
    # chown filter.filter /var/spool/filter
    # chmod 750 /var/spool/filter
  3. # Creating The Script To Run alterMIME

    # vi /etc/postfix/disclaimer

    #!/bin/sh
    # Localize these.
    INSPECT_DIR=/var/spool/filter
    SENDMAIL=/usr/sbin/sendmail
    
    #Exit codes from
    EX_TEMPFAIL=75
    EX_UNAVAILABLE=69
    
    RECIP=`echo $* | awk '{print $NF}'| tr [A-Z] [a-z]`
    SENDER=`echo $* | awk '{print $2}'| tr [A-Z] [a-z]`
    RECIP_DOMAIN=`echo $RECIP | awk -F"@" '{print $2}'`
    SEND_DOMAIN=`echo $SENDER | awk -F"@" '{print $2}'`
    
    # Clean up when done or when aborting.
    trap "rm -f in.$$" 0 1 2 3 15
    
    # Start processing.
    cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; }
    cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; }
    
    if [ $RECIP_DOMAIN == $SEND_DOMAIN ]; then
    DISCLAIMER=/etc/postfix/empty_disclaimer.txt
    else
    DISCLAIMER=/etc/postfix/disclaimer.txt
    fi
    
    /usr/bin/altermime --input=in.$$ 
    --disclaimer=$DISCLAIMER 
    --disclaimer-html=$DISCLAIMER || 
    { echo Message content rejected; exit $EX_UNAVAILABLE; }
    $SENDMAIL "$@" 
    

    # chgrp filter /etc/postfix/disclaimer
    # chmod 750 /etc/postfix/disclaimer

    /etc/postfix/empty_disclaimer.txt is the disclaimer which will get used for internal email, ie when the sending domain is the same as the receiving domain, in my case I made it a blank file.
    /etc/postfix/disclaimer.txt is the disclaimer which gets added to all other emails, in that we have some stuff saying it may be copyrighted or something, can't remember now.

  4. # Creating The Disclaimer Files

    # vi /etc/postfix/disclaimer.txt
    # vi /etc/postfix/empty_disclaimer.txt

  5. # Postfix Configuration

    Edit master.cf :

    # vi /etc/postfix/master.cf

    127.0.0.1:smtp inet n - y - - smtpd
    smtp inet n - y - - smtpd
    -o content_filter=dfilt:
    dfilt unix - n n - - pipe
    flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} — ${recipient}
    

  6. # Restart Postfix

    # postfix reload

Finally in Technorati 100,000!

It’s bout 3 months since last mentioned Technorati, and back then my rank was 226,472.

I know it’s still a massive number, but I am finally in the top 100,000!  :D  May not seem impressive to you, but I don’t care, I’m chuffed 😛

The site also now has an authority of of 58, instead of the 24 it used to be, so more than double now! 🙂

In Technorati 100,000

That reminds me, I guess I should change the description on Technorati now that I’m 21!

Weekend Wedding Fun

On Saturday my cousin who’s about 2 weeks older than me, so been 21 for a month got married! Seems quite a scary thought to me but never mind.

Weather was really nice! Couldn’t of asked for much nicer. I had to go get a suit last week and I even surprised myself by keeping my tie on all day! Was sure I’d take it off as soon as we got out of the church!

The actual service went well, two sisters and best mate were bridesmaids, with one of the sisters doing a reading. Few hymns, the usual stuff.

Then it got to the bit about anyone having any legal reasons they can’t get married etc etc. Someone, who wished to remain nameless *uhem* decided to (what he thought was whisper) “he’s gay” but by the reactions of some people in the church, even those on the opposite side of the room, it wasn’t as much of a whisper as I, I mean he thought.

Luckily the vicar didn’t hear, as I found out afterwards that if he had, legally he wouldn’t of been able to continue the service aparentley, it would become legal matter with the police? Not sure if that’s true or they were just trying to make me feel bad.

The bride and groom didn’t hear when I spoke to them afterwards,but they said they did hear some people giggling and wondered why.

We then had loads of photos which were annoying but I gues they’ll look good when see them all. Then we had short walk down the road to have a meal, very nice it was too:

  • Starter: Tomato Soup
  • Main: Bangers + Mash!
  • Dessert: Chocolate Fudge Cake!

What a ace menu! Who cares about tradition! The bridge and groom chose what they liked! Next up were the speeches, all made us laugh, I got the blame for the happy couple getting together as it was at a party of mine almost exactly 4 years ago!

A few of us stayed behind to help clear up and move the tables + chairs about as the evening do was in the same place. Was a good night and as it approached the end of the night, I did what any Peter Kay fan would! Slide along the dance floor on my knees! Then my mate decided to run around the room with his arms out to the side doing an aeroplan impression!

Was definately a good day! Only thing that annoyed me was all the old people and their stupid comments: “You’ll be next then!” Uh no, I won’t, so shuttup!

Smart Dempsey in Suit