kieranbarnes do you know where your towel is?

VTEC Love

Posted on November 1, 2009

I did a photo shoot at the new VTEC Direct workshop last weekend. Lots of Honda related excitement!

DSC_1268Medium

Cleaning up Deleted Items Automatically from Exchange

Posted on September 14, 2009

Do you want to automatically delete Deleted Items in Outlook/Exchange or delete any type of mail over a certain age?

You can use Mailbox Manager to create a recipient policy to automatically delete all messages from users Deleted Items folder, at an interval you specify.

Exchange Server Journaling

Posted on September 10, 2009

I've recently had to setup Journaling on an Exchange Server for a client - it was quite an experience. So I've made these notes that will hopefully help.

Microsoft Exchange Server journalling lets you record a copy of, or journal, all email communications in your
organisation and send them to a dedicated mailbox on an Exchange Server.

CentOS / cPanel Firewall Setup

Posted on July 17, 2009

I almost like CentOS now. That doesn't mean I can't get used to this daft yum nonsense, but its alright.
I also almost like cPanel too. Its actually quite good when it works, who knows how to fix it when things go wrong? /scripts/fixeverything doesn't exactly fill me with confidence.

Insert Coin

Posted on July 17, 2009

Bored at work? This script connects to a JetDirect equipped HP printer and uses HP's control language to set the ready message on the LCD display. Takes an IP address and message on the command line. My favorite message is "INSERT COIN".

Keep in mind the limitations of the display when composing your clever verbiage.

insert_coin

#!/usr/bin/perl
# $Id: hpsetdisp.pl 11 2006-03-22 01:21:03Z yaakov $

# hpsetdisp.pl

use strict;
use warnings;

unless (@ARGV) { print "usage: $0 \"\"\n" ; exit }
if ($ARGV[3]) { print "Did you forget the quotes around your clever
message?\n" ; exit }

my $peeraddr = $ARGV[0];
my $rdymsg = $ARGV[1];
chomp $peeraddr;

use IO::Socket;
my $socket = IO::Socket::INET->new(
PeerAddr => $peeraddr,
PeerPort => "9100",
Proto => "tcp",
Type => SOCK_STREAM
) or die "Could not create socket: $!";

my $data = <
\e%-12345X\@PJL JOB
\@PJL RDYMSG DISPLAY="$rdymsg"
\@PJL EOJ
\e%-12345X
EOJ
;

print $socket $data;


Filed under: Geeky No Comments

Custom Page Templates Not Showing in Wordpress

Posted on July 9, 2009

I've recently starting getting an annoying error in Wordpress, I'm not sure if its my browser, or the latest version of Wordpress.  I create a custom page template and... it doesn't show up. Frustrating.

Getting mytop to work on CentOS/Redhat

Posted on July 9, 2009

Screw all these AJAXified, buzz-wordified MySQL monitors. I'm old school. I use the fantastic mytop tool Jeremy Zawodny created 9 years ago.

Unfortunately it won't run on CentOS. I got the error, 'Error in option spec: "long|!"'

Filed under: Linux, MySQL Continue reading

Facebook Chat for Pidgin

Posted on May 13, 2009

My favourite instant messenger application just got better! There is now a plugin for Facebook.

pidgin-facebookchat is a Facebook chat plugin for Pidgin and other libpurple based messengers. It connects to the new Facebook Chat IM service without the need for an API key.

facebookchat

Currently the plugin can log into the Facebook servers, grab the buddy list, send/receive messages, add/remove friends, receive notifications, search for Facebook friends and set your Facebook status.

Filed under: Wordpress 1 Comment

Preventing MSN Messenger Spam in Pidgin

Posted on May 13, 2009

I use Pidgin as my instant messenger application. Mainly because it allows me to chat to clients and sub-contractors across Yahoo, Google, MSN etc all in one application, with the added bonus of not being full of spam and adverts to hurt my eyes.

Filed under: Windows Continue reading

Using SCP to copy files between Linux servers

Posted on April 4, 2009

even a gnome shell can look goodSCP? SCP is a method of securely transferring files between a local and a remote host or between two remote hosts, using the Secure Shell (SSH) protocol.

Sounds confusing?

Filed under: Geeky, Linux Continue reading