Time saving tricks with svn and grep

SubVersionWe’ve all been there, you’re working on a project with lots of externals and we see a lot of noise when you run svn status or svn st (depending on your preference). Most of the time we just filter that out, but I decided to string a few grep statements together to make the output that little bit nicer to read.

Continue reading Time saving tricks with svn and grep

Marking files so that the root user cannot change them

I was having a discussion with one of the SysAdmins at work yesterday and we were talking about a system we use called puppet. I wanted to know if there was a way of making changes to one of the files currently under the control of puppet for testing purposes without stopping the puppet daemon. He pointed me in the direction of of the chattr and lsattr binaries.

These binaries allow you to mark any file on the machine as immutable or list the immutable status. If a file becomes immutable it means that not even root can delete or modify the file unless it removes the immutable flag first.

Continue reading Marking files so that the root user cannot change them

Tricks with SVN and Brace Expansion

SubVersionThere are loads of little tips and tricks out there on how to make your svn operations a little easier. One which I found out recently was how to leverage bash’s brace expansion to reduce key strokes.

Brace expansion definition

This powerful feature makes svn diff commands a lot easier.

Continue reading Tricks with SVN and Brace Expansion

iTerm2 – the new alternative to Terminal for Mac OS

Almost all command line users on Mac should be familiar with iTerm – which is a free replacement to the standard terminal application. However this tool now has a big brother in the pipeline called iTerm2.

iTerm2 is a fork of the original iTerm project and for most part, they are the same, but iTerm2 has a considerable number of improvements over it’s predecessor.

Continue reading iTerm2 – the new alternative to Terminal for Mac OS

Ignore whitespace in a Subversion diff

SubVersion It’s a common problem developers face – how can I see just the changes that have been made and ignore all the line ending changes? This tends to happen when you have members of your team committing changes when they have checked out the code onto different operating systems, be it Windows, Mac of Linux.

svn diff doesn’t really have a built in option for ignoring whitespace, but gnu diff does, and it is possible to use it within an svn diff command by using –diff-cmd

Continue reading Ignore whitespace in a Subversion diff

Pure CSS Icons (animated 3D Super Mario and IE Logo)

This morning I discovered that Andreas Jacob had created a childhood classic in CSS3. He’s created a CSS3 version of Mario from the days of the NES and 8-bit gaming.

In most CSS3 capable browsers the image renders in 2D however in Chrome 9 the image renders in 3D and rotates. Which is very cool. For the best effect I’d recommend you view the source link below in the latest version of Chrome. Firefox 3.6, Opera 10.6 & IE9 are not supported.

Continue reading Pure CSS Icons (animated 3D Super Mario and IE Logo)

Adobe demo new tool which can convert Flash into HTML5

Adobe’s John Nack showed off a new tool at Adobe’s MAX 2010 conference this week which allows developers to convert Flash projects into a combination of HTML5 and non-Flash based code. There has been no official word if the tool will become part of the next Adobe publishing suite or toolset, but is this the end of Flash? It does appear that Adobe are turning to non-Flash based code for devices that cannot support Flash (such as Apple iPhone, iPad and iPod touch).

Continue reading Adobe demo new tool which can convert Flash into HTML5

Amazon Cloud Services introduce Free Tier in November

Amazon has announced that as of November 1st usage of their Cloud Services will be free (Terms and Conditions)

So if you want to learn more about Cloud Services and Applications why not give the system a go. All you’ll need is a valid credit card to sign up. This will then be charged if you exceed the monthly ‘Free’ usage policy at any point. Continue reading Amazon Cloud Services introduce Free Tier in November

Michael Owen Online relaunch

Michael Owen OnlineThe DNS has migrated and the new code is online. The new version of Michael Owen Online has gone up with almost no problems. The only issues that were seen were 2 HTML files Google Webmaster tools looks for to prove you own the website, and a collection of wordpress URLs which were not identified and 301’d when the new code went up. As re-launch issues go they were pretty minor. Continue reading Michael Owen Online relaunch