James McDonald

The YUM equivalent to apt-get build-dep

I've been yo'yoing (a word only Words with Friends would accept) between Ubuntu and Fedora and during my periods at the Apogee from one or the other distribution I find I want to do something in one or the other that I know the command of in the other or vice versa....

Mapping Websites

A list of on-line map websites: Nearmap.org - (Sadly this has become a paid for service - They do have single user licenses. Good but pricey) In Australia regular over-flight photos high def. Uses Openstreetmap.org's streetmaps so streetnames are usually missing....

VBScript Send Fax

I googled "VBScript Send Fax" today and got an excellent example: http://sandlerco.com/VBScript.htm http://sandlerco.com/fspfaq.htm Update: Microsoft Documentation http://msdn.microsoft.com/en-us/library/ms686957(v=VS.85).aspx But the site seems to be bouncing /...

Eureka moment on transfer speeds

I have a Cisco Catalyst 100mbps switch between my source and destination workstations. I'm trying to copy about 26.1GB across and it's going to take circa 40minutes. My question is: Why am I only getting 11.2MB/s when I have a 100mbps switch? Quoting here I get an...

VMPlayer Command Line Options

Usage: vmplayer.exe [OPTION...] [--] [configuration file] where OPTIONS are: -v show program version -X Enter full screen mode when a virtual machine is powered on -U Enter Unity when a virtual machine is powered on -s NAME=VALUE Set Preference variable NAME to...

Securing SSH

Looking at my auth.log on an internet accessible server. I notice that there has been 3071 unsuccesful login attempts since last the logs rotated. cat /var/log/auth.log | grep invalid | grep ssh | wc 3071 49136 327541 # does any one know how to match two arguments...

Hard Disk Partitioning Fail

Just had a situation where I ran palimpsest and tried to carve another partition onto a 2TB disk which I had only put a single 500GB partition on. To cut a long story short I ended up losing the current partition on the disk which was also my /home. So not fun. In the...

Rackspace Cloud Server a Good Move

So I've been running on the Rackspace cloud for a week or so. The server stays up: w 22:45:08 up 4 days, 17:23, 1 user, load average: 0.34, 0.10, 0.10 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 cpe-XXX-XXX-XXX- 22:45 0.00s 0.01s 0.00s w And it uses memory but...

mod_security2 sigh

Good Concept Just be prepared for head scratching I had a post with this as the URL /it-tips/getting-screenshots-working-the-way-i-like-in-lxde couldn't access with mod_security running. The reason it didn't like the word "like" in the Permalink tag. So I've changed...

pidof

This will seem really simple to those that know about these things, but hey I'm easily amused. Here is a snippet from an /etc/init.d script HTTPD=/httpd/bin/httpd PIDFILE=/httpd/logs/httpd.pid if pidof $HTTPD | tr ' ' '\n' | grep -w $(cat $PIDFILE); then return 0 fi...