Lotsa stuff

July 6th 2004 06:46 am

I’m just blogging this random collection of thoughts.

  • QTorrent is splendid. Saves me from having to write my own BitTorrent client. I especially like the option to cap the upload rate, because otherwise I can’t browse the Internet anymore.
  • They Might Be Giants is selling high-quality MP3, non-DRM versions of some of their songs. I don’t really recognize any of the songs, but the price is right. Great move, guys.
  • Are you feeling evil? Are you trying to set records on number of kicks received on IRC? If so, you may be interested in the following shell script code, which takes advantage of the DCOP features of Konversation:
    #!/bin/bash
    # Do whatever you want with this code.  By Michael Pyne
    # First paramater is the server Konversation has connected to,
    # the second paramater is the channel to torment.  Don't forget
    # to escape the # at the beginning of the channel name.
    
    ref=`dcopfind -a 'konversation-*'`
    if [ "x$ref" == "x" ]
    then
    	echo "Konversation isn't running!"
    	exit 1
    fi
    
    server=$1
    channel=$2
    
    if [ "x$channel" == "x" ]; then
        echo "You must specify the channel!"
        exit 1
    fi
    
    if [ "x$server" == "x" ]; then
        echo "You must specify the server!"
        exit 1
    fi
    
    while true
    do
        dcop $ref Konversation say $server $channel "This is the song that doesn't end..."
        sleep 5
        dcop $ref Konversation say $server $channel "Yes it goes on and on my friend..."
        sleep 5
        dcop $ref Konversation say $server $channel "Some people, started singing it, not knowing what it was..."
        sleep 5
        dcop $ref Konversation say $server $channel "And they'll continue singing it forever just because..."
        sleep 5
    done

Posted by mpyne under Uncategorized |

Trackback URI | Comments RSS

Leave a Reply