What, who, where am I?!?
Craig Lotter is a web developer based in Gordon's Bay, South Africa, who seems completely incapable of shaking off that pesky inner child within, the one that forces him to love all things animated or hand drawn.
The Rugged Rock of Craig contains snippets of his life, popular culture and all the important things like anime, manga, games and comic books. The CodeUnit of Craig on the other hand contains the more serious stuff like code snippets and tutorials, while the House of C chronicles his foray into the world of web comics.
For which it never seems he has enough time anyway.
CodeUnit Post Archive
Rugged Rock Studio
Tag Archives: windows
Windows Keyboard Shortcut: Quick, Launch the Task Manager!

Here’s a nifty Windows keyboard shortcut which I was not aware of until recently. My version of Vista tends to freeze a lot, meaning a lot of sluggish trips through to the Open Task Manager button on the Control+Alt+Delete screen. … Continue reading
Posted in Tutorials, Windows
Tagged ctrl, esc, keyboard, keyboard shortcut, shift, shortcut, task manager, tip, windows
Leave a comment
PHP: Handle Microsoft Windows Smart Quotes in Your Strings
Microsoft Word likes converting single and double quotes into it’s so-called smart quotes representation, which can be annoying when you are trying to display the string on a device that doesn’t support smart quotes (the curly ones in case you were wondering). The easiest way to clean out these curly smart or fancy quotes is to run a simple search and replace on your string:
Continue reading
Posted in PHP
Tagged character encoding, fancy quotes, microsoft windows, PHP, smart quotes, special characters, string replace, str_replace, windows, windows character
Leave a comment
PHP: How to Gracefully deal with some Microsoft Windows Special Characters
Although Microsoft Windows smart quotes are the usual culprits for web developers who need to display strings on devices powered by operating systems other than Windows, there are in fact a number of other Windows-only special characters that can potentially rear their heads every now and then. Continue reading
Posted in PHP
Tagged character encoding, microsoft windows, PHP, smart quotes, special characters, string replace, str_replace, windows, windows character
2 Comments
Windows: ‘ipconfig’ is not Recognised as an Internal or External Command
If on opening a command line prompt and trying to run something like ipconfig or ping, you receive an error message reading something like ‘ipconfig’ is not recognised as an internal or external command, chances are pretty good that you somehow messed up your PATH system environment variable. Continue reading







