Posted 1 week ago

Set your screensaver as background in OSX

Have you ever wanted to set a screensaver as your desktop background? Well that’s a horrible idea for more reasons than I care to list. However, it turns out that it’s perfectly possible. Just use the following command in Terminal:

Posted 2 months ago

Rest In Peace - Ronnie James Dio passed away at 7:45am 16th May 2010.

Posted 2 months ago

Google Analytics with new features

The latest version of the Analytics tracking code offers an improved way to track website visitors with Google Analytics. It takes advantage of browser support for asynchronous JavaScript to enhance the speed in which the tracking code is loaded. With this version of the tracking code, you can also place the Analytics snippet higher in the page without delaying subsequent content from rendering.

1. Place the code as the last bit of the <head> section of your page
2. Modify the UA-XXXXX-X with your key.

Posted 2 months ago
Posted 3 months ago

How to calculate date quarter in php

Posted 3 months ago

Stromae - Alors on Dance

Fantastic french tune, first spotted in Unga Bunga a few weeks ago.

Posted 3 months ago

OSX Tip: Use Console.app to view cusom log files

I have been using my terminal to watch apache/php log files, but found out that the OSX app Console.app can do the work for you.

The app is really missing the feature to add new log files, but there’s a few workarounds.

First workaround

1. Start your Terminal.app
2. ln -s ~/Library/log/Apache /path/to/logfiles/
3. Open Console.app
4. And you can see an “Apache” folder with the containing log files

Second workaround

1. Start your Terminal.app
2. open -a Console /path/to/logfile.log

Woila

Posted 3 months ago

Making the switch

I’ve flirted with Tumblr for a while now and my WordPress have been updated too little. In an attempt to get blogging again, I’m making the switch.

Posted 3 months ago

Forgot all about Nitzer Ebb, thanks YouTube. Running into iTunes store

Posted 3 months ago

Customize file input field via css