<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6139409039618728265</id><updated>2011-07-08T11:21:22.636+01:00</updated><category term='apache'/><category term='linux'/><category term='achievements'/><category term='ps3'/><category term='installation'/><category term='dreamweaver'/><category term='live'/><category term='mysql'/><category term='apple'/><category term='programming'/><category term='sony'/><category term='music'/><category term='games'/><category term='networking'/><category term='tip'/><category term='ip'/><category term='outlook'/><category term='audio'/><category term='Access'/><category term='evil microsoft'/><category term='download'/><category term='m4a'/><category term='microsoft office'/><category term='python'/><category term='twitter'/><category term='torrent'/><category term='script'/><category term='server'/><category term='windows'/><category term='mp3'/><category term='.net'/><category term='fix'/><category term='xbox'/><category term='cmd'/><category term='itunes'/><category term='torrentflux'/><title type='text'>The Hell That Is IT</title><subtitle type='html'>The Pits And Perils Of Working In IT.. Simplified</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-6229811131580689834</id><published>2010-06-25T10:41:00.003+01:00</published><updated>2010-06-25T10:46:34.375+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>Show the Top 'N' in a group inside an SQL query</title><content type='html'>I've been trying to work out how to produce this for a while as I didnt want PHP to do the calculations and increase the server strain, thankfully after much searching I have come across this very helpful tutorial&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;http://www.artfulsoftware.com/infotree/queries.php?&amp;amp;bw=1245#104&lt;/blockquote&gt;&lt;br /&gt;This allows me to show the top 5 results for each group in my code it looks quite similar to this&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT seriesid, comicid, number&lt;br /&gt;FROM (&lt;br /&gt; SELECT&lt;br /&gt;   seriesid, comicid, number,&lt;br /&gt;   IF( @prev &lt;&gt; seriesid, @rownum := 1, @rownum := @rownum+1 ) AS rank,&lt;br /&gt;   @prev := seriesid&lt;br /&gt; FROM comic t&lt;br /&gt; JOIN (SELECT @rownum := NULL, @prev := 0) AS r&lt;br /&gt; ORDER BY t.seriesid&lt;br /&gt;) AS tmp&lt;br /&gt;WHERE tmp.rank &lt;= 5&lt;br /&gt;ORDER BY seriesid, number, comicid;&lt;/blockquote&gt;This is an example that I was working on, it shows three columns (seriesid, comicid &amp;amp; number) from the table (comic)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-6229811131580689834?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/6229811131580689834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=6229811131580689834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6229811131580689834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6229811131580689834'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2010/06/show-top-n-in-group-inside-sql-query.html' title='Show the Top &apos;N&apos; in a group inside an SQL query'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-8190309981210036627</id><published>2010-06-21T17:02:00.004+01:00</published><updated>2010-06-25T10:46:52.172+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='dreamweaver'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>403 Errors in Dreamweaver when trying to connect to a mysql database</title><content type='html'>Afternoon all,&lt;br /&gt;I've just spent the last 3 or so hours trying to solve a particulary annoying issue in Dreamweaver CS4, I wanted to connect to the mysql server using dreamweaver so I can create some code with a little more pollish than my current "nano" work. However each time i tried to fix this I got 403 error from the server. I did some minor work on the permissions (ie 755 chmod access) but nothing worked and then tried this and hey-presto it worked.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;chown www-data\: _mmServerScripts/ _mmServerScripts/*&lt;br /&gt;chgrp www-data _mmServerScripts/ _mmServerScripts/*&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Obviously the above is valid for my setup and may require some modification for yours but it's a nice easy fix.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-8190309981210036627?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/8190309981210036627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=8190309981210036627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/8190309981210036627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/8190309981210036627'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2010/06/403-errors-in-dreamweaver-when-trying.html' title='403 Errors in Dreamweaver when trying to connect to a mysql database'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-273755763281761047</id><published>2010-02-16T16:53:00.003Z</published><updated>2010-02-16T17:00:23.022Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>Creating An Overly Simple RSS downloader in Python</title><content type='html'>I Wrote this script the other day as I was getting more and more annoyed that my version of uTorrent wouldn't download torrents from torrentbytes for reasons that I still am not sure of. Because of this I created a new script that fits my purpose.&lt;br /&gt;&lt;br /&gt;The script is written for the TorrentBytes tracker but you should be able to modify the code to work on other sites too. Anyway here it is&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/usr/bin/python&lt;br /&gt;&lt;br /&gt;#######################################&lt;br /&gt;# RSS Downloader for torrenbytes&lt;br /&gt;# Programmed by Severed Spirit&lt;br /&gt;#######################################&lt;br /&gt;import os&lt;br /&gt;import sys&lt;br /&gt;from commands import getoutput&lt;br /&gt;&lt;br /&gt;###Get Arguments&lt;br /&gt;option = ""&lt;br /&gt;if len(sys.argv) &gt; 1:&lt;br /&gt;if sys.argv[1] == "-c":&lt;br /&gt; option =  "check"&lt;br /&gt;else:&lt;br /&gt;option = "default"&lt;br /&gt;&lt;br /&gt;###User Required Variables&lt;br /&gt;cookie_file   = "/home/alan/rss_downloaders/.lynx_cookies"&lt;br /&gt;search_filter = "Saturday.Night.Live.*720p|" + \&lt;br /&gt;                "Aqua.Teen.Hunger.Force.|" + \&lt;br /&gt;                "30.Rock.*720p|" + \&lt;br /&gt;                "The.Office.*720p|" + \&lt;br /&gt;                "South.Park.*720p|" + \&lt;br /&gt;                "The.Big.Bang.Theory.*720p|" + \&lt;br /&gt;                "Rab_C_Nesbitt.*720p|" + \&lt;br /&gt;                "Family.Guy"&lt;br /&gt;watch_folder  = "/torrent/watch/"&lt;br /&gt;prev_down_loc = "/home/alan/rss_downloaders/torrentbytes_downloaded"&lt;br /&gt;tb_passkey    = "###################"&lt;br /&gt;tb_username   = "###################"&lt;br /&gt;&lt;br /&gt;###Initialise Variables&lt;br /&gt;listoftorrents = ""&lt;br /&gt;previously_downloaded = getoutput('cat ' + prev_down_loc)&lt;br /&gt;rss_feed              = getoutput('curl "http://www.torrentbytes.net/rss.php?passkey=' + tb_passkey + \&lt;br /&gt;                                 '&amp;amp;username=' + tb_username + '&amp;amp;direct" | grep guid').replace("&amp;amp;","&amp;amp;").split("&lt;link&gt;")&lt;br /&gt;&lt;br /&gt;for torrent in rss_feed[1:]:&lt;br /&gt;torrent = torrent.split("")[0].split("\r")&lt;br /&gt;&lt;br /&gt;#fix issue with curl data&lt;br /&gt;if len(torrent) &gt; 1:&lt;br /&gt; torrent = torrent[0] + torrent[1].split("\n")[len(torrent) -1]&lt;br /&gt;else:&lt;br /&gt; torrent = torrent[0]&lt;br /&gt;&lt;br /&gt;if option == "check":&lt;br /&gt; print torrent&lt;br /&gt;&lt;br /&gt;episodes = search_filter.split("|")&lt;br /&gt;for episode in episodes:&lt;br /&gt; items = episode.split("*")&lt;br /&gt; found = "true"&lt;br /&gt;&lt;br /&gt; for filter in items:&lt;br /&gt;  if filter not in torrent:&lt;br /&gt;   found = "false"&lt;br /&gt;&lt;br /&gt; # Display torrent if all items are matched&lt;br /&gt; if found == "true":&lt;br /&gt;  listoftorrents = listoftorrents + "|" + torrent&lt;br /&gt;&lt;br /&gt;for link in listoftorrents[1:].split("|"):&lt;br /&gt;if len(link) &gt; 0:&lt;br /&gt; torrent_name = link.split("&amp;amp;name=")[1]&lt;br /&gt; if option == "default":&lt;br /&gt;  if torrent_name not in previously_downloaded:&lt;br /&gt;   os.system('wget -q --referer=http://www.torrentbytes.net/login.php --cookies=on --load-cookies="' + cookie_file + '" ' + \&lt;br /&gt;             '--keep-session-cookies --save-cookies="' + cookie_file + '" "' + link + '"  -O ' + watch_folder + torrent_name)&lt;br /&gt;   os.system('echo "' + torrent_name + '" &gt;&gt; "' + prev_down_loc + '"')&lt;br /&gt;   print "Downloaded:         " + torrent_name&lt;br /&gt;  else:&lt;br /&gt;   print "Already Downloaded: " + torrent_name&lt;br /&gt;else:&lt;br /&gt; print "No Torrents Found in Query"&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;All you have to do is modify the "###User Required Variables" section along with the cookie file and you should be set. I'd love to here what sites you've gotten this to work on plus if you can see where my code might have tried to join the failbus then please leave comments :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-273755763281761047?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/273755763281761047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=273755763281761047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/273755763281761047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/273755763281761047'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2010/02/creating-overly-simple-rss-downloader.html' title='Creating An Overly Simple RSS downloader in Python'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-1491612292506592494</id><published>2010-02-05T11:26:00.004Z</published><updated>2010-02-05T11:50:48.631Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='sony'/><category scheme='http://www.blogger.com/atom/ns#' term='evil microsoft'/><title type='text'>PS3? Why?</title><content type='html'>Recently I took the plunge into getting a nice shiny new PS3 Slim. It wasn't a quick buy though, the price was still quite expensive even though the price has gone down since launch. &lt;br /&gt;&lt;br /&gt;The main reason I moved over to the PS3 was that I have had enough of the Xbox 360, recently practices involving microsoft policies and their hardware monoplisation had begun to annoy me more than ever. One main issue was due to XBLA, my machine had been locked out from going online (guess why) however there was a game that I wanted to play so I took my hard drive and swapped it with my brothers so I can buy it on my brothers and then swap it back and play it on mine. After I LEGALLY paid for the game I was surprised (more pissed off) that I couldn't play it because the game was not activated to play on this machine. How petty, I felt so enraged due to this that I havent played on the 360 since.&lt;br /&gt;&lt;br /&gt;The PS3 is amazing, It's so much quieter than the 360 which lets face it was like having car revving up inside at times, I can also watch blu-ray which looks great. The thing I like about it more is that it just works and has a much more liberal feel to it unlike the 360s capitalist feel, it allows the use of things such as BBC iPlayer to be involved (The Xbox 360 will not be getting the 360 due to issues with the BBC being unable to charge viewers for content), it just works.&lt;br /&gt;&lt;br /&gt;I'm just about to preorder the box set of FFXIII which is something that I've been waiting for a while now, I can't wait to play that soon.&lt;br /&gt;&lt;br /&gt;BTW: My PSN username is severedspirit if anyone wants to add/check&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-1491612292506592494?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/1491612292506592494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=1491612292506592494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1491612292506592494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1491612292506592494'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2010/02/ps3-why.html' title='PS3? Why?'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-6632661249174162957</id><published>2009-11-25T23:59:00.004Z</published><updated>2009-11-26T00:10:52.391Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievements'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='xbox'/><title type='text'>Xbox Achievement HTML Creator Update</title><content type='html'>Hello all,&lt;br /&gt;I'm currently rewriting the code from scratch, the new code is written in python as its much cleaner than using .net code. The new code has many new features including:&lt;br /&gt; - Multi OS support&lt;br /&gt; - Faster creation of pages (due largely because the program downloads source only rather than leaving an ole to download the full page with flash, images, etc to ensure full data)&lt;br /&gt; - Modular based.. ish (The code will feature a modular system to it meaning that new parts can be added into the code at any time, one feature in the pipelines is a twitter mod that sends out a twitter status update everytime you get a new achievement although there is a rather annoying bug I'm still yet to patch up)&lt;br /&gt; - New graphs (Currently working on the last big graph but its a good one)&lt;br /&gt;&lt;br /&gt;The only thing left to do at the moment is to check for consistancy and ensure that all user modifications has a globalised setting&lt;br /&gt;&lt;br /&gt;I'll upload the code at some point in the very near future. To check up on the status get to http://twitter.com/severedspirit, I'm always updating it and I often update on the code progress&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-6632661249174162957?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/6632661249174162957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=6632661249174162957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6632661249174162957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6632661249174162957'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/11/xbox-achievement-html-creator-update.html' title='Xbox Achievement HTML Creator Update'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-1000901529383216619</id><published>2009-09-23T10:48:00.004+01:00</published><updated>2009-09-23T10:50:01.969+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='twitter'/><title type='text'>My Twitter Page</title><content type='html'>As you can see this blog is pretty empty, mainly because I keep forgetting to update it (I will be updating it soon with some more code), however I do have a twitter page now which I update a lot, you can view the page at this address: http://twitter.com/severedspirit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-1000901529383216619?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/1000901529383216619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=1000901529383216619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1000901529383216619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1000901529383216619'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/09/my-twitter-page.html' title='My Twitter Page'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-2827237203623495745</id><published>2009-04-13T13:24:00.003+01:00</published><updated>2009-04-13T13:32:52.971+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievements'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='xbox'/><title type='text'>XBOX Achievement HTML Creator v0.2</title><content type='html'>Xbox Achievement HTML Creator v0.2 is out --&gt; http://www.megaupload.com/?d=DS97VOX2&lt;br /&gt;I decided to knock the version down to 0.2 while we get everything sorted&lt;br /&gt;&lt;br /&gt;This includes a faster grabber which only gets data from games that you have achievements for. The other main feature is to create a graph that shows where you stand between you and another player, great for bragging rights, anyway, if you have any feature srequests or notice any bugs then please leave a comment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-2827237203623495745?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/2827237203623495745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=2827237203623495745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/2827237203623495745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/2827237203623495745'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/04/xbox-achievement-html-creator-v02.html' title='XBOX Achievement HTML Creator v0.2'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-232239845251955963</id><published>2009-03-22T15:38:00.005Z</published><updated>2009-03-22T15:44:10.082Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievements'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='xbox'/><title type='text'>XBOX Achievement HTML Creator v1</title><content type='html'>It's finally released, the XBOX Acchievement HTML creator, what this does is creates a html file that shows all of your achievement pictures on one page, nice. There is no logging of the username and passwords but if you don't believe me then run tcpdump or similar to check the traffic.&lt;br /&gt;&lt;br /&gt;If anyone has any ideas or suggestions to improve this then please leave a comment, anyway, enjoy&lt;br /&gt;&lt;br /&gt;This can be downloaded here &lt;a href="http://www.megaupload.com/?d=77G989UA"&gt;HERE&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-232239845251955963?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/232239845251955963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=232239845251955963' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/232239845251955963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/232239845251955963'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/03/xbox-achievement-html-creator-v1.html' title='XBOX Achievement HTML Creator v1'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-5053708268365725090</id><published>2009-03-15T20:25:00.003Z</published><updated>2009-03-15T20:29:19.452Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievements'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='live'/><category scheme='http://www.blogger.com/atom/ns#' term='xbox'/><title type='text'>New App. Xbox Achievements Viewer</title><content type='html'>Hey alls, sorry I haven't been on recently, been really busy, a sorry present I bring you my new app (hopefully to be released sometime this week), its a .Net application to produce results of the gaming achievements in xbox live as a web page. It's fairly basic but the code should allow me create additional extras should they be needed.&lt;br /&gt;&lt;br /&gt;If anyone has any queries or suggestions please feel free to get in contact :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-5053708268365725090?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/5053708268365725090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=5053708268365725090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/5053708268365725090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/5053708268365725090'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/03/new-app-xbox-achievements-viewer.html' title='New App. Xbox Achievements Viewer'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-1137436437778491087</id><published>2009-01-31T22:54:00.002Z</published><updated>2009-01-31T22:58:18.831Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrentflux'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Viewing Current Transfers in torrentflux-b4rt</title><content type='html'>I haven't used torrentflux-b4rt in a while on my server mainly due to the fact that it was slightly unstable on my machine however there are still people who use it, for those that do I have a little present.&lt;br /&gt;&lt;br /&gt;This python script will display the current transfers of the torrents that are running, all you need to specify is where fluxcli.php is located, as with all my scripts this is free to use in whatever you want, have fun&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/usr/bin/python&lt;br /&gt;&lt;br /&gt;# import modules&lt;br /&gt;import os&lt;br /&gt;&lt;br /&gt;os.system("clear")&lt;br /&gt;&lt;br /&gt;# Initialise Variables&lt;br /&gt;fluxcli = "/var/www/torrent/bin/fluxcli.php"&lt;br /&gt;temp = "/tmp/current_trans"&lt;br /&gt;&lt;br /&gt;print "-------------------------------"&lt;br /&gt;print "------ Current Transfers ------"&lt;br /&gt;print "-------------------------------"&lt;br /&gt;&lt;br /&gt;os.system("rm " + temp)&lt;br /&gt;os.system(fluxcli + " transfers &gt;&gt; " + temp)&lt;br /&gt;&lt;br /&gt;f = open(temp, 'r')&lt;br /&gt;&lt;br /&gt;seeding = []&lt;br /&gt;leeching = []&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;all_lines = f.readlines()&lt;br /&gt;## Get Number Of Lines&lt;br /&gt;number = 0&lt;br /&gt;for line in all_lines[2:]:&lt;br /&gt; number = number + 1&lt;br /&gt;&lt;br /&gt;for line in all_lines[2:number - 3]:&lt;br /&gt;&lt;br /&gt; line = line.split("\n")&lt;br /&gt; line = line[0]&lt;br /&gt; line = line.split("- ")&lt;br /&gt; if "0.0 kB/s " == line[8] and line[9]:&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Download Succeeded! ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Download Succeeded ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Torrent Stopped ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Transfer Died ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[9] == "- ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Stopped ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "repaired ":&lt;br /&gt;  templine = ""&lt;br /&gt; else:&lt;br /&gt;  leeching.append(line[2] + line[1] + line[8])&lt;br /&gt; if "0.0 kB/s " == line[9] and line[8]:&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Download Succeeded! ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Download Succeeded ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Torrent Stopped ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Stopped ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "Transfer Died ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[9] == "- ":&lt;br /&gt;  templine = ""&lt;br /&gt; elif line[12] == "repaired ":&lt;br /&gt;  templine = ""&lt;br /&gt; else:&lt;br /&gt;  seeding.append(line[2] + line[1] + line[9])&lt;br /&gt;&lt;br /&gt;print "Leeching:"&lt;br /&gt;for i in range(len(leeching)):&lt;br /&gt; print leeching[i]&lt;br /&gt;print "-------"&lt;br /&gt;print "Seeding:"&lt;br /&gt;for i in range(len(seeding)):&lt;br /&gt; print seeding[i]&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-1137436437778491087?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/1137436437778491087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=1137436437778491087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1137436437778491087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/1137436437778491087'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/viewing-current-transfers-in.html' title='Viewing Current Transfers in torrentflux-b4rt'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-3347162999809501515</id><published>2009-01-31T18:12:00.003Z</published><updated>2009-01-31T18:34:48.227Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='ip'/><category scheme='http://www.blogger.com/atom/ns#' term='cmd'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Who's using the machine</title><content type='html'>Yesterday I was sitting at work, trying to figure out our current IP situation, it was in a mess and hadn't been updated in a long while. The problem is machines will come and will be issued with IP Addresses and machine names however when they go (or get taken away without us knowing) the log doesnt get updated. The only way we could do this before would be to go and check each machine individually and check the settings, however this is quite unpractical realistically. However we still need this information to find out where machines are located, again this may change in the future :(&lt;br /&gt;&lt;br /&gt;Thankfully there is a little application called Nbtstat which allows us to find out who is logged into which machine and with this we can determine where the computer is located. The code can be executed by running in cmd&lt;br /&gt;   nbtstat -a computer_name&lt;br /&gt;   nbtstat -A ip_address&lt;br /&gt;&lt;br /&gt;For the future it would be great if we could run a script that would run this each day through the subnet and export the result as a spreadsheet, with this information we could sort out our IP issues and clear and organise them a lot better&lt;br /&gt;&lt;br /&gt;More information is available here &lt;br /&gt;http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Accounts/Nbtstatrevealswhoisloggedon.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-3347162999809501515?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/3347162999809501515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=3347162999809501515' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3347162999809501515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3347162999809501515'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/whos-using-machine.html' title='Who&apos;s using the machine'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-7512951112408901384</id><published>2009-01-31T18:08:00.001Z</published><updated>2009-01-31T18:09:24.605Z</updated><title type='text'>Page Layout</title><content type='html'>I've just updated the layout from the old boring blogger template, I'm still working on a few of the kinks but I hope you enjoy the changes I've made :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-7512951112408901384?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/7512951112408901384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=7512951112408901384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/7512951112408901384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/7512951112408901384'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/page-layout.html' title='Page Layout'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-6650130458166114268</id><published>2009-01-29T22:19:00.003Z</published><updated>2009-01-29T22:23:59.437Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='tip'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><category scheme='http://www.blogger.com/atom/ns#' term='itunes'/><title type='text'>Deleting items from an iTunes playlist</title><content type='html'>Hi there, this is a quick tip.&lt;br /&gt;&lt;br /&gt;When you itunes you may have realised that deleting a track from a playlist will just remove the link from your file to the playlist but not the library, if you want to remove it from the library as well do the following:&lt;br /&gt;1) Select the item(s)&lt;br /&gt;2) Press CTRL + SHIFT + DELETE&lt;br /&gt;And thats it, it'll ask you for confirmation but it makes things so much easier, such as creating a smart playlist for podcasts with a playcount of &gt;0 and then you can remove all of the podcasts youve listened to already. Altogether it will keep your collection nice and clean&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-6650130458166114268?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/6650130458166114268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=6650130458166114268' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6650130458166114268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/6650130458166114268'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/deleting-items-from-itunes-playlist.html' title='Deleting items from an iTunes playlist'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-3012296563248212534</id><published>2009-01-26T16:02:00.003Z</published><updated>2009-01-26T16:16:33.571Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='m4a'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Modifying Apple Propriety Audio Software</title><content type='html'>So I'm sitting here in the office during my lunch break watch Hak5 (Mad props) and I'm looking for something to do, this is when I realise all of my mp3s on my server and that I need to get them onto iTunes at home. The disadvantage is that im not at home and I'm on a very slow network connection (500k for the whole office!!) so I'll need something light preferably over ssh. Thats when I remembered Atomic Parsley. &lt;br /&gt;&lt;br /&gt;Atomic Parsley is a little unix application (windows available through cygwin) that allows you to edit the metadata inside of the m4a files (note I convert mp3 to m4a with pacpl and don't start with 'quality issues' the audio is for me and no one else). The website explains that the tags inside are now refered by Apple as Atoms and take 4 bytes for each Atom. With this you can modify almost all of the data needed in your collection.&lt;br /&gt;&lt;br /&gt;This is particularly useful if like me you have a strict policy on the content in your Library to allow better workings on it, with this you can just drag'n'drop your m4as into the library an itunes will do the rest&lt;br /&gt;&lt;br /&gt;Atomic Parsley can be downloaded at http://atomicparsley.sourceforge.net/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-3012296563248212534?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/3012296563248212534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=3012296563248212534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3012296563248212534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3012296563248212534'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/modifying-apple-propriety-audio.html' title='Modifying Apple Propriety Audio Software'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-7013994624712773160</id><published>2009-01-19T14:59:00.005Z</published><updated>2009-01-19T15:15:53.787Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Torrent linker</title><content type='html'>Hello there, so its been a while and I really will try to post more, to say sorry I've written some python goodness for you. &lt;br /&gt;&lt;br /&gt;This little application was written to organise my torrents, I'm currently using utorrent over wine on my Linux server and most of my torrents are from private trackers each with their own tracker hostname. What this application does is creates a link to your torrents but puts them in a folder depending on what hostname it is, this way when I connect to my XBMC I can see all of the videos from www.thebox.bz and not the audio from what.cd or the videos from passthepopcorn. This also helps management on your system.&lt;br /&gt;&lt;br /&gt;To set this up you need to ammend the 4 lines that are at the top of the script refering to folders&lt;br /&gt; - torrentfilesdirectory (folder holding the completed *.torrent)&lt;br /&gt; - torrent_completed_dir (folder holding the complteted files)&lt;br /&gt; - link_directory (folder to create the links in)&lt;br /&gt; - torrent_move_to_dir (folder to move the *.torrents into)&lt;br /&gt;&lt;br /&gt;As always the code is open source so do what you want from it, happy new year&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;import os&lt;br /&gt;import sys&lt;br /&gt;from commands import getoutput&lt;br /&gt;&lt;br /&gt;#Declare Variables&lt;br /&gt;torrentfilesdirectory = "/torrent/torrentfilescompleted/"&lt;br /&gt;torrent_completed_dir = "/torrent/completed/"&lt;br /&gt;link_directory        = "/torrent/links/"&lt;br /&gt;torrent_move_to_dir   = "/torrent/torrentfilescompletedandlinked/"&lt;br /&gt;ary_errors    = []&lt;br /&gt;ary_directory = []&lt;br /&gt;ary_tracker   = []&lt;br /&gt;ary_torrent   = []&lt;br /&gt;&lt;br /&gt;#Add list of torrents into variable&lt;br /&gt;torrent_list = getoutput("ls " + torrentfilesdirectory)&lt;br /&gt;&lt;br /&gt;#=====================================================&lt;br /&gt;def WorkOnTorrents(line):&lt;br /&gt; #Read data from torrent&lt;br /&gt; directory = getoutput("btshowmetainfo \"" + torrentfilesdirectory + line + "\" | grep \"directory name:\"")&lt;br /&gt; directory = directory + getoutput("btshowmetainfo \"" + torrentfilesdirectory + line + "\" | grep \"file name.....:\"")&lt;br /&gt; tracker = getoutput("btshowmetainfo \"" + torrentfilesdirectory + line + "\" | grep \"announce url..:\"")&lt;br /&gt;&lt;br /&gt; #Modify the directory variable&lt;br /&gt; directory = directory.split(": ")&lt;br /&gt; directory = directory[1]&lt;br /&gt;&lt;br /&gt; #Modify the tracker variable&lt;br /&gt; try:&lt;br /&gt;  tracker = tracker.split("\n")&lt;br /&gt;  tracker = tracker[0]&lt;br /&gt;  tracker = tracker.split("/")&lt;br /&gt;  tracker = tracker[2]&lt;br /&gt;  tracker = tracker.split(":")&lt;br /&gt;  tracker = tracker[0]&lt;br /&gt;  torrent_valid = "Works"&lt;br /&gt; except:&lt;br /&gt;  torrent_valid = "Fails"&lt;br /&gt;&lt;br /&gt; #Add torrent variables to arrays&lt;br /&gt; if torrent_valid == "Works":&lt;br /&gt;  # Check Against Identified Errors&lt;br /&gt;  if tracker == "":&lt;br /&gt;   ary_errors.append(line);&lt;br /&gt;  else:&lt;br /&gt;   ary_tracker.append(tracker);&lt;br /&gt;   ary_directory.append(directory);&lt;br /&gt;   ary_torrent.append(line);&lt;br /&gt;&lt;br /&gt;torrent_list = torrent_list.split("\n")&lt;br /&gt;for line in torrent_list:&lt;br /&gt; WorkOnTorrents(line)&lt;br /&gt;&lt;br /&gt;#=====================================================&lt;br /&gt;## Create Links&lt;br /&gt;print "Executing Links"&lt;br /&gt;for i in range(len(ary_tracker)):&lt;br /&gt; print "Creating Link for: " + ary_torrent[i];&lt;br /&gt; if os.path.exists(link_directory + ary_tracker[i]) == 1:&lt;br /&gt;  os.system("ln -s \"" + torrent_completed_dir + ary_directory[i] + "\" \"" + link_directory + ary_tracker[i] + "/" + ary_directory[i] + "\"")&lt;br /&gt; else:&lt;br /&gt;  os.system("mkdir " + link_directory + ary_tracker[i])&lt;br /&gt;  os.system("ln -s \"" + torrent_completed_dir + ary_directory[i] + "\" \"" + link_directory + ary_tracker[i] + "/" + ary_directory[i] + "\"")&lt;br /&gt; os.system("mv \"" + torrentfilesdirectory + ary_torrent[i] + "\" " + torrent_move_to_dir)&lt;br /&gt;&lt;br /&gt;#=====================================================&lt;br /&gt;## Display Error Torrents&lt;br /&gt;if len(ary_errors) &gt; 0:&lt;br /&gt; print "Errors Found:";&lt;br /&gt; for i in range(len(ary_errors)):&lt;br /&gt;  print ary_errors[i];&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-7013994624712773160?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/7013994624712773160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=7013994624712773160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/7013994624712773160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/7013994624712773160'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2009/01/hello-there-so-its-been-while-and-i.html' title='Torrent linker'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-8321547183933354952</id><published>2008-02-22T09:45:00.001Z</published><updated>2008-02-22T09:45:57.624Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Access'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft office'/><title type='text'>Microsoft Access could not find file C:\windows\system32\system.mdw</title><content type='html'>Problem&lt;br /&gt;You receive the error 'Microsoft Access could not find file C:\windows\system32\system.mdw' when trying to open up Microsoft Access&lt;br /&gt;&lt;br /&gt;Reason&lt;br /&gt;The problem is down to permissions to the mdw file, the system.mdw file is a security file in access, this has most likely gone wrong if someone has modified or deleteted the system.mdw file.&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;1) Go to C:\Windows\System32\ and search for system.mdw, if it exists rename it to system.mdw.backup&lt;br /&gt;2) Run program wrkgadm.exe&lt;br /&gt;3) Click Create&lt;br /&gt;4) Change the worgroup ID to either your workgroup name or domain name&lt;br /&gt;5) Click OK&lt;br /&gt;6) Click Join (Not always neccesary but worth doing)&lt;br /&gt;7) Select your system.mdw file&lt;br /&gt;8) Open Up Microsoft Access&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-8321547183933354952?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/8321547183933354952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=8321547183933354952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/8321547183933354952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/8321547183933354952'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2008/02/microsoft-access-could-not-find-file.html' title='Microsoft Access could not find file C:\windows\system32\system.mdw'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-3606460925008832594</id><published>2008-02-12T12:08:00.000Z</published><updated>2008-02-12T12:23:02.584Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft office'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>"Windows is configuring Microsoft Office".. every fucking time i start it: Part 2</title><content type='html'>So I switched on my machine today run excel, and everythings running as normal (yays) but as I check my email i ralise the dreaded setup box coming back, before throwing fist at the screen i decided to have a look what was going on, I checked the other affected applications which were now also running fine it was just outlook that had this problem&lt;br /&gt;&lt;br /&gt;Anyway to cut a long story short I discovered that the registry permissions problem was in numerous places and the only way to fix it efficiently was to give full access to HKEY_CLASSES_ROOT. heres the how to&lt;br /&gt;&lt;br /&gt;1) complete previous steps from yesterday&lt;br /&gt;2) run Security Explorer&lt;br /&gt;3) select the HKEY_CLASSES_ROOT and press F2&lt;br /&gt;4) aad the user Everyone and add the users to the user box at the bottom&lt;br /&gt;5) press OK to run through the Keys, this should take 10 - 15 minutes to complete, I recommend unchecking the view option as this will take longer.&lt;br /&gt;&lt;br /&gt;Thats it. One of the other bonuses is that you won't receive warnings on the applications about a 'ddl file missing'. Hope this helps, bye&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-3606460925008832594?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/3606460925008832594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=3606460925008832594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3606460925008832594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/3606460925008832594'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2008/02/part-2.html' title='&quot;Windows is configuring Microsoft Office&quot;.. every fucking time i start it: Part 2'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-760333486256781945</id><published>2008-02-11T15:41:00.001Z</published><updated>2008-02-11T15:53:32.780Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft office'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>"Windows is configuring Microsoft Office".. every fucking time i start it</title><content type='html'>This particular problem took me ages to fix and for anyone who has experienced this it is not a good idea to have this problem popping up everytime you open an office file, so to keep you calm heres how to fix it&lt;br /&gt;&lt;br /&gt;Although it may not seem like it this problem is regarding the registry, however rather than being a registry incorperated into the software section, its held in HKEY_CLASSES_ROOT and more importantly its stored in the .pip folder&lt;br /&gt;&lt;br /&gt;The problem is a privilage problem essentially the folder is currupt and includes access for no users. So onto the resolution&lt;br /&gt;&lt;br /&gt;1) download and install an application called security explorer&lt;br /&gt;2) run the application remove the folder HKEY_CLASSES_ROOT\.pip&lt;br /&gt;3) run excel and ensure that all of the installations have completed then close excel&lt;br /&gt;4) refresh the key data again till you see the .pip folder again&lt;br /&gt;5) add your user and anyone elses user who may want to access the file or insert 'Everyone'&lt;br /&gt;6) click ok to save the changes and open up excel aagin, this should follow on to the rest of the office applications&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-760333486256781945?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/760333486256781945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=760333486256781945' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/760333486256781945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/760333486256781945'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2008/02/windows-is-configuring-microsoft-office.html' title='&quot;Windows is configuring Microsoft Office&quot;.. every fucking time i start it'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139409039618728265.post-5548548800486042363</id><published>2008-02-11T15:36:00.001Z</published><updated>2008-02-11T15:39:52.964Z</updated><title type='text'>Welcome All</title><content type='html'>Welcome to the first post of this blog, the blog is intended for anyone who works in the industry and truly appreciates how stressful, boring and annoying it is.&lt;br /&gt;&lt;br /&gt;So whats going to be on the blog?&lt;br /&gt;Multiple things really such as programming code, software fixes, rants &amp;amp; moaning mainly, and other crap that i can't remember right now&lt;br /&gt;&lt;br /&gt;So hope you enjoy it&lt;br /&gt;Alan&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139409039618728265-5548548800486042363?l=thehellthatisit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thehellthatisit.blogspot.com/feeds/5548548800486042363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139409039618728265&amp;postID=5548548800486042363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/5548548800486042363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139409039618728265/posts/default/5548548800486042363'/><link rel='alternate' type='text/html' href='http://thehellthatisit.blogspot.com/2008/02/welcome-all.html' title='Welcome All'/><author><name>Alan MacGregor</name><uri>http://www.blogger.com/profile/10648247282849736318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
