July 8, 2010

how to pick a screen session from a list

Category: other,Uncategorized — Administrator @ 11:42 am

I wanted a way to run a single command and then have a menu of sorts to resume a particular screen session. I name mine with -S for the particular task at hand and often keep them running for months at a time. Every morning it was a PITA to have to do a screen -ls and then copy/paste the session I wanted to resume. This bit of code makes a bunch of aliases(1, 2, etc) that correspond to a particular session to make it ez to resume any particular one. Put it in your .bashrc, run scn and enjoy!

function scns() { 
screens=`screen -ls | grep Detached | awk {'print $1'}`
if [ -f /tmp/$USER-screens ]; then
    rm /tmp/$USER-screens
for screen in $screens; do
    echo "$counter $screen"
    echo "alias $counter=\"screen -r $screen -x\"" >> /tmp/$USER-screens
    let counter++

alias scn='scns; source /tmp/$USER-screens'

November 17, 2008

Digg cover story in Inc. magazine

Category: Uncategorized — Administrator @ 3:17 pm

July 7, 2008

How Digg Optimizes Its Web Site for Huge Traffic

Category: Uncategorized — william @ 3:22 pm

Digg site admin Ron Gorodetzky discusses how Digg has optimized its architecture to handle 26 million unique visitors a month. Database management is the key, and those thumbnails are a bigger challenge than you might expect.

read more | digg story

May 20, 2008

I made that

Category: random me stuff — Administrator @ 7:41 pm

shop class

April 23, 2008

Digg Dubb

Category: random me stuff — Administrator @ 10:57 am

Digg Dubb: Groove Is In The Heart from Trammell on Vimeo.

I love my job

March 13, 2008

Goodbye 1300 Potrero Photobooth pix!

Category: night life — william @ 9:20 pm

photobooth shots

get ‘em here

some came out a bit dark, oops :(

thank you everyone for so many great years!!

UPDATE: Time’s before, during and after photos

January 21, 2008

colour changing card trick

Category: other — william @ 7:09 pm

January 14, 2008

Ten Recurring Economic Fallacies, 1774–2004

Category: Uncategorized — william @ 11:29 am

As an American historian who knows something of economic law, I became intrigued with how the United States had remained prosperous, its economy still so dynamic and productive, given the serious and recurring economic fallacies to which our top leaders (have subscribed and from which they cannot seem to free themselves.

read more | digg story