<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Dave Bradford</title>
  <link href="http://davebradford.com/feed.xml" rel="self" />
  <link href="http://davebradford.com/" />
  <updated></updated>
  <id>http://davebradford.com</id>
  <author>
    <name>Dave Bradford</name>
  </author>
  
  <entry>
    <title>Twitter Profile Bookmarklet for Tweetbot</title>
    <link href="http://davebradford.com/blog/twitter-profile-bookmarklet/"/>
    <updated>Fri, 14 Mar 2014 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/twitter-profile-bookmarklet</id>
    <content type="html">&lt;p&gt;Every so often I follow a link from a website for a twitter profile and have to copy the username into Tweetbot manually to then follow the user. I’m never logged onto the Twitter mobile site via my phone.&lt;/p&gt;

&lt;p&gt;So I created a bookmarklet to take the Twitter profile URL from their mobile site and format using the Tweetbot x-callback-url scheme for opening directly into a users profile. You have to be on the users profile page via the mobile twitter site (eg. https://mobile.twitter.com/username).&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;javascript:var%url=document.URL;var%tweetbotProfile=url.replace(&quot;https://mobile.twitter.com/&quot;,&quot;tweetbot:///user_profile/&quot;);window.location=tweetbotProfile;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I’ve &lt;a href=&quot;https://gist.github.com/davebradford/9697962&quot;&gt;posted a gist&lt;/a&gt; to GitHub, it breaks down each line of JavaScript and explains how to adapt this to work for Twitterific for iPhone.&lt;/p&gt;

&lt;p&gt;If you find this useful or can make this bookmarklet more efficient, feel free to &lt;a href=&quot;http://twitter.com/davebradford&quot;&gt;contact me&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I’m going to try and adapt this in the future to check for non mobile addresses, so I can use this on my iPad as well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UPDATE: Sunday 11th May 2014&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I received some great feedback on this bookmarklet. It turns out that Tweetbot doesn’t care if the full URL exists in the string which is passed via x-callback-url, very handy to know. Therefore this bookmarklet can be cut down considerably, a new script is listed below.&lt;/p&gt;

&lt;p&gt;Instead it just opens the x-callback-url in Tweetbot for the user profile parameter and adds whatever the previous URL from the address bar.&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;javascript:window.location='tweetbot:///user_profile'+location.pathname
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Thanks to &lt;a href=&quot;https://github.com/lepht&quot;&gt;lepht&lt;/a&gt; on GitHub for discovering this and commenting on the original gist.&lt;/p&gt;

</content>
  </entry>
  
  <entry>
    <title>Moving to Digital Ocean</title>
    <link href="http://davebradford.com/blog/moving-to-digital-ocean/"/>
    <updated>Mon, 10 Mar 2014 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/moving-to-digital-ocean</id>
    <content type="html">&lt;p&gt;Two months ago I moved this website over to the fine folks at Digital Ocean, who offer SSD based VPS servers.&lt;/p&gt;

&lt;p&gt;I get the freedom to configure everything myself and experiment with configurations that aren’t supported with shared hosting. I came over from &lt;a href=&quot;http://linode.com&quot;&gt;Linode&lt;/a&gt; another VPS provider who are brilliant, I wanted to test to see how easy it was moving everything over and see what Digital Ocean had to offer.&lt;/p&gt;

&lt;h2 id=&quot;basic-server-setup&quot;&gt;Basic Server Setup&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://feross.org/about/&quot;&gt;Feross Aboukhadijeh&lt;/a&gt; helped me with most of the details with his guide &lt;a href=&quot;http://feross.org/how-to-setup-your-linode/&quot;&gt;How To Set Up Your Linode For Maximum Awesomeness&lt;/a&gt;. It’s focuses mainly toward setting up a Linode but you could apply most of the tweaks and setup to Ubuntu Server LTS 12.04.&lt;/p&gt;

&lt;p&gt;I took a tip from my pal &lt;a href=&quot;http://dannytsang.co.uk/&quot;&gt;Danny&lt;/a&gt; and created a shell script with most of my install automated. In the future I’d like to look into &lt;a href=&quot;http://puppetlabs.com&quot;&gt;Puppet&lt;/a&gt; as they seem to be the way to go for this kind of stuff.&lt;/p&gt;

&lt;h2 id=&quot;website-deployment&quot;&gt;Website Deployment&lt;/h2&gt;

&lt;p&gt;Sometime ago I &lt;a href=&quot;http://davebradford.com/blog/moving-away-from-wordpress/&quot;&gt;moved this site over to Jekyll&lt;/a&gt;, a static-site generator that compiles your site from plain text files. It powers GitHub pages and I could host this site there for free however I have some Jekyll plugins that GitHub do not support.&lt;/p&gt;

&lt;p&gt;I keep the source files on my machine and when I need to make changes or update I simple compile the site and sync the changes to my server using &lt;a href=&quot;https://github.com/capistrano/capistrano&quot;&gt;Capistrano&lt;/a&gt;, which allows you to create workflows for remote multi-server automation.&lt;/p&gt;

&lt;p&gt;Although this isn’t necessary for a single server having a workflow to compile and publish changes to a remote location works wonderfully. I simply create the directories on my server, point my Capistrano workflow at the new destination and publish!&lt;/p&gt;

&lt;p&gt;Digital Ocean have a &lt;a href=&quot;https://www.digitalocean.com/community/articles/how-to-get-started-with-jekyll-on-an-ubuntu-vps&quot;&gt;great guide on setting this up&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;finally&quot;&gt;Finally&lt;/h2&gt;

&lt;p&gt;Finally I updated my DNS records to point to the new server and waited. This has been the most painless server migration I’ve completed.&lt;/p&gt;

&lt;p&gt;I put this down to Jekyll and way I can easily re-deploy my site to a new server without extensive configuration.&lt;/p&gt;

&lt;p&gt;Digital Ocean offers a great service, overall I am pretty impressed with their performance. If your interested in trying them out, please consider using my &lt;a href=&quot;https://www.digitalocean.com/?refcode=b35972924bb4&quot;&gt;referral link&lt;/a&gt;.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>What is The Right Tool?</title>
    <link href="http://davebradford.com/blog/what-is-the-right-tool/"/>
    <updated>Thu, 15 Aug 2013 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/what-is-the-right-tool</id>
    <content type="html">&lt;p&gt;Has anyone ever looked down on you because you don’t have the &lt;em&gt;right&lt;/em&gt; tools for the job?&lt;/p&gt;

&lt;p&gt;First lets look at what the &lt;em&gt;right&lt;/em&gt; tools mean, if your a photographer and you don’t have a DSLR does that mean your not serious about your work? Of course not, with smart phones getting better and better there has been a boom of people taking fantastic photos on their smart phones and Instagram has build a community of people doing great things without ‘professional’ camera equipment. #NoFilter was a series by The Daily &lt;a href=&quot;http://www.iso1200.com/2012/12/nofilter-with-instagrams-biggest-stars.html&quot;&gt;interviewing some Instagram’s biggest stars&lt;/a&gt;. They all use smartphones to capture their best shots.&lt;/p&gt;

&lt;p&gt;When I started designing websites, I used to design all my web images in Pixelmator, a great image editing application for the mac. When I speak to other people who design websites or do any kind of design work they say “Oh, you shouldn’t you be using photoshop?”. Who says you should be using photoshop?&lt;/p&gt;

&lt;p&gt;I’ve just started working freelance designing for the web. When starting out, can I justify the creative suite price tag? Pixelmator is £20 (at the time of writing this post) on the Mac App Store. If you take a look at some of the work people have produced using Pixelmator you wouldn’t be able to tell the difference. Of course this only works if your work is contained to just you, if you work as part of a team you may need to sent files and projects inside and out in which case you might have to invest. It all depends on your workflow and your customers requirements, but for most projects the tool doesn’t matter.&lt;/p&gt;

&lt;p&gt;The point I’m trying to make is just because a tool is ‘industry standard’ doesn’t mean you have to bowl down and learn it. You use the tools which work for you. These are just tools, the principles will stay with you. If you know how something should look or work will Photoshop really help you achieve this?&lt;/p&gt;

&lt;p&gt;If your just starting out do you need a new MacBook Pro or can you stay on your old PC for a little bit longer while your getting established.&lt;/p&gt;

&lt;p&gt;The tools don’t define you, you use the tool to create your idea. You see a fantastic shot and you grab your phone camera because it’s quick and you get the shot fast because the moment might pass by.&lt;/p&gt;

&lt;p&gt;Your passion should be your work not your equipment.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Learning to Start</title>
    <link href="http://davebradford.com/blog/learning-to-start/"/>
    <updated>Thu, 01 Nov 2012 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/learning-to-start</id>
    <content type="html">&lt;p&gt;The biggest and most valuable piece of advice I’ve received in the last year is just to start.&lt;/p&gt;

&lt;p&gt;Whatever you want to do, it won’t start itself and it won’t come to you. Just start! A friend asked me the other day about programming and languages to use. I replied by suggesting to just put your ideas together, start small and keep revising, build a prototype.&lt;/p&gt;

&lt;p&gt;You can’t learn to ride a bike without jumping on and starting to peddle? You build with practice.&lt;/p&gt;

&lt;p&gt;Now let’s apply this to coding. Part of the learning processing is creating mistakes, fixing them and learning not to make them again. It’s important to learn and starting in the most important step.&lt;/p&gt;

&lt;p&gt;Ruby on Rails is a fantastic language, it took me well over 2 years to start coding. I cut the cord and remove access to all the tutorials I had. I went off on my own and created something I wanted to make, you learn things and with a bit of research online.&lt;/p&gt;

&lt;p&gt;So at lunch, tonight, the weekend whenever I get spare time, I’m starting!&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Moving Away From Wordpress</title>
    <link href="http://davebradford.com/blog/moving-away-from-wordpress/"/>
    <updated>Mon, 07 May 2012 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/moving-away-from-wordpress</id>
    <content type="html">&lt;p&gt;Since as long as I have been on the internet I’ve been playing around with &lt;a href=&quot;http://wordpress.org/&quot;&gt;Wordpress&lt;/a&gt;, they have two versions a completely hosted version and an open source version which can be installed on a web server, PHP and a database of sorts.&lt;/p&gt;

&lt;p&gt;This is great and the whole project has a lot of experience and advanced support, but I wondered what alternatives people were using for blogging. I only do the odd post here and there, maybe my setup was a little overkill. A lower maintenance blog generator and described as blogging for hackers called &lt;a href=&quot;https://github.com/mojombo/jekyll&quot;&gt;Jekyll&lt;/a&gt;  written in ruby and the backbone for &lt;a href=&quot;http://github.com/pages&quot;&gt;github pages&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A few migration scripts and some reading of their documentation and I had my Wordpress setup converted into static files and published as a Jekyll site.&lt;/p&gt;

&lt;p&gt;The idea is you create a simple layout and include your posts as text files in a directory, which the scripts build a website from, you can put your posts into either markdown or html format and just run Jekyll to recompile the site when your ready to publish.&lt;/p&gt;

&lt;p&gt;The benefits of having all your site in static files is mainly speed, without php and database calls it doesn’t matter as big your site gets.&lt;/p&gt;

&lt;p&gt;I’ve been building a tutorial for beginners to get straight in and create their first Jekyll powered site. But for now I recommend visiting the github page and read some of the &lt;a href=&quot;https://github.com/mojombo/jekyll/wiki/usage&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Living Without My Computer</title>
    <link href="http://davebradford.com/blog/living-without-my-computer/"/>
    <updated>Wed, 28 Dec 2011 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/living-without-my-computer</id>
    <content type="html">&lt;p&gt;Picture this two weeks ago, it’s a cold Saturday morning. I get home after spending the night around my girlfriends, power up my MacBook Pro, went downstairs to make a cup of tea and noticed the screen was completely black? After a bit of troubleshooting it wasn’t just the screen, it seems to have completely failed posting at all I mean it turns on but other than that there is no chime no nothing! Wow this hit me pretty hard I mean my main machine was busted just shy of 4 years old.&lt;/p&gt;

&lt;p&gt;It’s been a good few weeks now without my laptop - it’s tough. I don’t think I fully appreciated how much time I invested in my notebook however the way I’d adapted my setup over the last year or so has made this a lot easier to deal with.&lt;/p&gt;

&lt;p&gt;Below is a breakdown of how I’ve managed this:&lt;/p&gt;

&lt;h2 id=&quot;files-and-documents&quot;&gt;Files and Documents&lt;/h2&gt;

&lt;p&gt;Ok let’s start at the beginning for general files and documents I use a variety of different tools, firstly part of my backup process included daily time machine backups and fortnightly hard drive clones of my main boot drive. All of this seems pointless after I realised I live out of my Dropbox folder, everything thats not music or photos. Other documents can be found in my Evernote or google docs which all work from any web browser.&lt;/p&gt;

&lt;h2 id=&quot;music&quot;&gt;Music&lt;/h2&gt;

&lt;p&gt;Music is my life, about a year and a half ago I decided to move to Spotify. A very smart move in hindsight, I still have 80GB of music which I continue to backup, however not easily accessing it made me realise I never use it. Everything I listen to was in Spotify, combined with last.fm which I’ve had since I started my iTunes collection I’ve scrobbeled &amp;amp; loved everything I consider important, which helps me to remember which albums and songs I truly love. All my Spotify playlists are synced and a simple login to another machine brings it all back. I simply cannot recommend Spotify enough.&lt;/p&gt;

&lt;h2 id=&quot;photos&quot;&gt;Photos&lt;/h2&gt;

&lt;p&gt;I have complete copies of my photo library on hard drive clones and time machine backups, however like the music this isn’t an issue. Although I won’t be organising photos until I get a new computer (I’m well into iPhoto), all my photos sync up to my Flickr account. All my events are sets inside of collections ready for review, simple editing if needed and all online taking up no physical storage of my own. I use an eye-fi sd card to copy all my photos up to Flickr and set them to private, I then make set the best ones to public, this way I have a backup copy of everything.&lt;/p&gt;

&lt;h2 id=&quot;code--design-work&quot;&gt;Code / Design Work&lt;/h2&gt;

&lt;p&gt;When I purchased my linode vps server a few years ago I went from keeping all my code locally to moving it all to the server and editing via SFTP over an SSH tunnel, I setup port forwarding for an internal only test web virual server and I can fire up a test web service just about anywhere I can run putty or command line ssh. I run nightly backups of all this data, the database files / web services and config via a script I wrote a few years ago these all get copied up to my dropbox for archiving.&lt;/p&gt;

&lt;h2 id=&quot;takeaway&quot;&gt;Takeaway&lt;/h2&gt;

&lt;p&gt;One quick thing to point out I only use a free Dropbox account, however I have made a lot of referrals and got my account up to 4GB.&lt;/p&gt;

&lt;p&gt;I plan to ether get a new notebook soon or get mine repaired. Either way I wanted to show how easy it is to survive this using web services while some of mine are special use cases it’s important to realise the importance of cloud services and utilise them to our advantage.&lt;/p&gt;

&lt;p&gt;I cannot wait to get the notebook thing resolved, all of this has also been made easy also with the use of my iPhone, however I doubt I could use it full time for this length of typing!&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Mac OSX Lion Using More Disk Space Than Normal?</title>
    <link href="http://davebradford.com/blog/mac-osx-lion-using-more-disk-space-than-normal/"/>
    <updated>Sat, 06 Aug 2011 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/mac-osx-lion-using-more-disk-space-than-normal</id>
    <content type="html">&lt;p&gt;Since I upgraded my MacBook to Lion (Apple's new version of OSX) I've noticed a few days ago I've been loosing hard drive space
quite rapidly? After searching around the Apple community forums I noticed a few articles which pointed toward Time Machine backups,
turns out Lion will backup using the local disk if it cannot find it's dedicated drive, a little bit of a pain. Since I'm a laptop
user I find myself away from my external drives a fair bit.&lt;/p&gt;

&lt;p&gt;There is a command you can use in the terminal to stop this from happening:&lt;/p&gt;

&lt;blockquote&gt;sudo tmutil disablelocal&lt;/blockquote&gt;

&lt;p&gt;This will completely stop Time Machine from using your local disk and return  your drive usage back to normal. Running this command
gave me 2GB of space back after a restart. It looks like this only happens on Apple portable computers.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Music Previewing Service</title>
    <link href="http://davebradford.com/blog/music-previewing-service/"/>
    <updated>Mon, 18 Jul 2011 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/music-previewing-service</id>
    <content type="html">&lt;p&gt;I've recently been trying to do something with music previews, displaying a page with a list of songs and include short music
previews for each song.&lt;/p&gt;

&lt;p&gt;After some research on Google I didn't find any services which provide anything like what I wanted. Amazon provide a &lt;a
title=&quot;Amazon Music Widget&quot; href=&quot;https://widgets.amazon.co.uk/Widget-Source/&quot;&gt;music widget thing&lt;/a&gt; which let's you build a little
bit of java script that follows a playlist but not really what I had in mind.&lt;/p&gt;

&lt;p&gt;I was surprised that this would be so difficult to find, in my head I imagined being able to provide something like the 30 second
previews Apple give you on their iTunes Store. Amazon provides similar previews which is purely a MP3 file however I don't think
it's an easy thing to go in a pull out without a bit of hacking away.&lt;/p&gt;

&lt;p&gt;Maybe the key here is not waste time building  service which provides music previews but instead build a service which offers music
previews!&lt;/p&gt;

&lt;p&gt;Am I missing something here?&lt;/p&gt;

&lt;p&gt;UPDATE:&lt;/p&gt;

&lt;p&gt;Turns out I completely missed Apple and their &lt;a title=&quot;iTunes Search API&quot;
href=&quot;http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html&quot;&gt;iTunes Search
API&lt;/a&gt;, this will return JSON formatted results and allows you to use it for pictures, video/music previews and whole lot more,
their documentation is pretty good very easy to understand and implement.&lt;/p&gt;

&lt;p&gt;For example - search iTunes store of all content by &quot;The XX&quot; would be:&lt;/p&gt;

&lt;p&gt;&lt;a title=&quot;Search for all content on iTunes by The XX&quot;
href=&quot;http://itunes.apple.com/search?term=the+xx&quot;&gt;http://itunes.apple.com/search?term=the+xx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You may then use extra terms in the url to specific media type, limit etc.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>10 Days In A Carry-On</title>
    <link href="http://davebradford.com/blog/10-days-in-a-carry-on/"/>
    <updated>Sun, 13 Mar 2011 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/10-days-in-a-carry-on</id>
    <content type="html">&lt;p&gt;Jesus.. look at that title for a post! &quot;10 days in a carry-on&quot; sounds like I had to endure 10 days in someone's hand luggage if
that where the case then it would explain the lack of posts. 10 days in a carry on is a New York Times article I really wanted to
share.&lt;/p&gt;

&lt;p&gt;It tells the story of Heather Poole, a flight attendant and how she manages to live out of her carry-on luggage for 10 days at a
time! Every time I go on holiday I do try to take less and less, try to make it to the end of the gallery it's amazing how she
manages to get all that stuff with a few simple techniques.&lt;/p&gt;

&lt;a href=&quot;http://www.nytimes.com/slideshow/2010/05/06/business/businessspecial/20100506-pack-ss.html&quot;&gt;10 Days In A Carry-On&lt;/a&gt;
</content>
  </entry>
  
  <entry>
    <title>Saving Money When Surrounded With Great Technology</title>
    <link href="http://davebradford.com/blog/saving-money-when-surrounded-with-great-technology/"/>
    <updated>Mon, 25 Oct 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/saving-money-when-surrounded-with-great-technology</id>
    <content type="html">&lt;p&gt;This morning I spent a little bit of time playing with my boss’s new iPad, a wonderful device. After looking at some photos and
browsing a few websites I found myself finding ways to fit this device into my life. No doubt if I owned an iPad I would have place
for it, however I don’t have the kind of money lying around where I could just purchase it without any finance implications.&lt;/p&gt;

&lt;p&gt;We live in a great age of technology, with so many great devices. I’ve always tried saving money where I can and apply the same
logic to every purchase I make. Following these rules makes me a better saver in a world full of great technology.&lt;/p&gt;

&lt;p&gt;The first question I ask myself is, &lt;strong&gt;&lt;em&gt;“Can I buy this out right?”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;All of my purchases, I save for and buy with cash. Saving for technology eliminates the impulse of the purchase, giving yourself
time to think about whether you really need it.&lt;/p&gt;

&lt;p&gt;Maybe it won’t take you that long to save up or maybe you have the money around to buy straight away, even so this will buy you some
time to ask yourself, &lt;strong&gt;&lt;em&gt;“Will you use this device every day?”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To make sure this is the device for you and to justify the price tag, you’ve got to say &lt;strong&gt;&lt;em&gt;“can I live without this for a
day”, &lt;/em&gt;&lt;/strong&gt;you’ll know deep inside whether you can really make do.&lt;/p&gt;

&lt;p&gt;While I really want an iPad I can certainly live without it, is there a better device on the way? Do I need a new computer before I
invest in a luxury device? Will getting into debt buying this device be worth the stress? Living without a device you’ve never had
isn’t necessarily a bad thing if it will give you more time to think about it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;“Will this make my life easier?”&lt;/em&gt;&lt;/strong&gt; years ago when I started freelance work I was working on a 5 year old
machine which was slow, underpowered and kept breaking. I knew that a new system would make working easier to help me to earn more
money, so I could justify the purchase. I hate buying new technology when I already have a working solution to the problem, if you
can say the same then you can probably wait.&lt;/p&gt;

&lt;p&gt;Most of this may seem like common sense, it’s important for me to ask myself these questions. Don’t get me wrong it’s easier to be
sucked into some of these things. Some of the above may not apply to you but it’s something I’ve been thinking about a lot recently,
the above may be a good starting point to approach technology buys.&lt;/p&gt;</content>
  </entry>
  
  <entry>
    <title>Getting Rid Of An Old Hard Drive</title>
    <link href="http://davebradford.com/blog/getting-rid-of-an-old-hard-drive/"/>
    <updated>Sun, 26 Sep 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/getting-rid-of-an-old-hard-drive</id>
    <content type="html">&lt;p&gt;Like most geeks, my house is full of old hard drives of various capacity, storage is very cheap these days. In a world where data
privacy is an ever increasing issue and money is short you might decide that one day you want to either get rid of these old drives
or sell them either over the internet or to your mate who's starting &lt;a title=&quot;Weekend Project – FreeNAS as a Home Media Server&quot;
href=&quot;http://techphooey.com/2010/07/weekend-project-freenas-as-a-home-media-server/&quot; target=&quot;_self&quot;&gt;a freenas project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Whatever you decide to do, it's important to make sure this drive leaves your procession with no possible way of accessing the old
data. Of course the best way is to completely destroy the drive physically, however we all know that most people aren't going to
bother, if you really have to pass this drive on or sell it you should at least make sure you try out DBAN to remove any traces.&lt;/p&gt;

&lt;p&gt;DBAN (Darik's Boot and Nuke) it's a boot disk which will wipe most hard drives using some hardcore data wiping technology, including
some American Department of Defence techniques to make sure your data is really gone. When you delete data from a hard drive in a
conventional way, there are still ways of recovering this data quite easily. DBAN will pass every section of the drive multiple
times to remove references to the old files, the more passes the better.&lt;/p&gt;

&lt;p&gt;Head over to the project page &lt;a href=&quot;http://www.dban.org/&quot;&gt;http://www.dban.org/&lt;/a&gt;, download the boot-able CD then burn the image
using your favourite image burning application and your ready to go.&lt;/p&gt;

&lt;p&gt;DBAN provides a few different options. I'm a massive fan of DoD 5220.22-M wipe, but it will take a little while depending on the size of 
your drive.&lt;/p&gt;

&lt;p&gt;Each option will give you an idea on the type of security you will get from the erase. This is a great tool for anyone concerned
about data piracy, which should be everyone!&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>System Serial Number In Windows</title>
    <link href="http://davebradford.com/blog/find-your-server-serial-number-quickly-script/"/>
    <updated>Wed, 15 Sep 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/find-your-server-serial-number-quickly-script</id>
    <content type="html">&lt;p&gt;A few weeks ago I was on the phone to tech support about a problematic server, the first question they asked me was, &quot;Can we have the make and serial
number of your product please sir?&quot;, &quot;ermm&quot; I replied, I guess I could have taken a look on the box for the information, however this server was 70
miles away from where I was sitting. On a Mac OSX system you can find the serial number using &quot;About My Mac&quot;, however on a Windows System this
requires a little more effort, but it is possible.&lt;/p&gt;



&lt;p&gt;This prompted me to brush off some of my VBS scripting I'd learn at college and come up with a simple solution to this problem. The answer? A script
which will pop-up your make and model number as long as you can remote to the device. I've not found a problem with this script on any Windows system
yet, this script takes advantage of WMI services from the BIOS. If you want to have a play with VBS scripting I've found Microsoft MSDN a great
resource, you can extend this script to display more information, if you wish.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa394587(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa394587(VS.85).aspx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To get the script setup and working on your machine copy and paste the code listed below into a blank text file. Save this rename to something like
&lt;em&gt;serverinfo.vbs&lt;/em&gt;, then all you will need to do is run this on the device which you need the information from, and you will will recieve a
series of popups. I was using this to dump to a text file but I found the popups easier when I need this information quickly, however this script
should have everything you need to get you started.&lt;/p&gt;

&lt;blockquote&gt; 
&lt;em&gt;strComputer = &quot;.&quot;&lt;/em&gt; 
&lt;em&gt;Set objWMIService = GetObject(&quot;winmgmts:&quot; _&lt;/em&gt; 
&lt;em&gt;&amp;amp; &quot;{impersonationLevel=impersonate}!\\&quot; &amp;amp;
strComputer &amp;amp; &quot;\root\cimv2&quot;)&lt;/em&gt;
&lt;em&gt;Set colBIOS = objWMIService.ExecQuery _&lt;/em&gt;
&lt;em&gt;(&quot;Select * from Win32_BIOS&quot;)&lt;/em&gt;
&lt;em&gt;For each objBIOS in colBIOS&lt;/em&gt;
&lt;em&gt;Wscript.Echo &quot;Got a pen ready? Make and Serial will follow.&quot;&lt;/em&gt;
&lt;em&gt;Wscript.Echo objBIOS.Manufacturer&lt;/em&gt;
&lt;em&gt;Wscript.Echo objBIOS.SerialNumber&lt;/em&gt;
&lt;em&gt;Next&lt;/em&gt;
&lt;/blockquote&gt;</content>
  </entry>
  
  <entry>
    <title>Master Gmail Shortcuts Like A Pro</title>
    <link href="http://davebradford.com/blog/master-gmail-shortcuts-like-a-pro/"/>
    <updated>Wed, 01 Sep 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/master-gmail-shortcuts-like-a-pro</id>
    <content type="html">&lt;p&gt;I rave on about Gmail to everyone I talk too, I can't explain how much Gmail has changed my life. If your just getting started and a just a little
bit geeky, then you'll want to impress your friends with super speedy like shortcut powers. It's the printable Gmail shortcuts Google forgot to make.
This will have you labeling and archiving mail in record breaking times!&lt;/p&gt;

&lt;p&gt;This has become a lovely addition office wall, although I'm waiting for a more colourful version. Maybe I'll make my own?&lt;/p&gt;

&lt;a title=&quot;Printable Gmail Shortcuts&quot; href=&quot;http://r.evhead.com/hodgepodge/gmail-shortcuts.html&quot;&gt;Printable Gmail Shortcuts&lt;/a&gt;
</content>
  </entry>
  
  <entry>
    <title>Google Custom Builds Every Server</title>
    <link href="http://davebradford.com/blog/google-custom-servers/"/>
    <updated>Wed, 28 Jul 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/google-custom-servers</id>
    <content type="html">&lt;p&gt;Over the past couple of weeks, I've completely moved techphooey from a Server in my bedroom to a full blown dedicated server in a data centre. After
finishing a lot of research I discovered something which I completed missed early last year. Google announced that their secret server sause is a
custom built server infrastructure. In the days when Google was first starting out, money was short and performance was key. The idea of building
your own servers saves a lot of money, racks and racks of bare bone servers are easier to manage and easier to fix. These units are so exposed it
looks like something you would find in a bedroom startup, which is exactly how Google started out.&lt;/p&gt;

&lt;p&gt;The biggest suprise for me was the way Google handles backup power. &lt;em&gt;&quot;each server has its own 12-volt battery to supply power if there's a problem
with the main source of electricity. The company also revealed for the first time that since 2005, its data centers have been composed of standard
shipping containers--each with 1,160 servers and a power consumption that can reach 250 kilowatts&quot;. &lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It's good to see such an efficient use of resources. The full article is a great read over at CNET.&lt;/p&gt;

&lt;a title=&quot;Google's Custom Servers Revealed&quot; href=&quot;http://news.cnet.com/8301-1001_3-10209580-92.html&quot; target=&quot;_self&quot;&gt;Google Custom Servers&lt;/a&gt;</content>
  </entry>
  
  <entry>
    <title>Replace Yourself with a Small Shell Script</title>
    <link href="http://davebradford.com/blog/replace-yourself-with-a-small-shell-script/"/>
    <updated>Mon, 26 Jul 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/replace-yourself-with-a-small-shell-script</id>
    <content type="html">&lt;p&gt;A very geek post to start this week.&lt;/p&gt;

&lt;p&gt;Hilary Mason is a computer science professor, a very interesting character. At IgniteNYC she gave a 5 minute talk on replacing yourself with a small
shell script to simplify your life.&lt;/p&gt;

&lt;p&gt;She ponders the idea that boring e-mail tasks like follow ups should be automated, humans are humans, and we forget things. I love the idea that a
shell script can handle all the day to day functions we find so boring. Hilary is a true geek, please be warned, but she may be the next person to
make your life easier.&lt;/p&gt;

&lt;a title=&quot;Hilary Mason - Science Geek&quot; href=&quot;http://www.hilarymason.com/blog/ignitenyc-how-to-replace-yourself-with-a-very-small-shell-script/&quot;
target=&quot;_self&quot;&gt;Hilary Mason - Replace yourself with a small shell script&lt;/a&gt;
</content>
  </entry>
  
  <entry>
    <title>Better troubleshooting for Mac OSX</title>
    <link href="http://davebradford.com/blog/better-troubleshooting-for-mac-osx/"/>
    <updated>Mon, 19 Jul 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/better-troubleshooting-for-mac-osx</id>
    <content type="html">&lt;p&gt;After some issues this weekend, I've was forced to troubleshoot a Mac. However, with Apples proprietary hardware and without the POST information
from a PC it can prove rather difficult.&lt;/p&gt;

&lt;p&gt;So after a little late night Googling, this is what I found, a great little utility called AppleJack.&lt;/p&gt;

&lt;blockquote&gt;AppleJack is a user friendly troubleshooting assistant for Mac OS X. With AppleJack you can troubleshoot a computer even if you can't
load the GUI, or don't have a startup CD handy. AppleJack runs in Single User Mode and is menu-based for ease of use.&lt;/blockquote&gt;

&lt;p&gt;And my does this work! After installing you can after a restart &lt;em&gt;Command - S &lt;/em&gt;and simply type &lt;em&gt;applejack &lt;/em&gt;when you hit the command
line to reach the diagnostics menu. Just a few seconds to install is all you need and this may just save your bacon! Follow the link below for the
install guide and the AppleJack project page.&lt;/p&gt;

&lt;a title=&quot;AppleJack Project&quot; href=&quot;http://applejack.sourceforge.net/&quot; target=&quot;_self&quot;&gt;AppleJack Project&lt;/a&gt;
</content>
  </entry>
  
  <entry>
    <title>Ubuntu 10.04 - What to do next..</title>
    <link href="http://davebradford.com/blog/ubuntu-10-04-what-to-do-next/"/>
    <updated>Sun, 27 Jun 2010 00:00:00 +0000</updated>
    <id>http://davebradford.com/blog/ubuntu-10-04-what-to-do-next</id>
    <content type="html">&lt;p&gt;Someone asked me today, I've installed Ubuntu 10.04, is there anything else I need to do? I somehow manage to end up building a new Ubuntu based
machine almost every week, and managed to memorise my perfect setup. This is by no means a must do, but something to think about. A few of these will
help your security but others might just enhance the experience. I'm going to be coming at these at more of a desktop angle, I shall prepare an
Ubuntu Server list very soon.&lt;/p&gt;

&lt;h2&gt;Enable 3D desktop effects&lt;/h2&gt;

&lt;p&gt;If your a desktop user and you have a nice graphics card this is a must. In my office we call this &quot;jelly windows&quot;, but it's more than that. If
you've got the graphics power then you'll be a fool not to turn on the advanced desktop features in the Appearance Preference.&lt;/p&gt;

&lt;h2&gt;Setup missing codecs&lt;/h2&gt;

&lt;p&gt;Ubuntu 10.04 comes bundled with a few different media players, but these aren't very good if you don't have the codecs to play those songs you
purchased from Amazon on your Windows install, luckily if your using Ubuntu to look at this post right now just click &lt;a title=&quot;Install Ubuntu
Codecs&quot; href=&quot;apt:ubuntu-restricted-extras&quot; target=&quot;_self&quot;&gt;here&lt;/a&gt; and these packages will install using APT (ubuntu's built in software manager)
Simple huh?&lt;/p&gt;

&lt;h2&gt;Install Webmin&lt;/h2&gt;

&lt;p&gt;While your finding your way around Ubuntu you might fun simple utilities missing which you used everyday on other operating systems, there is a good
chance these features are there. During this transion period I used Webmin, which is a web based service which lets you do pretty much anything on
your new Ubuntu install remotely via a website, the main perpose of Webmin is clearly for remote admin, But if your into your Linux and you know your
way around a little give this a shot, it's a simple deb install from Webmins site. Just download and double click to install the package.&lt;/p&gt;

&lt;h2&gt;UbuntuOne&lt;/h2&gt;

&lt;p&gt;I'm a massive dropbox user, and since signing up I've ditched my pendrive. As I also use a Mac I was getting messages almost monthly about signing up
for the MobileMe account, but resisted because of the yearly cost. Ubuntu 10.04 has a built in option called Ubuntu Once, which once you've signed up
will give you 2GB of free storage to play with. You can also tie this into your firefox bookmarks, contacts, notes, calendar items, etc, on every
Ubuntu machine you own. Nice.&lt;/p&gt;

&lt;h2&gt;Visit UbuntuGuide.org&lt;/h2&gt;

&lt;a title=&quot;UbuntuGuide.org&quot; href=&quot;http://ubuntuguide.org/&quot;&gt;UbuntuGuide.org&lt;/a&gt; is an awesome guide to all things
Ubuntu. Almost everything you need to trick out your new Ubuntu location is included there!



Happy Ubuntu'ing!
</content>
  </entry>
  
</feed>