Iptables Block Outgoing Traffic

We need to give one of our customers to an internal server, for this we’ve enabled remote SSH access. Even though we trust them we don’t want anyone to use the server as a launchpad to attack other remote servers, or a launch pad to attack internal servers for that matter, in case their account […]

Google Analytics: The site has not been registered.

In my old blog I had Google Analytics working flawlessly and have several years worth of data showing people searching for SVN or Nagios help 😉 Now I’ve moved to WordPress I wanted to keep using analytics and have had great success using the Google Analyticator plugin with my other blogs so wanted to keep […]

Elgg 1.8 Tidypics Group Fix

I’m creating a new community site using the Elgg 1.8 platform, but a lot of the widgets are still using the old 1.7 CSS for their displays so it means a lot of fixing. The existing tidypics/views/default/tidypics/groupprofile_albums.php suffers from this problem but is simply fixed by changing to

BackupPC ping too slow

Whilst adding a new remote server to our BackupPC configuration, it threw the following error Contents of file /Volumes/2TB/backuppc/pc/www.server.co.uk/LOG.102011, modified 2011-10-25 13:10:23 2011-10-25 12:00:00 ping too slow: 22.21msec 2011-10-25 13:00:01 ping too slow: 49.63msec 2011-10-25 13:10:23 ping too slow: 47.79msec and refusing to back up the server! After browsing the documentation I discovered the following […]

Linux Command Line AVI Repair

Recently I had an avi file with a broken index that needed to be repaired. After a quick search and read of some man pages I discovered these handy flags for mencoder to get the job done! mencoder -idx homemovie.avi -ovc copy -oac copy -o homemovie-repaired.avi bamo!

List Contents Of An RPM Package

Often when building RedHat RPM packages I want to make sure that the package built correctly and all the files are present before I actually install the RPM, but I do keep forgetting the command to do this, so here it is for prosperity! rpm -qlp e.g. root@build:/usr/src/redhat/SPECS# rpm -qlp ../RPMS/noarch/servicemap-0.16-1.noarch.rpm /var/www/html/servicemap /var/www/html/servicemap/amq.png /var/www/html/servicemap/amqfail.png /var/www/html/servicemap/amqreportingprov1prov1.png […]

Changing A DRAC Password On The Command Line With racadm

All Dell DRACs come with a default account set up as root / calvin which is a huge security risk if left! The web interface doesn’t let you change the password but the firmware does when you boot the server. A second way to change the password is with the racadm tool, if installed, at […]

Unique Article Wizard needs strip slashes!

I’m playing about with the Unique Article Wizard plugin for WordPress (for a friend, not for this site!!!) and there’s an obvious problem where all of the articles need their slashes to be stripped. It looks like a serious case of magic quote paranoia! A look at the plugin code makes article_mods.php the obvious candidate […]

Canon EOS Utility On A Mac Without A CD

Canon have a fantastic little app, which works on both Windows and Mac, called EOS Utility, which among other things allows you to do time lapse photography! I lost my CD ages ago, because you know … everyone knows that all responsible companies let you download support tools from their website .. Unfortunately no one […]

Proper use of grails:exec

Whilst trying to run mvn grails:exec with more complicated requests it kept erroring: Chill:superted idimmu$ mvn grails:exec -Dcommand=”jack-be-nimble net.idimmu User Profile” [INFO] Scanning for projects… [INFO] Searching repository for plugin with prefix: ‘grails’. [INFO] ———————————————————————— [INFO] Building Unnamed – net.idimmu:gymlife:war:1.0-SNAPSHOT [INFO] task-segment: [grails:exec] (aggregator-style) [INFO] ———————————————————————— [INFO] [grails:exec] [INFO] Using Grails 1.2.0 Running pre-compiled script […]