<?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; scripts</title>
	<atom:link href="http://blog.amyl.org.uk/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amyl.org.uk</link>
	<description>my half-arsed attempt at blogging</description>
	<lastBuildDate>Tue, 06 Dec 2011 19:09:09 +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>cURL and Google Spreadsheets</title>
		<link>http://blog.amyl.org.uk/2011/12/curl-and-google-spreadsheets/</link>
		<comments>http://blog.amyl.org.uk/2011/12/curl-and-google-spreadsheets/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 19:06:58 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[google-docs]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://blog.amyl.org.uk/?p=98</guid>
		<description><![CDATA[I failed to find a good example of something that worked to pull a spreadsheet from google-docs using cURL. All that I found didn&#8217;t work, in one shape or another.
A bit of playing, and quite a bit of reading got this

#!/bin/bash
PASS=`cat /path/to/0600/google-password-file`
SHEET="https://spreadsheets.google.com/feeds/download/spreadsheets/Exportkey=addyourownsheetIDhere&#038;exportFormat=csv&#038;gid="
AUTH_TOKE=`curl --silent https://www.google.com/accounts/ClientLogin -d \
    Email=foo@example.org -d \
   ]]></description>
			<content:encoded><![CDATA[<p>I failed to find a good example of something that worked to pull a spreadsheet from google-docs using cURL. All that I found didn&#8217;t work, in one shape or another.</p>
<p>A bit of playing, and quite a bit of reading got this</p>
<p><code><br />
#!/bin/bash<br />
PASS=`cat /path/to/0600/google-password-file`<br />
SHEET="https://spreadsheets.google.com/feeds/download/spreadsheets/Exportkey=addyourownsheetIDhere&#038;exportFormat=csv&#038;gid="</p>
<p>AUTH_TOKE=`curl --silent https://www.google.com/accounts/ClientLogin -d \<br />
    Email=foo@example.org -d \<br />
    Passwd=${PASS} -d \<br />
    accountType=HOSTED -d \<br />
    source=cURL-SpreadPull -d \<br />
    service=wise | grep Auth\= | sed 's/Auth/auth/'`</p>
<p>curl --silent --output /path/to/file --header "GData-Version: 3.0" --header "Authorization: GoogleLogin ${AUTH_TOKE}" "${SHEET}${TAB}"<br />
</code></p>
<p>seemed to do the trick</p>
<p><code>Exportkey</code> could be defined in the script, as a variable, thinking about it. You&#8217;ll need to supply that; I typically grab it from the web-based URI, but there is a warning in <a href="http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#RetrievingCellFeeds">the docs</a> about that:</p>
<p><quote><br />
<em>To determine the URL of a cell-based feed for a given worksheet, get the worksheets metafeed and examine the &lt;link&gt; element in which rel is http://schemas.google.com/spreadsheets/2006#cellsfeed. The href value in that element is the cell feed&#8217;s URI.</em><br />
</quote></p>
<p> YMMV.</p>
<p>I&#8217;ve added in <code>&#038;exportFormat=csv&#038;gid=</code> because I wanted CSV outputs, and gid&#8217;s value is provided via a for &#8230; and case deviation.</p>
<p><code>--header "GData-Version: 3.0"</code> was needed to avoid the  redirection.</p>
<p>Hopefully, this might be of benefit &#8212; as a working (when written) example of using curl and google docs/google spreadsheets.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2011/12/curl-and-google-spreadsheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-listbugs and suite-wide scripted upgrades</title>
		<link>http://blog.amyl.org.uk/2010/11/apt-listbugs-and-scripted-updates/</link>
		<comments>http://blog.amyl.org.uk/2010/11/apt-listbugs-and-scripted-updates/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 15:47:40 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[ENV]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.amyl.org.uk/?p=93</guid>
		<description><![CDATA[Having finally got fed up with logging in, individually, to upgrade each of the no2id machines and jails, a bit ago, I decided to write a script to do the &#8216;hard work&#8217; for me.
This worked fine, until today, when I noticed apt-listbugs complaining, and causing the script to fail to dist-upgrade.
Not a problem, thought I.]]></description>
			<content:encoded><![CDATA[<p>Having finally got fed up with logging in, individually, to upgrade each of the <a href="http://www.no2id.net">no2id</a> machines and jails, a bit ago, I decided to write a script to do the &#8216;hard work&#8217; for me.</p>
<p>This worked fine, until today, when I noticed <a href="http://packages.debian.org/search?keywords=apt-listbugs">apt-listbugs</a> complaining, and causing the script to fail to dist-upgrade.</p>
<p>Not a problem, thought I. I&#8217;m sure others have had this issue too. Being lazy, I thought first point of call would be the internets. I&#8217;d have thought something like:</p>
<p><code><br />
"DEBIAN_FRONTEND=noninteractive" "apt-listbugs"<br />
</code></p>
<p>might have done the trick. It didn&#8217;t (that I could find).</p>
<p>So I went back to doing what a lot of the new-breed of &#8216;devops&#8217; fail to do, and what I&#8217;m quite hypocritical of; looking at the manpage.</p>
<p>The <a href="http://manpages.debian.net/cgi-bin/man.cgi?query=apt-listbugs">manpage</a> provides us with this gem:</p>
<blockquote><p>
   ENVIRONMENT VARIABLES<br />
              o  APT_LISTBUGS_FRONTEND  If  this  variable  is  set  to &#8220;none&#8221;<br />
              apt-listbugs will not execute at all, this might  be  useful  if<br />
              you  would  like  to  script  the  use  of  a program that calls<br />
              apt-listbugs.
</p></blockquote>
<p>So there we go.</p>
<p><code><br />
 for M in $MACHINES<br />
 do<br />
     echo "Connecting to ${M}.no2id.net"<br />
-    ssh root@${M}.no2id.net 'export TERM=xterm; export DEBIAN_FRONTEND=noninteractive; apt-get update &#038;&#038; echo "" &#038;&#038; echo "" &#038;&#038; echo "This is "'${M}'".no2id.net" &#038;&#038; echo "" &#038;&#038; echo "" &#038;&#038; apt-get dist-upgrade'<br />
+    ssh root@${M}.no2id.net 'export TERM=xterm; export DEBIAN_FRONTEND=noninteractive; export APT_LISTBUGS_FRONTEND=none; apt-get update &#038;&#038; echo "" &#038;&#038; echo "" &#038;&#038; echo "This is "'${M}'".no2id.net" &#038;&#038; echo "" &#038;&#038; echo "" &#038;&#038; apt-get dist-upgrade'<br />
done<br />
</code></p>
<p>hopefully, this will help others, whose first port of call is the internets, and not manpages. </p>
<p>You may, however be sensible &#8212; and have had the time to roll out <a href="http://www.puppetlabs.com">Puppet</a> (ugh, when did they change their website! Why&#8253;) or <a href="http://www.opscode.com/chef">Chef</a> though.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2010/11/apt-listbugs-and-scripted-updates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Transmission and Renaming Torrents</title>
		<link>http://blog.amyl.org.uk/2010/09/transmission-and-renaming-torrents/</link>
		<comments>http://blog.amyl.org.uk/2010/09/transmission-and-renaming-torrents/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 14:20:56 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[mailer]]></category>
		<category><![CDATA[rename]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[transmission]]></category>
		<category><![CDATA[works for me]]></category>

		<guid isPermaLink="false">http://blog.amyl.org.uk/?p=89</guid>
		<description><![CDATA[I&#8217;ve recently (ish) started using transmission as my torrent client; the change-over comes from my switching-things-off approach; instead of keeping ktorrent running on the laptop (and caneing my bandwidth), I can have something mainly work on the NAS which is always on (bar power-cuts/maint).
One of the things that I noticed was the apparent lack of]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently (ish) started using transmission as my torrent client; the change-over comes from my switching-things-off approach; instead of keeping <a href="http://ktorrent.org">ktorrent</a> running on the laptop (and caneing my bandwidth), I can have something mainly work on the NAS which is always on (bar power-cuts/maint).</p>
<p>One of the things that I noticed was the <a href="https://trac.transmissionbt.com/ticket/1220">apparent lack</a> of <a href="https://trac.transmissionbt.com/ticket/672">renaming</a> within Transmission (and the curious way earlier tickets are marked as duplicitous of later ones).</p>
<p>So, erm, I&#8217;ve <a href="http://github.com/adamamyl/transmission">written something</a> that works for me. And hacked out the mailer-script to something a little cleaner&#8212; at least in my view.</p>
<p>The premise is that you&#8217;re using a POSIXish operating system &#8212; <a href="http://www.readynas.com/">my NAS</a> runs on Debian &#8212; and that all of your exports are within the /nas directory, and your torrents directory is /nas/torrents.</p>
<p>The changes needed are (with transmission not running, apparently) to include <code>/path/to/post-download</code> as the value for<br />
<code>script-torrent-done-filename</code> in <code>settings.json</code></p>
<p>You&#8217;ll need to echo in <code>"/path/to/store/the/completed-file"</code> to a file named as per the torrent (see your <code>incomplete</code> directory for that), but with &#8220;<code>.move</code>&#8221; appended; the rest should all happen automagically.</p>
<p>You might find it useful to chown the directories you&#8217;ll be moving things to that of the user running the transmission processes; I tend to setgid to my GID too.</p>
<p>The other file, mvtor, is one for doing a manual move, specify the torrent as an arguement; e.g., <code>./mvtor "ubuntu-10.04.1-alternate-i386.iso"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2010/09/transmission-and-renaming-torrents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>arpinfo</title>
		<link>http://blog.amyl.org.uk/2010/05/arpinfo/</link>
		<comments>http://blog.amyl.org.uk/2010/05/arpinfo/#comments</comments>
		<pubDate>Thu, 20 May 2010 16:17:24 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[openrights]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[IEEE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[OEM]]></category>
		<category><![CDATA[OUI]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.amyl.org.uk/?p=81</guid>
		<description><![CDATA[Ever wanted to know who the OEM/Supplier/Manufacturer of network devices attached to a machine were?
I did. And couldn&#8217;t see anyone else&#8217;s script to steal, so here&#8217;s a really ugly way to do it  

# arpinfo:
#   pull hardware info from the arp() table
#
# Copyright (c) 2010 Adam McGreggor. Some rights reserved.
# Email: ]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to know who the OEM/Supplier/Manufacturer of network devices attached to a machine were?</p>
<p>I did. And couldn&#8217;t see anyone else&#8217;s script to steal, so here&#8217;s a really ugly way to do it <img src='http://blog.amyl.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><code><br />
# arpinfo:<br />
#   pull hardware info from the arp() table<br />
#<br />
# Copyright (c) 2010 Adam McGreggor. Some rights reserved.<br />
# Email: <adam@amyl.org.uk> Web: <http://blog.amyl.org.uk><br />
#<br />
# $Id:$<br />
#</p>
<p>WEBSOURCE=http://standards.ieee.org/regauth/oui/oui.txt<br />
DOC=/usr/local/doc/oui.txt</p>
<p>curl --silent ${WEBSOURCE} -o "${DOC}"</p>
<p>arp | awk '{print $3}' | awk -F: '{print $1"-"$2"-"$3}' | while read ARP<br />
do<br />
    grep $ARP ${DOC}<br />
done<br />
arp<br />
</code></p>
<p>Works for me&#8230; although it could do with a tidy-up. As a quick and dirty thing, mind&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2010/05/arpinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>UKGovWeb Barcamp</title>
		<link>http://blog.amyl.org.uk/2008/11/ukgovweb-barcamp/</link>
		<comments>http://blog.amyl.org.uk/2008/11/ukgovweb-barcamp/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 18:03:02 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[geekcons]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[GovCamp09]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[UKGC09]]></category>

		<guid isPermaLink="false">http://tanqueray.amyl.org.uk/~adam/blog/?p=41</guid>
		<description><![CDATA[Hum, so there&#8217;s another UKGovWeb Barcamp in the pipe-line. Good-oh, says I.
To work around my hatred of PBWiki&#8217;s &#8220;notification&#8221; system, I&#8217;ve just re-appropriated (and made &#8216;ukgovweb-check&#8216;) my dell-order-checking script to work for the wiki-page; changelog is that  the script now uses lynx instead of wget, and that we send the difflog, rather than the]]></description>
			<content:encoded><![CDATA[<p>Hum, so there&#8217;s another <a href="http://barcamp.org/BarcampUKGovweb09">UKGovWeb Barcamp</a> in the pipe-line. Good-oh, says I.</p>
<p>To work around my hatred of <a href="http://pbwiki.com/">PBWiki</a>&#8217;s &#8220;notification&#8221; system, I&#8217;ve just re-appropriated (and made &#8216;<a href="http://tanqueray.amyl.org.uk/~adam/ukgovweb-check">ukgovweb-check</a>&#8216;) my <a href="http://tanqueray.amyl.org.uk/~adam/blog/2008/07/dell-order-checking-via-cron/">dell-order-checking script</a> to work for the wiki-page; <strong>changelog</strong> is that  the script now uses lynx instead of wget, and that we send the difflog, rather than the whole-bloody-changed file.</p>
<p>If you&#8217;re still in the dark-ages like me, and haven&#8217;t written one yourself, here you go. If there&#8217;s a demand and people are feeling lazy, I suppose I could whip up a list.</p>
<p>Let me know if you do.</p>
<p>There&#8217;s some <a href="http://groups.google.com/group/BarcampUKGovweb">discussion</a> going on on email, I do believe.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2008/11/ukgovweb-barcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catching up with the 21st Century.</title>
		<link>http://blog.amyl.org.uk/2008/09/catching-up-with-the-21st-century/</link>
		<comments>http://blog.amyl.org.uk/2008/09/catching-up-with-the-21st-century/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 01:44:29 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[late as usual]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://tanqueray.amyl.org.uk/~adam/blog/?p=21</guid>
		<description><![CDATA[Well, in an half-arsed manner, I&#8217;m finally catching up with this century&#8217;s gizmo, that most people didn&#8217;t believe I didn&#8217;t use.
RSS.
I say kinda, &#8216;cos, despite having finally found something non-intrusive, and with a UI that doesn&#8217;t suck, I still don&#8217;t check the webpage it makes. Despite it updating.
Of course, I should have thought &#8220;I know]]></description>
			<content:encoded><![CDATA[<p>Well, in an half-arsed manner, I&#8217;m finally catching up with this century&#8217;s gizmo, that most people didn&#8217;t believe I didn&#8217;t use.</p>
<p>RSS.</p>
<p>I say kinda, &#8216;cos, despite having finally found something non-intrusive, and with a UI that doesn&#8217;t suck, I still don&#8217;t check the webpage it makes. Despite it updating.</p>
<p>Of course, I should have thought &#8220;I <a href="http://www.mysociety.org/2007/03/05/rip-chris-lightfoot-1978-to-2007/">know</a> <a href="http://ex-parrot.com/~chris/wwwitter/20070305-chris_lightfoot_1978-2007.html">who</a>  <a href="http://www.timesonline.co.uk/tol/comment/obituaries/article1522355.ece">would</a> <a href="http://mk.ucant.org/archives/000129.html">have</a> <a href="http://ex-parrot.com/~chris/software.html#headlines">written something useful</a>&#8221; donkey&#8217;s years ago. But I never did. Only recently, when hunting for <a href="http://ex-parrot.com/~chris/software.html#matilda">Matilda</a> did I think about it. *sigh*</p>
<p>So, there we have it. Next up is working a fix for it, to handle rss feeds which require basic-auth (trac-tastic!), and getting xkcd to display inline&#8230;</p>
<p>Next up: populating it a bit more, and then unsubscribing from some lists&#8230; well, maybe filter &#8216;em out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amyl.org.uk/2008/09/catching-up-with-the-21st-century/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>

