monit: error connecting to the monit daemon by rus We’re rolling out monit on our new platform at the request of a vendor to manage their new service. I’ve always been dead against these kinds of automated failure recovery tools as they often require human intervention after the fact anyway and all the platforms I’ve managed will have failed the server anyway so why […]
Odd Occurrences In Apache Access Logs by rus I’ve been watching my Awstats installation this month as idimmu.net is about to peak with over 7000 unique visitors in a month for the first time in it’s history, which is pretty awesome. But there’s been something really weird going on in the results .. This is kind of ironic as in a recent job […]
Experiments In Bitcoin by rus Earlier today I got in to discussing Bitcoin Arbitrage with a mate of mine, with the cunning plan of creating a bot to monitor different exchanges and profit on the difference in trading prices. After an analysis this was deemed a silly idea, or conversely we aren’t good enough, as moving real money or bitcoins […]
Android Create AVD by rus The second part of this series covers creating our first Android Virtual Device or AVD. The Android Virtual Device (AVD) is basically a configuration for the Android SDK’s emulator that lets you define the hardware and software characteristics of an actual Android advice that you can then test your code on. Whilst not being as […]
Install Android Eclipse by rus Hi guys, when telling a story it’s always best to start at the beginning, so the first thing to do on my journey is talk about how are we going to install Android Eclipse. My workstation is a MacBook but the process is the same on both Windows and Linux. I’ve put together a short […]
10 Most Used Linux Commands by rus Whilst skimming my Bash history today looking for an esoteric one liner I’d written earlier I started to ponder what my most used commands were, it’s easy enough to find out! This is actually output from my Mac, not a Linux box, I tricked you 😀 Chill:~ rus$ history | awk {‘print $2’} | sort […]
OSX Lion JAVA_HOME by rus Apple’s OS Lion has a pretty neat trick for handling the JAVA_HOME variable Chill:bin rus$ /usr/libexec/java_home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home which is super awesome as you can simply do Chill:bin rus$ export JAVA_HOME=$(/usr/libexec/java_home) Chill:bin rus$ echo $JAVA_HOME /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home to make sure you have the correct $JAVA_HOME set up, every time! I’ve added this commend to my ~/.profile file […]
Syntax Highlighting In VIm by rus Syntax highlighting in vim can be super tricky, by default a lot of desktop environments seem to have white terminals, which is a bit dumb as it’s easier to read white on black than black on white, as such the default vim syntax highlighting is often unreadable if you have a black terminal, giving blue […]
Installing OpenSIPS on Redhat Enterprise Linux 5 by rus We’ve got to set up a SIP Registrar for a fantastic new project that one of our clients recently announced 😉 on RHEL5 so we’re going to trial OpenSIPS, backed with MySQL to see how it performs. There’s a RHEL5 repository mirror here https://centos.leurent.eu/ that I’ve mirrored locally. If you don’t know how to create […]
Take Screenshot Mac by rus To take a screenshot on a Mac you can use the following simple keyboard shortcuts: To save a screenshot to the desktop on a Mac Command-Shift-3 : Take a screenshot of the Mac screen, and save it as a file on the desktop. Command-Shift-4 : Hold down the mouse button and select an area of […]