.. on Linux

Posts made in April, 2009

Couple of images from Germany

Posted by on Apr 22, 2009 in Computers | 0 comments

Thought i’d throw a couple of images from Germany taken from my iPhone on the internet. Pay particular attention to the image of Kim and Nick looking incredibly confused at the ticket machine in the train station. Also the photo of the toilet might look a bit odd, but look closer, there is a little football net and ball to keep you busy whilst on the toilet. :D

Read More

This is how all screen shots should look

Posted by on Apr 5, 2009 in Computers | 0 comments

LIKE THIS

Read More

Irritating

Posted by on Apr 5, 2009 in Computers | 1 comment

I was recently reading an article on wired.com, which I must say irritated me greatly. Basically it was an article saying how the latest round of zillionaires in silicon valley have decided the newest and coolest craze over there is to drink tea. Obviously being british I was onto my first cup of tea 0.5 seconds after emerging into this world. However, they’re not going to be drinking your average ‘normal’ teas nope and don’t get me wrong i’ve tried these teas. I’m sure some zen master from the mountains of china loves his crazy brew, personally I find it like drinking swamp water. So after reading the article for a min, I decided to find out what this guy (who looked far too young to be a zillionaire) had done to net him his millions.

Turns out that he holds a world record for tango dancing …. can’t imagine that netted him millions. He also wrote a book …. this is my source of irritation.

His book ‘four hour work week‘ is apparently the book ‘du jour’, found in the book cases of all megalomaniac CEOs next to all the other bullshit and no doubt a copy of mein kampf. In this book we’re told that to be more successful we need to keep away from email/texting, instant messaging etc… as they complicate life etc…

Turns out that he built pre-release hype by posting on blogs and messaging people, what a hypocrite …. obviously can’t complicate life that much. Plus the premise of the book is ridiculous, less distractions means people will work more efficiently. I’m thinking of bringing some books out myself:

A guide to winning for Olympic sprinters - “Run faster”

How to to lose weight - “Stop eating fatty food”

Those millions are going to start rolling in any time soon, but in the mean time I think I’ll open a tea bag shop in silicon valley.

Wired article can be found here

Read More

Easy proxy configure for on the move with your mac :)

Posted by on Apr 2, 2009 in Computers | 0 comments

This script is a little one i’ve just thrown together to make it easy to move around and reconnect to proxies. Could be made a lot better but for basic needs it will suffice :)

[code lang="bash"]

#!/bin/bash

# Assuming Use of Airport, change SSH_HOST and SSH_PORT and needed

NETWORK_SERVICE="Airport"

SSH_HOST="hostname"

SSH_PORT=22

PROXY_PORT=8080

echo "Checking IP of Airport to ensure network connectivity"

sudo networksetup -getinfo $NETWORK_SERVICE | grep "IP address" | grep -v v6

sudo networksetup -getairportnetwork

echo "Configuring Proxy ... "

sudo networksetup -setsocksfirewallproxy $NETWORK_SERVICE 127.0.0.1 $PROXY_PORT off

echo "Connecting to SSH host. (Press Ctrl+c to exit)"

ssh -q -D $PROXY_PORT -C -N -x $SSH_HOST -p $SSH_PORT

echo " "

echo "Returning settings to default"

sudo networksetup -setsocksfirewallproxystate $NETWORK_SERVICE off

echo "exiting...."

[/code]

Read More