Archive for December, 2008

Giraffe puppet imitates internet emoticons

Thursday, December 25th, 2008

\o/

\o/

/o\

/o\

o//

o//

Hotlinkers

Tuesday, December 23rd, 2008

Damn you!

It appears that I’m being hotlinked at:

  • http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=122380023
  • http://forums.fark.com/cgi/fark/comments.pl?IDLink=4100080

It looks like I’m going to have to take the time to add a watermarking filter to all my images so that it adds “andymillar.co.uk” to the bottom when they are requested with a referrer that isn’t either blank or andymillar.co.uk.

I suppose this could be a nice easy Christmas coding project :-)

Your host does not have synchronized TSCs. Please read VMware Knowledge Base article 2041.

Thursday, December 18th, 2008

And here’s the link to the Knowledge Base article 2041.

Now with HTTPS support

Sunday, December 14th, 2008

Now you can access this site using HTTPS!

https://www.andymillar.co.uk/

If you access this site without HTTPS, you will be warned that you are using an unencrypted link.

Some images on older posts may be referenced over HTTP, and might throw up an error in your web browser asking if you want to display both secure and insecure content. I may try and fix this if/when I get bored enough.

For now, though, HTTPS support is finally here!

Packet send failed to 192.168.1.90(138) ERRNO=Operation not permitted

Saturday, December 13th, 2008

Nov 19 10:23:53 myserver nmbd[2659]: [2008/11/19 10:23:53, 0] libsmb/nmblib.c:send_udp(793)
Nov 19 10:23:53 myserver nmbd[2659]: Packet send failed to 192.168.1.90(138) ERRNO=Operation not permitted

Recently, I have been seeing these errors on a samba server (3.0.28) on Centos (5).

I found the solution to be to unload the iptables kernel modules by /etc/init.d/iptables stop. Hopefully you shouldn’t need iptables on a local samba server!

ssh tab completion with bash

Wednesday, December 10th, 2008

Tired of typing out all your hostnames when ssh’ing a lot? Here’s a quick and easy way to get tab completion working for ssh!

1. Disable hashing of known hosts:

echo “HashKnownHosts no” >> ~/.ssh/config

2. Add the following line to your .bash_profile:

complete -W “$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ‘ ‘ | sed -e s/,.*//g | uniq | grep -v “\[“`;)” ssh

Then reload bash (by closing your terminal and reopening it, or just by running bash).

Now typing ssh <tab><tab> will list previously used hosts. If you have ssh’d to example.com before, ssh ex<tab><tab> should autocomplete to ssh example.com!

I hope this is useful!

Our bodies are not for sale…

Wednesday, December 10th, 2008

Beauty Queens

Our bodies are not for sale, or maybe they are, but that really isn’t the point.

One of the joys of the daily London commute is the wonderful free papers; the content is exceptionally entertaining. Sometimes, however, there is the odd story that bemuses me, like this one.

No-one is forcing these young women to take part in this competition, so what is all the fuss about? Why do some people have a problem with young women dressing up and having, some sort of, fun?

Not for Sale

I wonder if the only reason this particular woman is complaining is because she didn’t make the final?

Please can you go and make your protest in a small, dark, uncomfortable place where the rest of us with at least a molecule of sense can’t see or hear you so that we can actually enjoy life?

Thank you!