Things Republicans Believe

Here’s a short list of some of the things American Rebuplicans believe! (Irish Republicans have a very different set of beliefs!)

7. Group sex and drug use are degenerate sins unless you someday run for governor of California as a Republican.
8. If condoms are kept out of schools, adolescents won’t have sex.
9. Being a drug addict is a moral failing and a crime, unless you’re a conservative radio host. Then it’s an illness and you need our prayers for your recovery.

Can you hear me? Ping? Linux, ALSA, Via 82xx and 7.1 Surround Sound

I’ve finally got some sort of surround sound going, but only by clicking a “duplicate front” button in alsamixer. There are still 3 speakers that I can’t hear a peep from!
It wasn’t plain sailing in Windows either! For an age I couldn’t hear anything from the back-speakers but after replacing the 3->4 cable that came with the speakers with an old 3->3 cable plus another, it worked. I’ll look at it later again.
Here’s some links for reference:

Random Images

I still don’t have a working camera but I do have a camera phone..


The C64 disk drive was called the 1541. When I saw this car in front of me I had to snap it!


The recent Sudan Red 1 scare made many more people aware of how our food stuffs are made from ingredients from all over the world! This was a sign outside Tesco in Douglas, Cork.

8 reasons to hate cats

I love cats, but not everyone does: 8 Reasons to Hate Cats, 8 More Reasons to Hate Cats, Yet Another 8 Reasons to Hate Cats and finally Hey! There Are 8 More Reasons to Hate Cats. (Look At This…)

Since there are so many cat lovers around here, I thought I’d share this video of an adorable kitten who simply cannot stay awake…

9 Songs – sex, sex and more sex!

Some crowd are looking to ban 9 Songs from Ireland. I haven’t seen it and I don’t think I will either. It doesn’t sound like a very interesting film. Here’s some shots from the film, and a linked trailer, although it’s in Realplayer format and I CBA going to the trouble of watching it!

Plot Outline: In between attending rock concerts, two lovers meet for intense sexual encounters.

Bye bye Referer Spammers!

Take a quick look at your logfiles any time and you’re likely to see referer spam in there somewhere. Not only do those requests pollute your log files and stats pages, but they also consume resources on your server when you serve them pages that aren’t even going to be viewed by anyone. Here’s one way of stopping the spammers eating into your server resources:

  • Look through your logfiles and examine the referers. Here’s a quick bit of code to do that. (Remove the backslashes (“\”) from before double quotes. WP is putting them in on me!) :
    awk '{print $11}' < /var/log/apache2/access_log| sort|uniq -c|sort -r|grep -v "mydomain.com"|less
  • Copy and paste any likely looking referer spam sites somewhere else for safe keeping. The ones that use most of your resources will be at the top of the list.
  • Add this code to some page that every page on your site loads, it should be included before main execution of the page occurs. Fill in the array of referer sites with the list your assembled from your log file. I’ve added a few from this morning’s log file.
    if( isset( $_SERVER["HTTP_REFERER"]  ) )
    {
        $referers_to_avoid = array(
                "ttp://texas-holdem.andrewsaluk.com",
                "ttp://www.highprofitclub.com/",
                "ttp://www.sex4singles.com/",
                "ttp://www.parishillton.com/",
                "ttp://www.moneylinebet.com/",
                "ttp://www.free-hentai-anime-sex.com",
                "ttp://www.bondage-bdsm.us",
                "ttp://www.handjob-movies.us",
                "ttp://www.zoothumbnails.com",
                "ttp://www.bestiality-animal-sex-stories.com",
                "ttp://www.gay-men-sex-movies.com",
                "ttp://russ-darrow-kia.gq.nu/",
                "ttp://nissan-xterra.sbn.bz/",
                "ttp://nissan-thermos.gq.nu/",
                "ttp://folding-chair.wol.bz/",
                "ttp://www.xcites-0-cost-interracial-cum-teen-sex-movie.com"
        );
        while( list( $key, $val ) = each( $referers_to_avoid ) )
        {
            if( strpos( $_SERVER["HTTP_REFERER"], $val ) )
            {
                die();
            }
    
        }
    }
  • Add an error_log() to the “if” condition to spot when a spammer visits.
  • Add this to index.php of a WordPress installation to protect your blog and make your legitimate requests go that much faster!

I Am Bored – Sites for when you're bored.

Lots of good stuff on i-am-bored.com including this great snowball fight game (lots more games for download) and the Counterfit Mini site!

If you’re bored of playing games on your Xbox 360 or Playstation 3, then head on over to Xeer2000, Evil Dave’s, or Dvotee for gaming tips and chat. Or check out the excellent Modern Warfare 2 and Battlefield Bad Company 2 videos sasbenjr produces.

OK, if you’re really bored, here’s a few things to pass the time:

Don’t forget, there’s a lovely tit on In Photos.org. Any idea what kind it is?