Posts By: jonny

Ubuntu Background NASA Image of the Day

I just used the Python script located here and created getnasa.py in my home directory. I made it executable and added it to my System > Preferences > StartupĀ  Applications. Now I have a nice new NASA space image refreshed each day!  

Camlough Lake Swim

A target for the same swim next year 1.75km as the crow flies but more like 2km: 28. Jonny McCullagh: 42.40

WordPress Upgrades and LDAPS

I have a WordPress installation which uses LDAP against Active Directory to authenticate users. I upgraded PHP to version 5.3.8 from version 5.1.6 (using the Atomic Repository) and also upgraded WordPress and the LDAP plugin. I’m not sure which upgrade caused me problems but users were then unable to login with their LDAP accounts. The… Read more »

Watercolor Action for Photoshop

I had been asked to create some watercolour versions of my holiday photos so I created the following action file for Photoshop (CS2). What does the action do? Creates 3 new dupliacte layers Layer 1 – Filter > Artistic > Cutout (with settings 4,4,2) Layer 1 Blend mode -> Luminosity Layer 2 – Filter >… Read more »

Changing the hostname in CentOS

Background: I made a tar backup of one system and wanted to untar that onto different hardware. A bit like cloning. However I needed to make sure the hostname and network settings were those of the new machine and not the cloned machine. So for future reference … Change the Hostname vi /etc/hosts Change the… Read more »

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu with: sudo apt-get install pipebench then use: tr ‘\000’ ‘\377’ < /dev/zero | pipebench | sudo dd of=/dev/sd? Substitute the question mark for… Read more »

GDL: Taking It Further

Quick Reference Good PDF introduction to the GDL language. Libraries Hunting around the web there are people producing extra libraries which can be downloaded : NASA IDL Astronomy Libraries SDSSIDL – a set of general IDL utilities for plotting, data analysis, and database access Daithi Stone IDL Libraries – Geographical, Arrays, Filesystem, Calendar, Graphics, I/O,… Read more »

GDL: Beginner Code Examples

The Gnu Data Language is an interactive interpreter/incremental compiler for the GNU Data Language, which is primarily used in scientific, astronomical, medical and geo-science data processing applications. It supports graphical output and is intentionally designed to be highly compatible with the commercial IDL language. GDL is a free IDL (Interactive Data Language) compatible incremental compiler… Read more »

Website Vulnerability Scanning

So I tested out Skipfish today to do a quick check on a website / web server. Hosted on Google at: http://code.google.com/p/skipfish/ download it, extract it and make and run: wget http://skipfish.googlecode.com/files/skipfish-2.01b.tgz tar xzf skipfish-2.01b.tgz cd skipfish* cp ./dictionaries/medium.wl . make ./skipfish -o ./myreport http://domain.co.uk/index.php Skipfish will create an HTML report in the ./myreport directory… Read more »