Tag Archives: Tip

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 …

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, …

Posted in Linux

Reverse-I-Search

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 …

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 …

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 2 of 212