-
-
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.
-
Rugged Rock Studio
- CodeUnit Collections
- Funakoshi Karate International South Africa
- Rugged Rock Studio: The Portfolio of Craig Lotter
- The Codeunit of Craig
- The House of C
- The Rugged Rock of Craig
Tag Archives: convert
jQuery Color Picker Plugin: Convert RGB to HEX
I’ve written on the excellent jQuery Color Picker plugin from eyecon.ro before, but a question was recently raised on how to use its RGB output in code. Well actually it turns out that most browsers return its value as a standard HEX color value, but one browser in particular (and I’m not naming names here but it is the one who everyone who think themselves better than the average home user seems to love) returns the value as a RGB color string. Continue reading
Posted in Technology & Code, Tutorials Tagged color picker, convert, hex, jQuery, plugin, rgb View Comments
Convert FireFox Color rgb(xxx,yyy,zzz) to Hex
Firefox has a nasty habit of returning element background colors and colors in general in the format rgb(xxx,yyy,zzz) as opposed to the normal #xxyyzz. Continue reading
Posted in Technology & Code, Tutorials Tagged color, convert, firefox, hex, javascript, jQuery, rgb, rgb(xxx, yyy, zzz) View Comments
How to Convert an UTF-16 File to an UTF-8 file using PHP
Taking Andrew Walker’s previously mentioned handy little UTF-16 to UTF-8 string converter function, we now have in our means a particularly easy way in which to craft a simple UTF-16 to UTF-8 file converter. Continue reading
Posted in Technology & Code, Tutorials Tagged andrew walker, convert, encoding, file convert, PHP, string, string encoding, utf-16, utf-8 View Comments
PHP: Convert a UTF-16 String to a UTF-8 String
Andrew Walker crafted this handy little PHP function which can convert a UTF-16 encoded string into a more PHP-friendly UTF-8 encoded string. Continue reading
Posted in Technology & Code Tagged andrew walker, byte order mark, convert, function, PHP, string, utf-16, utf-8 View Comments
How to Convert a Webpage to a PDF
Saving a web page to a PDF file for later offline viewing has just become a whole lot simpler thanks to the excellent pdfmyurl.com web service that aims to convert any URL you feed it into a downloadable PDF file. Continue reading