Thursday, 2 April 2009

Colour your shell prompt taken from Lifehacker


Using the tip is relatively simple—just edit the /root/.bashrc file and add in the following, preferably commenting out the existing lines that set the color, though you can simply add this line to the end of the file.

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

Once you've added this line, anytime you switch to using the root shell you will see the prompt in red with white text for the command line. Chris takes it further, with a line that turns the prompt green for regular users, which you can enable by adding the following to your ~/.bashrc file:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\

Tuesday, 17 March 2009

Kraftwerk - Autobahn.

Quick Drunken Thoughts... as usual... ( on ripping my cd copy )

Its years since I listened to this album and it just took me back 30+ years instantly. That wonderment that machines could make imitate the sound of cars flying past on a road.
Cortinas were still curvey, as were escorts. We had just been to the continent for the first time, it seemed so exotic. My brothers musical tastes merged with my love of gadgets and science fiction.
I must have been about 10 or so. Getting ready for my first computer. Practicing learning how to touch type from the cover of brochure for a Sinclair Spectrum. (It worked ).

Also roughly the time of Xray Specs, Blondie, Donna Summer, Abba ( VV ), Oxygene. The world seemed so visceral and the electronics so alien but exciting. Walkmen were just coming in.

Will pipe more thoughts about this time soon. Loved it. Love the original blue ( vertigo ) sleeve
Of course, kraftwerk The Model? was used for the BBC computer program.
..

my brother and I would sit in his bed. turn off the lights and pretend we were still driving through Germany after our holiday/adventure there that year. The music seemed to fit perfectly. I think we only saw a few UK people the whole time we were abroad. How it changes.

wow, last track did it all over again. such an influence on me musically. i loved the melancholy hopefulness of the track, wistful. it always meant that i would have to go back to my room and go to bed as by now I'd be in trouble for staying up too late.

iTunes select album of current song

option click the arrow on the current song album name, opens the whole album.


iPhone 3.0 wishlist

What would I like to see in 3.0

1. Copy / Paste - like duh!
2. Background threads - ( maybe not apps )
3. Access to itunes library NSTunesPicker ?
4. Better mp3 decoding support.
5. AudioUnit registration


I don't think full back ground apps are required. I think apps could have a
-(void)didReceiveBackground notification

a bit like the one you do for closing. and you could spawn a tiny version or something. But the full app must close. That would be fine. Restricted stuff, no user interface etc

Monday, 16 March 2009

Widgets on your desktop

In terminal
defaults write com.apple.dashboard devmode YES <---- this makes it possible

killall Dock <--- this restarts dashboard

Then pull up dashboard ( mine is command-F12 )

click and hold widget whilst dismissing dashboard with same key.

Sunday, 15 March 2009

Dolphins

Monday, 9 March 2009

iKea

Cable Management
http://www.ikea.com/gb/en/catalog/products/50035115