-
-
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
Author Archives: Craig Lotter
Ubuntu: How to Create a MySQL User Account via the Terminal
To create a user account from a MySQL server instance, we need to make use of a CREATE USER call to the mysql.user table. Continue reading
Posted in MySQL, Tutorials, Ubuntu Tagged add user, create user, mysql, terminal, Ubuntu, user account View Comments
Display Embedded Photo EXIF data with PHP
Most digital cameras add EXIF (Exchangeable image file format) data to photos captured nowadays, embedding information like camera type, settings, timestamps, etc. into the captured file itself, and in the process creating a host of quite important (to enthusiasts anyway) bits of meta information in the process. Continue reading
Ubuntu: How to Show MySQL User Accounts via the Terminal
To get a list of user accounts on a MySQL server instance, we need to make a SELECT call to the mysql.user table. Continue reading
SQL: Toggle 1 and 0 Value in an Update SQL Statement
I tend to use a lot of tinyint columns as controllers for my database-held objects, usually sticking to the convention of 1 means on and 0 means off. In other words, the perfect target for a SQL toggle statement! Continue reading
Internet Explorer (IE) and the Cached .js File
Internet Explorer and pretty much all other modern web browsers make use of silent caching in order to streamline user experience. Of course, caching is a marvellous tool when needed, but also a frustrating one when you don’t want it turned on. Enter the humble .js javascript include file. Now IE likes to cache javascript .js file includes, but unfortunately unlike normal web pages, getting it to refresh its cached copy can sometime prove to be quite difficult to achieve.
Continue reading
Posted in Tutorials Tagged .js, cache, force refresh, ie, internet explorer, javascript View Comments
« Navigation »