Categories
Linux Operating Systems Raspberry Pi

Changing the hostname on your raspberry pi

By default, the hostname on a raspberry pi installation will be “raspberrypi”, which is great if you just have the one pi. If you’ve got more than one, then you’re going to get hostname conflicts when you attach both to your network. Fortunately its easy to correct this. Plug the pi that you want to […]

Categories
Mac OS X Operating Systems

Installing a new Java JDK on a Mac

Updating Java on a Mac is easy, it’s just a case of installing a new JDK and recreating the symbolic link that is used to point to the current JDK. Download the Java .dmg for mac from the Oracle website, then run through the installer. That will install Java for you, but your default Java […]

Categories
Mac OS X

Stop Mac OS X creating hidden files when using the tar command

Last week I found something quite frustrating with the tar command on Mac OS X, it likes to put hidden files into archives when you tar them up, it doesn’t give you any warning, just does it. Creating a tar, and then having a look at its contents, you’ll see something like this : Notice […]

Categories
Linux Subversion

Recursively deleting .svn directories

Messing around with your subversion directories and fed up of the .svn hidden folders laying around? If you try and checkin some directories that contain a .svn folder from some other repository, you’re going to have a whole world of pain trying to fix it (speaking from first hand experience here) The easiest way to […]

Categories
Mac OS X

How to show hidden files in the Mac OS Finder

Frustrated, that I recently couldn’t find my maven settings.xml file because the Mac OS X Finder doesn’t show hidden files by default, I found that the following can correct that Open a terminal Type this : defaults write com.apple.finder AppleShowAllFiles TRUE Kill any open finder sessions by typing (note the capital F) : killall Finder […]

Categories
Linux

Using special characters in a linux sed command without having to escaping them

I came across a brilliant little feature of the linux sed command today that I wasn’t aware of, and thought it was well worth posting up about. I’d been using sed statements inside a bash script, to trawl through property files and replace values, these were all alphanumeric values so I didn’t have any problems […]

Categories
Android Certification Google App Engine Java Linux

Top 10 Techie things I want to achieve in 2012

I’m not the type of person that gets bored easily, I’ve always got many things to keep me amused, mostly side projects at home. I’m a firm believer, that if you don’t set yourself goals in the first place, then you won’t have anything to fail to achieve, so I’ve set myself a list of […]

Categories
Linux

FTP: How to download all files, directories and sub-directories

I’ve recently decided to cancel my hosting package with 1and1, as I don’t really have much use for it any more what with all the freebies Google is dishing out. I needed to take a backup of all my files, and unfortunately mget doesn’t (or at least at the time) doesn’t support the downloading of […]

Categories
Linux

Slackware 13.0 Installation : Part 1, pre-install

Slackware, which I like to refer to as “proper linux”, theres no messing around with fancy wizards, this is hardcore linux; and a good cure for insomnia (second to Linux From Scratch that is) This should help you get Slackware 13 installed, I did all of this using Virtual Box so make sure you have […]

Categories
Linux

Linux from Scratch, an Intro

So, I’ve decided to have a go at linux from scratch, which should satisfy a good headache for the next year or so, possibly longer. Checkout : linuxfromscratch.org Or have a quick read of the Wiki entry At this moment, I’m not quite sure as to what I’ll tailor my distro to, possibly gaming or […]