<?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>adamblog &#187; indolence</title>
	<atom:link href="http://blog.amyl.org.uk/category/indolence/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amyl.org.uk</link>
	<description>software frustrations, political ranting, general whinging, course language, half-arsed attempt at blogging</description>
	<lastBuildDate>Thu, 03 Jun 2010 19:02:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Firefox Extensions</title>
		<link>http://blog.amyl.org.uk/2010/01/firefox-extensions/</link>
		<comments>http://blog.amyl.org.uk/2010/01/firefox-extensions/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 00:39:15 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[indolence]]></category>
		<category><![CDATA[machine set-up]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[new machine]]></category>
		<category><![CDATA[set-up]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.amyl.org.uk/?p=70</guid>
		<description><![CDATA[Thought this might double up as a note of the firefox extensions I currently have installed &#8212; I&#8217;ve tried getting this to script, but, the source file isn&#8217;t something I&#8217;m over-familiar with, and getting fields to match-up ain&#8217;t happening, due to my crapness.
Anyhow, I would appear to have these firefox extensions installed:

Adblock Plus
AutoPager
BetterFlickr
Better YouTube
Delicious Bookmarks
DownloadHelper
Echofon
Extended [...]]]></description>
			<content:encoded><![CDATA[<p>Thought this might double up as a note of the firefox extensions I currently have installed &#8212; I&#8217;ve tried getting this to script, but, the source file isn&#8217;t something I&#8217;m over-familiar with, and getting fields to match-up ain&#8217;t happening, due to my crapness.</p>
<p>Anyhow, I would appear to have these firefox extensions installed:</p>
<ul>
<li><a href="http://adblockplus.org/">Adblock Plus</a></li>
<li>AutoPager</li>
<li>BetterFlickr</li>
<li><a href="http://ginatrapani.org/workshop/firefox/betteryoutube/">Better YouTube</a></li>
<li><a href="http://delicious.com">Delicious Bookmarks</a></li>
<li>DownloadHelper</li>
<li><a href="http://echofon.com/">Echofon</a></li>
<li>Extended Statusbar</li>
<li><a href="http://www.applian.com/fast-video-download/">Fast Video Downloader (with SearchMenu)</a></li>
<li><a href="http://www.getfirebug.com/">Firebug</a></li>
<li>Firefox (default)</li>
<li>Firefox (en-GB)</li>
<li><a href="http://flagfox.net/">Flagfox</a></li>
<li><a href="http://flashblock.mozdev.org/">Flashblock</a></li>
<li><a href="http://www.longfocus.com/firefox/gmanager/">Gmail Manager</a></li>
<li><a href="http://skrul.com/blog/projects/greasefire">Greasefire</a></li>
<li><a href="http://mozmonkey.com/">Greasemonkey</a></li>
<li>Image Download</li>
<li>Image Zoom</li>
<li>Inline Code Finder for Firebug</li>
<li>is.gd Creator</li>
<li><a href="http://www.oxymoronical.com/web/firefox/jsoptions">JavaScript Options</a></li>
<li>keyconfig</li>
<li><a href="http://www.magic-imv.ro/vd/">Magic&#8217;s Video Downloader</a></li>
<li>oldbar</li>
<li><a href="http://passwordexporter.fligtar.com">Password Exporter</a></li>
<li>Save Image in Folder [sic]</li>
<li><a href="http://code.google.com/p/firefox-showip/">ShowIP</a></li>
<li><a href="http://skipscreen.com/">SkipScreen</a></li>
<li>TinyUrl Creator</li>
<li>Ubuntu Firefox Modificiations</li>
<li>URL Fixer</li>
<li><a href="http://www.vmware.com/">VMware Remote Console Plug-In</a></li>
<li>Xulrunner (en-GB)</li>
<li>YesScript</li>
</ul>
<p>A few of those don&#8217;t have links I can identify from the URI.</p>
<p>Want some code that vaguely does this for you?<br />
<code><br />
#!/bin/sh<br />
#<br />
# ffexts:<br />
#   list firefox extensions: names and URIs for download/homepage<br />
#<br />
# Copyright (c) 2010 Adam McGreggor. Some rights reserved.<br />
# Email: &#60;adam@amyl.org.uk&#62; Web: &#60;http://blog.amyl.org.uk&#62;<br />
#<br />
# $Id: ffexts 119 2010-01-10 00:38:04Z adam $<br />
#</p>
<p>set -e</p>
<p>MOZDIR=~/.mozilla/firefox<br />
PROFDIR=`ls -lha ${MOZDIR} | grep default | awk '{print $NF}'`<br />
FILE=extensions.rdf<br />
INFILE=${MOZDIR}/${PROFDIR}/${FILE}<br />
OF=~/tmp/ffexts<br />
OUTFILE=~/pseudohome/nas-docs/firefox-extensions-$(date '+%Y%m%d')</p>
<p># check for existing outfile, as we'll be<br />
# appending; if so, zap it<br />
if [ -e ${OUTFILE} ]; then<br />
    rm ${OUTFILE}<br />
fi</p>
<p># grab the interesting bits from the RDF file<br />
for K in name homepageURL<br />
do<br />
   # nice fix-up, eh?<br />
    grep "NS1:${K}" ${INFILE}  | sed -e "s/NS1:${K}=//" \<br />
            -e 's/"//g' -e 's/>//' \<br />
            -e 's/^[ \t]*//' | sort | uniq > ${OF}-${K}<br />
    # using wc here is entirely optional <img src='http://blog.amyl.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
    wc -l ${OF}-${K}<br />
    # append<br />
    cat ${OF}-${K} >> ${OUTFILE}<br />
done<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2010/01/firefox-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>theme change</title>
		<link>http://blog.amyl.org.uk/2009/10/theme-change/</link>
		<comments>http://blog.amyl.org.uk/2009/10/theme-change/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 00:37:39 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[indolence]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://tanqueray.amyl.org.uk/~adam/blog/?p=53</guid>
		<description><![CDATA[got bored with the previous theme. it was a bit ugly, so, erm, let&#8217;s see if this one encourages me to post a bit more&#8230;
hah.
thoughts, dear reader?
]]></description>
			<content:encoded><![CDATA[<p>got bored with the previous theme. it was a bit ugly, so, erm, let&#8217;s see if this one encourages me to post a bit more&#8230;</p>
<p>hah.</p>
<p>thoughts, dear reader?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2009/10/theme-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;cos i&#8217;m not always angry (a)</title>
		<link>http://blog.amyl.org.uk/2008/08/cos-im-not-always-angry-a/</link>
		<comments>http://blog.amyl.org.uk/2008/08/cos-im-not-always-angry-a/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 14:05:26 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[indolence]]></category>
		<category><![CDATA[anime]]></category>
		<category><![CDATA[cartoon]]></category>
		<category><![CDATA[chill]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://tanqueray.amyl.org.uk/~adam/blog/?p=11</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkcd.com/386/"><img height="330" width="300" src="http://imgs.xkcd.com/comics/duty_calls.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2008/08/cos-im-not-always-angry-a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell Order Checking: via cron</title>
		<link>http://blog.amyl.org.uk/2008/07/dell-order-checking-via-cron/</link>
		<comments>http://blog.amyl.org.uk/2008/07/dell-order-checking-via-cron/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 22:33:14 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[indolence]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[lazy]]></category>
		<category><![CDATA[ordering]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://tanqueray.amyl.org.uk/~adam/blog/?p=8</guid>
		<description><![CDATA[Ok. So let&#8217;s start off with a fairly obvious statement. I&#8217;m indolent. And I can write scripts. This is a dangerous, nay, perilous pairing&#8230;
So, with this existing laptop really getting on my nerves, and the lack of email coming from Dell regarding the new &#8216;un I ordered, I thought I&#8217;d tidy up some diff-scripts used [...]]]></description>
			<content:encoded><![CDATA[<p>Ok. So let&#8217;s start off with a fairly obvious statement. I&#8217;m indolent. And I can write scripts. This is a dangerous, nay, perilous pairing&#8230;</p>
<p>So, with this existing laptop really getting on my nerves, and the lack of email coming from Dell regarding the new &#8216;un I ordered, I thought I&#8217;d tidy up some diff-scripts used $ELSEWHERE, and re-appropriate for quick-and-dirty order-tracking.</p>
<p>Fairly simple: fetch a web-page, in this case the order page (which is accesssible with the order number &amp; email address used for the order), compare it with an existing copy (should it exist), and mail specified addresses when/if there are changes. Do this whenever (@hourly works fine for me), and forget about website visiting.</p>
<p>Bingo.</p>
<p>So, erm, just in case anyone else wants it (yes, the licensing blurb is probably about the same length as the code itself, i dunno why I bother, but maybe someone&#8217;s got some hints/tips/comments&#8230;), &#8216;<a title="dell-order-status" href="http://amyl.org.uk/~adam/dell-order-status">dell-order-status</a>&#8216; (it&#8217;s a tidied up version of the one I&#8217;m actually using, so i may need a nudge to update the web-version if I change the one in use)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2008/07/dell-order-checking-via-cron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
