Developers and Depression

I work in an industry whose participants have little connection to their own behavioral and emotional life. I consider myself an escapee more than a survivor. (Thanks Chris!) It is also rare at a technical event there would be a session called "Developers and Depression". But here it is: Developers and Depressiongiven by Greg Baugues on August 16 2013 at Steel City Ruby in Pittsburgh, PA.

Developers and Depression from Confbots on Vimeo.

If your presence doesn't work, neither will your words.

“If your presence doesn't work, neither will your words.” - Yogi Bhajan

GNU Screen cheat-sheet

SCREEN

starting screen

     named

          screen -S name

     within sudo

          script /dev/null
          screen -S name

disconnecting

     ^a d

reconnecting

     screen -x foo
     screen -x user/foo

listing

     screen -ls

$HOME/.screenrc

     hardstatus alwayslastline "%w %= %H "

     defscrollback 10000

     multiuser on
     addacl user1
     addacl user2
     addacl userN

help
     ^a ?

WINDOW

new window

     ^a c
     ^a : screen

title window

     ^a A name
     ^a : title name

close window

     ^a k
     ^a : k
 
     using ^d at the shell prompt will close end the current shell and so close the window.

select window

     ^a number
     ^a : select number

select next window

     ^a backspace
     ^a : prev

read-only window

     ^a : chacl * -w number

read-write window

     ^a : chacl * +w number

REGION

new region (aka split) 

     ^a S
     ^a : split     

select next region

     ^a tab

resize regions (equally)

     ^a : resize =

close region

     ^a X
     ^a : remove

close all regions except the current region

     ^a Q
     ^a : only

SCROLL-BACK
 
view
 
    ^a esc
 
page back
 
    ^b
 
page forward
 
    ^f

finished
 
    esc esc
 
END
See http://aperiodic.net/screen/start for an online manual.

Getting OS X to use the application you want to open a document type

I had a little problem where Chrome was not the default viewer for XML documents on my Mac. Using the "Open With..." dialog to select the application to use with the document did not stick. In the end I used the duti utility, eg

duti -s com.google.chrome text/xml all
and this seems to have worked. Will see if it continues to work after a reboot.

The other problem is what are the applications, UTIs, or MIME types that can be used? The command

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep ...
can be used to investigate. Further, I found a reference to AllApplications which will also help.