Archive for the ‘Snippet’ category

Snippet: Business Cards Ordered

February 16th, 2008

Well, I’ve just placed my first order of business cards for myself via VistaPrint. I’m getting 500 business cards on 265g/m2 card with colour front, black/greyscale back and 7 days shipping for a total of £28.84 (the shipping alone was £9). I hope I manage to use them all and the business takes off!

Net: Code Snippets for web designers

May 17th, 2007

Another quick snippet for today as I’m quite busy – in fact take 25 code snippets for web designers (including Bubble Tool Tips, Box Overs, Ajax Star rating bar, CSS Star Rating Redux, Ajax Contact Form, an online form creation utility called Wufoo, Pretty Accessible Forms, Radio and Checkbox customisations, a text renderer thingy, revised image replacement, the obligatory CSS rounded corners, cool looking CSS Speech Bubbles, even more rounded corners, vertical bar graphs just using CSS and PHP (and another method), a hover light box, Lightbox JS, CSS Image Maps, CSS Image Pop-up, Sliding Doors CSS Navigation tabs, taming lists, a design experiement in the art of navigation, navigation matrix reloaded, light weight css tabs and accessible image tab roll overs.

Phew – so much for this being a snippet on its own!

Techy Snippet: MySQL Database Schema Dump

May 17th, 2007

To extract/export just the schema/design/create tables section of a MySQL table via the command line, you need to use a command such as:

mysqldump –no-data [databasename] [optional table name] -u[user name] -p > extract.sql
(enter the [username] mysql user password)

To import it again, use:

mysql -u [username] -p [databasename] < extract.sql

See also: MySQL Docs: MySQLDump.

Snippet: Brrr(!)

December 31st, 2003

I’ve just found out why I’ve been so cold the last week (mainly staying in bed wrapped up until midday, returning to bed at 6pm and just popping out of bed to change the “tape” of the film(s) I’m watching). Even though I was increasing the central heating temperature to 30degrees (celsius), I was still cold. Why?

The blinking boiler had packed up!

Yep – end of December, middle of Winter and my boiler’s been broken for a week and I just hadn’t noticed? No heating or hot water for a whole week! How come I hadn’t noticed the lack of hot water? Well, I’ve had the washing machine (which has a heater) and the dish washer (which also has a heater) running quite a bit so I just assumed they had taken all the hot water. D’oh!

Luckily, it was just a case of: remove the cover of the boiler, remove the metal safety cover, restart the boiler flick the fan with my finger: as it was the fan/pump that had stopped, let it run and then oil it. Watch for a bit then seal the beast back up. The radiators are beginning to feel warm and I should be able to have a nice HOT relaxing bath before I decide what to do regarding New Years Eve….

Snippet: Merry Christmas Everyone!

December 25th, 2003

Merry Christmas to everybody!

Now drag yourself away from the computer and spend time with your friends and family over the festive period! I am!

gamy-dance