Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Sun, 11 Mar 2007

Twitter + Bash == Bad Idea
I'm not sure about the basic idea behind Twitter but after signing up, having a little look and noticing the Net::Twitter CPAN module I decided to implement a really bad idea...

  
  #!/usr/bin/perl -w
  use strict;
  use warnings;
  use Net::Twitter;

  my $bot = Net::Twitter->new(
                              username => "username",
                              password => "password"
                             );

  chomp(my $doing = <>);
  $doing =~ s/^\s+\d+\s+//;

  $bot->update($doing);
  

To make it 'useful' you'll need to run the following in your bash shell: PROMPT_COMMAND='history | tail -n 1 | /path/to/twitter_post.pl' and tada! People really will know what you're doing RIGHT NOW. Ahem, sorry.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2007/03/11 13:55 | /geekstuff | Permanent link to this entry | This entry and same date


Ghost Rider - Short Review
Ghost Rider took a lot longer to reach our screens than it should have, and considering the amount of re-work involved it isn't that good. Very middle of the road (haha), only see it if you're a comic book geek, bored or want another chance to see Nicolas Cage not have expressions. 4/10.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2007/03/11 12:38 | /movies | Permanent link to this entry | This entry and same date


Busy February
I was more than a little slack in my online activities in February. Between getting back from LCA and preparing for FOSDEM (tip: sleep a lot before you go) I also managed to have curry with both David Cantrells, see Luke Kanies present Puppet at GLLUG, attend a London PM Heretics, a Lonix and two other meetings that don't have real names yet. And reach another birthday.

I'm not going to UKUUG in Manchester (I need some time at home) but I've been prodded in to potentially organising another GLLUG evening and a London PM tech meet, Brummie.pm are willing to come down and speak so it's a perfect time to put one together. All I need is to get enough hours in front of my email to plan it. I'm also attending the second Google OpenSource Jam in London so come and say "Hi" if you're there.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2007/03/11 12:34 | /geekstuff | Permanent link to this entry | This entry and same date


books career codinghorrors events geekstuff justdont magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells services/dns sites sysadmin testing tools tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey tools/puppet unixdaemon

Copyright © 2000-2010 Dean Wilson XML feed logo