Snipplet: PHP logging

I use this script often to debug my php applications & scripts where console output/ web browser output can’t be done (like debugging ajax signals). This logging function has the following features: Custom log location: define the relative path for your logfile. Make sure the path is writable for the webserver user (under ubuntu this [...]

The Magic Mouse under Ubuntu [update]

I recently bought myself a magic mouse. In the first place to use it with my MacBook Air (such a sweet laptop!) but why shouldn’t I use it on my ubuntu pc?

Handbrake Server – Development

What the hell is Handrbrake Server ? Handbrake server wants to be a server version of the popular Handbrake application for video conversion. It allows to read video files from shares or uploaded files and converts these files to itunes compatible formats for you to enjoy. But why? Because there is a need for this. [...]

The Ultimate Terminator config

install proftpd with web ui on ubuntu 10.04

Last night I was searching around for a good ftp server with good access control,quota support and logging and stumbled upon ProFTPD. ProFTPD is a advanced ftp server that is extendible with modules and the config is pretty straight  forward (markup us equal to that from apache.conf). I also found a good web ui for [...]

Ney year, new projects!

First of all, Happy freakin’ new year! I hope that 2011 as some awesome suprises for you,a good health, and other stuff you’re wishing for Second, For this new year i’ve got some new years resolutions I would like to talk about.

Quickly obtain your public IP

Whenever I’m at a customer for work, I sometimes need to know the public ip. I always went with a browser to checkip.dyndns.org to get the current public ip of the customer. lauching the browser, typing in the website url.. takes time. I always have my terminal window open, so I tought, can’t we script [...]

Introducing IsoHunt Mobile, a PoC [Update]

Whenever I need do download a torrent, I go to isohunt. Isohunt is a torrent site that catalogs a wide range of torrent sites all in one place. And they have a public API. Also, I’ve always wanted to test out jQuery Mobile, It’s a universal theming/javascript platform/class that works with a wide range of [...]

Linux: Ping a mac address

Ever got into the situation where you’ve only got a mac address from a device and wanted to know what his ip is, or if it’s reachable? Example: I’ve placed an access point in a cisco catalyst switch. I want to know which ip it has. So i pull up the mac address-table on the [...]

Explaining the usage advantages of json

For some time now, json has become a standard “protocol” that allows php and javascript to communicate between each other. (and the other way around). But what is json? from the site http://www.json.org : JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy [...]