RSS Feed

5 Twitter users worth a mention (Web development and techy)

I fancied mentioning some users I follow on Twitter, not because they’re at all special (Well, some may be) but because they have either helped or entertained me, whether formally or informally. Keeping this post in line with the users are of the web development and technology genre.

Posted in Reviews

List the last 10 files in a directory and order

Listing of files is a common procedure day in day out when on the command line and more often than not you will want to list the last X amount of files. Doing so is pretty simple:

ls -ltr | head -n 10

Posted in Linux

Know when to use double quotes

PHP is a great server side language to get into however more often than not developers are not aware of performance issues in their code. One issue is the use of double quotes for all string variables.

While this is OK in principle it’s worth remembering double quotes take longer to process than single quotes – so use single quotes when double quotes are not needed.

Posted in PHP

How to clear your DNS cache on OS X

When a DNS change has occurred on your network, unlike what seems to be believed, you do not need to reboot your Mac.

Posted in Mac OS X

Performance tip: Keep your desktop clean

If you’re having some performance issues with your Mac it’s worth cleaning your desktop.

OSX redraws icons on your desktop whenever they’re in preview, this takes processing time and results in a slower system so remove them from your desktop.

Posted in Mac OS X

How to find the version of Ubuntu

Our network mainly runs on Ubuntu servers, especially for development. When trying to fix an issue or do an update I often need to know the version of Ubuntu installed on the server. Thankfully this is an extremely easy task, once you know where to look.

Posted in Linux

3 useful sources for web development and web apps

Every day I visit a series of blogs and other resource sites that help me get through my day. As a thank you to the owners and writers I thought I’d write a little about some of the sites that have been useful to me today.

This blog is one of the first sites I hit every morning. The blog gives great information about “the Best Open Source Resources for Web Developers”, as stated by their slogan, and they’re not lying!

Posted in Reviews


Being a command line junkie I am always looking at ways to make my life easier and for that to happen I need to be able to do things faster. As a result I thought it worth while mentioning CTRL+R on the command line, also known as reverse-i-search.

Posted in Linux

Sudo !!

Do you ever find yourself writing commands that can only be ran as root without being the root user or prepending the command with sudo? It’s annoying isn’t it!

Well there is a way to run the command through sudo without having to rewrite or prepend the command with sudo.

Posted in Linux

PHP: fgetcsv(), fgets() and file() line ending detection issues

Having problems with fgetcsv(), fgets() or file() incorrectly detecting line endings? Not a problem!

Depending on the operating system in which the file was created the line endings tend to be different:

Linux: \n
OS X: \n
Windows: \r\n

Posted in PHP
Page 7 of 8« First...45678