Grabbing the MAC address on RHEL

At work I deploy Red Hat Enterprise Linux VMs, for a variety of reasons, mostly by hand. One of the steps I loath is setting up the network, it’s almost the only thing that truly requires manually tapping each character out. I have, however, learnt this bash one-liner such that I type it out without thinking: Simply replace “eth0” with whatever interface you want the MAC address from and redirect it into the relevant ifcfg- file, edit said file with your favourite editor and prepend “HWADDR=” to the line with the MAC address on. Read On →

3rd Party iCloud Apps?

At home I use an iMac. When I’m away from my desk I use an iPhone 6. At work, I’m forced to deal with Windows (though use Linux/BSD VMs where possible). I have a lot of software on my Mac, a number of apps are “document based” though manage those document internally. Some of these apps talk really nicely across many of the platforms I use (e.g. Evernote), other software works incredibly well within the Apple ecosystem (e. Read On →

File Recovery

Over the past few years I’ve needed to recover files from various USB sticks and SD cards using my Mac. I’ve recently needed to do this again, and every time I’m asked I always forget the application I use! So I’m created a blog post so it’s easy to search for! The application I use is TestDisk. It’s a command line application and can recover files from a number of different file systems. Read On →

DeGoogling my life

I have mixed feelings about Google. On the one hand their search engine is next to ubiquitous, most browsers come with it as the default, and they also have some pretty excellent services. On the other hand, and perhaps this is my Apple synapse firing, I see them as a new enemy, and one that isn’t doing much to try and win me over. In the past few years a few Google services that I have used (and some that I didn’t) have been axed. Read On →

My frequently used bash commands histogram

Taken from Small Labs Inc., here’s a histogram of my most used commands: cd 289 ############################################################ ls 282 ########################################################### git 158 ################################# hi 76 ################ vim 75 ################ for 72 ############### ssh 70 ############### sudo 52 ########### java 48 ########## rm 46 ########## cat 38 ######## brew 38 ######## man 35 ######## less 34 ######## find 26 ###### scp 23 ##### ps 23 ##### “hi 17 #### lorem 16 #### top 13 ### Have a try at making your own with the code from the Small Labs Inc. Read On →

An eight year old laptop

Technology moves so fast, doesn’t it? I mean who would want such a battered looking laptop? It doesn’t look like much, does it? This first generation MacBook has been in my possession for eight years today. Setting me back just a little over £900 at the time for 1GB RAM, a dual core (32-bit) CPU running at 2GHz, and OS X 10.4 Tiger. I bought the MacBook for two main reasons Read On →

Throw off the dust covers!

Sunday, 11 May 2014 11:30:53 · 1 minute read · Comments · General
Well it’s been a long time since I’ve been here. After a quick update it all looks very shiny again. What happened to 2013!? Mostly full of work, friends, and reading in the ruins of Aberystwyth castle. Since the last post in 2012, I have moved from Aberystwyth to Frome in Somerset. I no longer work with ERTMS, or indeed on the railway at all, for the last month and a half I have been an employee at Ntegra where I have been working with one of their clients to configure many virtual machines running Red Hat Enterprise Linux. Read On →

How many railway sleepers are there in the UK?

Saturday, 27 Oct 2012 19:23:15 · 2 minute read · Comments
Railway / sleepers / impossible questions · Trains
A few of weeks ago, I was sitting in a local café with my good friend Adam Blackburn. I can’t quite recall how we got onto the topic, but Adam turned to me and asked “How many sleepers are there in the UK?”, not being able to tell him, he decided it would be my ‘homework’. We laughed about it a bit, and somewhat forgot about it, but I was left pondering. Read On →

Looking forward at iOS hardware

Saturday, 21 Jul 2012 15:47:14 · 2 minute read · Comments · iPad / iPhone / iOS
Over the last five years the iPhone has gone through numerous designs, both physical design and hardware design. Here is a quick look at the specs of each iDevice (Note that the iPhone CPUs are underclocked): [table id=5 /] So, what can we draw from that? My guess is that we need to establish whether the iPad or the iPhone is Apple’s lead device. Although the iPhone was launched first, it has recently been revealed that the iPad was conceived earlier. Read On →

Looking forward at Mac hardware

Thursday, 19 Jul 2012 18:19:47 · 3 minute read · Comments
Apple / Mac / macbook / imac / Retina / Mac Mini / MacBook Air / MacBook Pro / Hardware · Mac Hardware
Last month at WWDC, Apple announced a new MacBook: The MacBook Pro with Retina display. Specs can be found in my WWDC 2012 post or on the Apple Specs page. But what could we broadly expect Apple’s behaviour on future Mac hardware design to be? Until recently, Apple’s portable range have been mostly like other laptops. Open them up by unscrewing screws and unclasping plastic clips. Inside you’d find the battery, hard drive, optical drive, and logic board. Read On →