RSS Feed

Category Archives: Quick tips

Quick tips and notes that may be useful

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 3 of 3123