<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>killianfaughnan.com</title>
	<atom:link href="http://www.killianfaughnan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killianfaughnan.com</link>
	<description>technological musings and musings on technology</description>
	<lastBuildDate>Thu, 01 Jul 2010 08:07:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>OpsView check_snmp_runningproc not matching process list</title>
		<link>http://www.killianfaughnan.com/20100629/opsview-check_snmp_runningproc-not-matching/</link>
		<comments>http://www.killianfaughnan.com/20100629/opsview-check_snmp_runningproc-not-matching/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 11:34:42 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[opsview]]></category>

		<guid isPermaLink="false">http://www.killianfaughnan.com/?p=251</guid>
		<description><![CDATA[I was adding a few checks for oracle processes using check_snmp_runningproc and noticed a few problems. It seems that when the check returns a list of processes from a remote host it lowercases them all and attempts to strips out .e .ex and .exe extensions. The extensions used in the regular expression weren&#8217;t escaping the dot which resulted them in stripping out any character followed by an e, ex or exe. In my case this meant it was matching against &#8220;orac&#8221; instead of oracle. I also noticed that the user input wasn&#8217;t undergoing the same translations as the returned processes (both the conversion to lower case and the stripping of extensions). I fixed this by cleaning up the regexp, and using an lc() function and the same regexp for user input. I submitted the patch which has been included in SVN. The most up to date version of this check is here: http://svn.opsview.org/opsview/trunk/opsview-core/nagios-plugins/check_snmp_runningproc]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20100629/opsview-check_snmp_runningproc-not-matching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Your Ubuntu 8.10 Notification Back In 9.04</title>
		<link>http://www.killianfaughnan.com/20090708/getting-your-ubuntu-8-10-notification-back-in-9-04/</link>
		<comments>http://www.killianfaughnan.com/20090708/getting-your-ubuntu-8-10-notification-back-in-9-04/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:03:52 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=231</guid>
		<description><![CDATA[If you miss the notification that used to be in the 8.10 notification area telling you new updates are available you can get it back by quite easily by issuing the following command. gconftool -s --type bool /apps/update-notifier/auto_launch false Then you just kill and restart update-notifier and you will have your icon for update-notifier back (to check it straight away, run: sudo apt-get update). Note: This will also stop the update manager window from automatically popping up every time you run apt-get update which is reason enough to do it on its own.]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090708/getting-your-ubuntu-8-10-notification-back-in-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Your Tag&#8217;s Case In WordPress</title>
		<link>http://www.killianfaughnan.com/20090707/changing-your-tags-case-in-wordpress/</link>
		<comments>http://www.killianfaughnan.com/20090707/changing-your-tags-case-in-wordpress/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:59:12 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=221</guid>
		<description><![CDATA[Yet another pet hate of mine is things capitalised incorrectly. For me things like tags need to be either first letter uppercased of lowercases, and definitely not a mix of both. The problem with WordPress is that you unfortunately cannot change the case of a tag once it&#8217;s been used. This is because all your tags are put into a table the first time you use them, and from then on no matter what case you type a tag in, it will default to the capitalisation that is used in this table. The offending table is the wp-terms table. This table contains a list of names and slugs (url friendly names) for all your tags. If you want to change the case of one of your tags you will need to do it here, either via console or phpMyAdmin or something else. Myself I went and just set all the names equal to the slug, and then changed the one or two tags I had with spaces in them back to something more rational. Whether you want to do it the same way as myself or not is up to you. Though if you want to you will merely need [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090707/changing-your-tags-case-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing WordPress Default Theme Front Page To Show Post Excerpts Only</title>
		<link>http://www.killianfaughnan.com/20090707/changing-wordpress-default-theme-front-page-to-show-post-excerpts-only/</link>
		<comments>http://www.killianfaughnan.com/20090707/changing-wordpress-default-theme-front-page-to-show-post-excerpts-only/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 13:52:28 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[frontpage]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=197</guid>
		<description><![CDATA[This is one of those things that tends to get under my skin. Web sites with long pages showing far too much information on the front page. Realistically I think the best approach is to give users access to plenty of information, but not necessarily having them bombarded with it. For the WordPress Default theme (the one based on Kubrick) this is done by showing only post excerpts as opposed to the entire thing.. You can follow the steps below to this affect: Open up the index.php page of the theme. You can do this one of two ways. Manually: locate the folder wp-content/themes/default and open the index.php file WordPress Admin: look under the Appearance menu and select Themes. Once here select the Main Index Template page from the list on the right hand side of the editor. On the 20th line (or thereabouts) you will find the text: &#60; ?php the_content(&#8216;Read the rest of this entry »&#8217;); ?&#62; Replace this text with the text &#60;?php the_excerpt(); ?&#62; That&#8217;s it. One note though, I would always comment out any changes I have made so that should something go wrong I can always switch back. If you want to comment it [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090707/changing-wordpress-default-theme-front-page-to-show-post-excerpts-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning Up Ubuntu</title>
		<link>http://www.killianfaughnan.com/20090703/cleaning-up-ubuntu/</link>
		<comments>http://www.killianfaughnan.com/20090703/cleaning-up-ubuntu/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:51:31 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cleanup]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=194</guid>
		<description><![CDATA[This is just a quick look at cleaning up an Ubuntu system. This is all documented elsewhere by an abundance of people, some of whom I no doubt took this off in the past and have forgotten where now (If you&#8217;re that person, then thanks very much, this stff has been coming in handy for me for a few years now). Removing Residual Configs The first step is to remove all of the residual configs lying about your system. These are configs which, as the name suggests, have been left behind by removed programs. To do so the we need to open Synaptic. You can find that in the System menu: System &#62; Administration &#62; Synaptic Package Manager Once we are in Synaptic we can click on the status button down the bottom left. This will separate your packages into sections based on their status. The one we are looking for will have the words &#8220;residual config&#8221; in the name. Select all these packages and right click on them. In the menu that appears choose &#8220;Mark For Complete Removal&#8220;. You can then click &#8220;Apply&#8221; at the top of the screen. That&#8217;s it. You have now removed all your residual configs. [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090703/cleaning-up-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Renaming Files Using Perl</title>
		<link>http://www.killianfaughnan.com/20090616/renaming-files-using-perl/</link>
		<comments>http://www.killianfaughnan.com/20090616/renaming-files-using-perl/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 13:30:07 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[rename]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=188</guid>
		<description><![CDATA[I finally got around to writing a script to rename all my music files to the same convention. That being either &#60;track&#62;-&#60;song&#62;.mp3 or &#60;song&#62;.mp3 with no spaces (I prefer underscores instead) and all lowercase. I know, it looks so simple! But the problem is all those occasions where you have something like &#60;track&#62;_-_&#60;SONG&#62;_-_(&#60;remix by&#62;).mp3 which just looks horrible! What this script does could be done in a lot less lines than I have here, but I thought it might be a good way for someone who is unsure of regular expressions to get a grasp on the topic. So heres the script: #!/usr/bin/perl -w use strict; # Open 'find' process to list files recursively with paths open(FIND, "find &#124;"); while(&#60;FIND&#62;) { # remove leading / trailing whitespace chomp; # Don't rename ourself next if $_ eq $0; # create temp file (windows wont allow to rename in place from uppercase to lowercase) my $name = $_; my $tmp = $_.'~'; rename($name, $tmp); # make lowercase $name = lc($name); rename($tmp, $name); my $newname = $name; # remove apostrophes $newname =~ s/[\']//g; # remove round brackets and replace with hyphens $newname =~ s/[\(\)]/-/g; # remove spaces and replace with underscores $newname =~ [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090616/renaming-files-using-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNS3 &#8211; Graphical Network Simulator</title>
		<link>http://www.killianfaughnan.com/20090519/gns3-graphical-network-simulator/</link>
		<comments>http://www.killianfaughnan.com/20090519/gns3-graphical-network-simulator/#comments</comments>
		<pubDate>Tue, 19 May 2009 12:14:58 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dynagen]]></category>
		<category><![CDATA[dynamips]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=181</guid>
		<description><![CDATA[&#8220;GNS3 is a graphical network simulator that allows simulation of complex networks.&#8221; I was recently pointed in the direction of this app as a pretty nice graphical interface to the Dynamips / Dynagen router simulation. It still uses Dynamips / Dynagen underneath, along with Pemu (a Cisco PIX firewall emulator based on Qemu), but allows you to do graphically what you normally have to do using textual config files. The interface is really nice and you can drag and drop in routers, create links between them, and start and stop them through the GUI. Theres no real difference from what I can see in performance etc, so many people would just turn a blind eye and figure, &#8220;Why bother, the config files are handy enough&#8221;, but it does mean you don&#8217;t have to bother with the configuration for the most part, and can just concentrate on the actual task at hand. And the best news is it&#8217;s packaged for Ubuntu! I&#8217;m sure this is the case for other distro&#8217;s too but I haven&#8217;t checked. So all you need to do is: sudo apt-get install gns3 You can check the documentation etc out at: http://www.gns3.net/]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090519/gns3-graphical-network-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Dynamips And Dynagen Starter Guide</title>
		<link>http://www.killianfaughnan.com/20090219/ubuntu-dynamips-and-dynagen-starter-guide/</link>
		<comments>http://www.killianfaughnan.com/20090219/ubuntu-dynamips-and-dynagen-starter-guide/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 21:49:53 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dynagen]]></category>
		<category><![CDATA[dynamips]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=139</guid>
		<description><![CDATA[This is a slimmed down version of a combination of the Dynamips / Dynagen Tutorial and a few other Ubuntu specific sources. In fact, you could call it a quick and dirty guide to get you up and running. I reccommend using the Dynamips / Dynagen Tutorial once you have finished here picking up at the Running Sample Lab #1 section. I couldn&#8217;t write this better than it is there. Installation Dynamips and Dynagen are both in the Ubuntu repository so installation is as simple as an apt-get install. To this end run the following: sudo apt-get install dynamips dynagen Congratulations. That&#8217;s it for installation. IOS Image You&#8217;ll need to get yourself a Cisco IOS image for use with the emulator. Once you have one it&#8217;s generally a good idea to uncompress the image before using it as it will speed up the boot process. Use this command to do so: unzip -p c7200-jk9s-mz.124-13b.bin &#62; c7200-jk9s-mz.124-13b.image Note that this will throw an error but you can safely ignore it. Configuring Your Telnet Client Your telnet client should be correctly configured upon install. You can find the config file for this in /etc/dynagen.ini if your curious. You&#8217;ll find a line like [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090219/ubuntu-dynamips-and-dynagen-starter-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing Gnome Trash Folder From Terminal</title>
		<link>http://www.killianfaughnan.com/20090212/accessing-gnome-trash-folder-from-terminal/</link>
		<comments>http://www.killianfaughnan.com/20090212/accessing-gnome-trash-folder-from-terminal/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 14:31:54 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bin]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[trash]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=132</guid>
		<description><![CDATA[I&#8217;ve often found that I can&#8217;t delete items I&#8217;ve copied from a CD or DVD using the GUI Trash folder. In fact, this can happen with a variety of files from a variety of places but, to be honest, I have a habit of not correcting the permissions on these files before blindly hitting delete. Sometimes you just forget these things. In any case this can be extremely infuriating, and inevitably results in looking around your /home directory running something like&#8230; find /home/$USER/ -name &#8216;Trash&#8217; &#8230;which will find what your looking for pretty quickly. But in case you&#8217;re feeling especially lazy here&#8217;s the directories you&#8217;re looking for. You&#8217;re going to need remove files from the two directories listed, just to keep it all clean. /home/$USER/.local/share/Trash/files /home/$USER/.local/share/Trash/info]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20090212/accessing-gnome-trash-folder-from-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Vim Commands Tutorial</title>
		<link>http://www.killianfaughnan.com/20081202/basic-vim-commands-tutorial/</link>
		<comments>http://www.killianfaughnan.com/20081202/basic-vim-commands-tutorial/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 09:10:28 +0000</pubDate>
		<dc:creator>Killian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://killianfaughnan.com/?p=112</guid>
		<description><![CDATA[Vim is what is known as a modal editor. While using it becomes very easy over time, learning it initially can be confusing and pretty irritating. This tutorial aims to give a basic run through of the most commonly used commands in Vim, Opening A File And Inserting Text The first step in vim is to use it to open a file or create a new one. To do so you just do the following at your terminal: $ vim test.txt This will open a file for you to write to. When you open vim you are immediately placed in command mode, so if you want to insert some new text you will need to enter Insert Mode. To enter insert mode you just hit the letter i. After this if you at any point want to return to command mode just hit the escape key. There are several more modes available to you but we&#8217;ll stick with the basics here. After entering command mode again you can enter replace mode by hitting the R key. You can also insert text after the cursor (as i inserts it at the cursor) by hitting a (append), or open a new line [...]]]></description>
		<wfw:commentRss>http://www.killianfaughnan.com/20081202/basic-vim-commands-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
