Archive for the ‘Macbook’ tag
To create a screenshot in Leopard…
Hold down Command-Shift-4 and drag and select the area you want to make a screenshot of. If you want the entire screen, it’s Command-Shift-3.
“trash” for the Mac CLI
sudo gem install osx-trash
A cool, government guide to hardening your systems…
http://www.nsa.gov/snac/index.cfm?MenuID=scg10.3.1
Open command (view hidden files and directories)
“open .“ from the terminal will open up all files in finder, including hidden files and directories.
Live NHL on the Mac…
http://mactweak.blogspot.com/
Got most of what I’m doing from this site…
Sleepmode fast sleep
How to sleep your Macbook, quickly.
http://www.macworld.com/article/53471/2006/10/sleepmode.html
autossh for keeping ssh sessions alive, during sleep
I learned the following from http://www.pjtrix.com/blawg/category/computing/networks/ssh/.
Today, I wondered if there was a way to keep my IM and ssh sessions alive when putting my mac to sleep.
Because my IM connects through an ssh proxy, when I put my laptop to sleep, my ssh session dies, and my IM goes with it. When I wake my mac, I have to proxy through with another ssh session. This gets old when I’m at my desk and need to go to a meeting, etc.
So I installed autossh with macports “sudo port install autossh” and then run this to create an autossh session:
“autossh -M 20000 -t user@serverexample.com -D 1080″. After I enter my password, I have a proxy session for my IM. I launch IM, then put my mac to sleep. When it awakes, everything is working like a charm.
iterm and applescript to show host in tab
http://www.macosxhints.com/article.php?story=20070711123202297
Tabs in terminal
Install SIMBL, then install the plugin, found at http://ericanderson.us/wp-content/uploads/2008/02/tabnamerbundlev01.zip