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 [...]
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 [...]
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 [...]
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 [...]
In a way of celebrating the 1 year development of subutux-cli, i’ve posted the code @ gitorious.
@ home I’ve transmission-daemon running. Created my own settings.json file and altered the default configs to make it work my way. After an update, transmission-daemon wouldn’t accept my configuration.. Partly ..In some (freaky) way, the update script altered my configuration and changed my default download directory and some other stuff (like authentication for rpc is [...]
For my new projects (like MyCloud) I needed a way to securly transfer my json codes from js to php and back. Why you say?
Wanted to demo something or just test Nagios? Here is a plugin written in php (so you need the package php5-cli) that ‘checks’ the values written in an ini file. View the source for more information and functionality New Version! New Function! Oelala!
The following function checks if a given host exists in the config of opsview. No more, no less. Just that simple. It uses the Opsview API functionality. Ok, in a simple way. Just look at the source code download it if you like it