Coding

Floating Trump Balloon!

I’m working on a ‘Floating Trump Blimp’ javascript thing for WordPress using jqFloat and jQuery. Although I have never written anything for wordpress at all in my life apart from borderline crap content, but here it is in its infinite glory: It’s a simple affair- Include jqFloat.js (found at http://www.inwebson.com/jquery/jqfloat-js-a-floating-effect-with-jquery/) after Read more…

By andy, ago
Miscellaneous

The Craziness of the Brain

The brain is an amazing thing, and recently on Twitter, I read about how the brain does something really clever in the tiny bit of time when you move them. When we move them in short fast bursts (which are called saccades), our vision goes all blurry, which is not Read more…

By andy, ago
code

PHP Error Reporting

If PHP is not reporting errors within an application (say for example a built-in error handler, or suppression), the following can be added to Apache’s vhost file: php_admin_value error_reporting 6135 php_admin_value display_errors 1 However, if you do not have access to the vhost, the following lines can be added to Read more…

By andy, ago
Linux

Extracting a table from a gzipped SQL Dump

The following snippet can be used to extract a table from a MySQL backup file created with mysqldump. It is ideal when working with massive databases, and is something I use once in a while myself. zcat backupfilename.sql.gz | sed -n -e '/CREATE TABLE.*`tableToRecover`/,/CREATE TABLE/p' > tableToRecover.sql If you wish Read more…

By andy, ago
Food

Chia Seeds and Chia Pudding

Chia Seeds are an edible seed that comes from the desert plant Salvia Hispanica, grown in Mexico dating back to Mayan and Aztec cultures. Years ago, Chia seeds were used in novelty items  to grow as hair (called Chia Pets), but now they are touted as being an excellent source of Fibre, Calcuim, Read more…

By andy, ago
Photography

The moon

I had a go at photographing the moon. It’s 1am, my neighbours have gone to bed, and I stood in my car park with my tripod, and tried many different shutter speeds with a low ISO setting to get as much of a clear picture of the moon as I Read more…

By andy, ago
Photography

The Woman in the Garden

I’ve not been one for taking portrait shots, but when I was at Coughton Hall, We found this statue, so I thought i’d give it a go. Given the chance to re-take this photo, I think I would have taken this with a shallower field of depth, blurring out the Read more…

By andy, ago
Photography

Coughton Hall

I visited Coughton Hall with family today, and since it was the first time I visited a National Trust location, I was shocked at the entrance fee, compared to what it offered. Perhaps it’s suited more for the older generations, I do not know. However, it was quite interesting. I Read more…

By andy, ago