Having Screen show all the open windows in the last line
hardstatus alwayslastline
hardstatus string '%{= rW}%-Lw%{= wb}%54>%n%f*%t%{-}%+Lw%< %{= bW}%-=%h | %c:%s | %H %l%{-}'
hardstatus alwayslastline
hardstatus string '%{= rW}%-Lw%{= wb}%54>%n%f*%t%{-}%+Lw%< %{= bW}%-=%h | %c:%s | %H %l%{-}'
I created a nice text exapnder snippet and I thought I’d share it.
do shell script "/opt/local/bin/wget -O- -q http://tr.im/api/trim_url.xml?url=$(pbpaste) | tr '>' '\n' | tr '<' '\n' | grep -m 1 -A 1 url | tail -1"
It grabs the clipboard contents, sents it to http://tr.im and then grabs the url. You just type your expander code and poof whatever was in the clipboard is now shrunk to a http://tr.im/url
I also made a few other ones that are pretty simple. This one types the current playing artist - track in iTunes:
do shell script("osascript -e 'tell application \"iTunes\" to artist of current track as string' | tr '\n' ' ' && echo \"-\" | tr '\n' ' ' && osascript -e 'tell application \"iTunes\" to name of current track as string'")
There’s probably an easier way to do it than calling an shell script to run an applescript from within a apple script but it was 4 am and I haven’t had time to change it.
Also, an uber simple uptime:
do shell script ("uptime | awk -F',' '{print $1 $2}'")
That’s all for now!
1. Insert CD/DVD source
2. Fire up a Terminal, you can then determine the device that is you CD/DVD drive using the following command:
$ drutil status
Vendor Product Rev
MATSHITA DVD-R UJ-835E GAND
Type: DVD-ROM Name: /dev/disk1
Cur Write: 8x DVD Sessions: 1
Max Write: 8x DVD Tracks: 1
Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 364:08:27 blocks: 1638627 / 3.36GB / 3.13GiB
Writability:
Book Type: DVD-ROM
3. Umount the disk with the following command:
$ diskutil unmountDisk /dev/disk1
Disk /dev/disk1 unmounted
4. Create the ISO file with the dd utility (may take some time):
$ dd if=/dev/disk1 of=file.iso bs=2048
5. Test the ISO image by mounting the new file (or open with Finder):
$ hdid file.iso
6. The ISO image can then be burnt to a blank CD/DVD.
I recently was trying to administer my mac from my in-laws house and I wanted to install an application that used Installer.app. So, I thought I’d create an SSH tunnel and and VNC in it. Unfortunatley, I didn’t have VNC configured. So it was off to the search engines. Here’s what I came up with:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw VNCPASSWORDHERE -restart -agent
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
Well Agile Messenger came out for the iPhone about a week ago. It has everything I want including the ability to stay signed in in sleep mode, Copy and Paste, send pictures from the camera, audible and vibration alerts that DON’T stop the iPod from playing it’s current track. There are a few features I’d like such as clickable links and maybe display pictures, and a “blah is typing a message” notification (both ways). Also maybe better icons and sounds, but you can get those with a simple hack of the resources folder. Lastly, an notification icon of new messages in the status bar (by the battery) would be nice. So now the only really annoying thing is it always signs in with “Mobile with AgileMessenger.com” as my personal message. Well I figured out how to turn that off, and you don’t have to “hack” it using the command line or anything. You simply:
That should be it. You’ll now start those services with no default message. You can do this with a customized message too if you’d like (instead of signing in with none). Enjoy your new awesome iPhone chat client.
This is my first post from TextMate. I wonder how it will look. I bet it’s uber awesome and all my wildest fantasies will come true as soon as I post this. I can’t wait!
Comment left on digg about aXXo returning:
I believe now would be an appropriate time for the Axxo’s Prayer…Please join me:
Our Ripper, who art on mininova,
aXXo be thy name.
Thy torrents come.
Seeding will be done,
Here as it was on suprnova.
Give us this day our latest rips.
And forgive us our leeching,
As we forgive those that leech from us.
And lead us not on to private trackers;
But deliver us from the MPAA:
For thine is the ripping, the seeding, and the glory,
For ever and ever.Amen…
Note: This post contains nothing original.
PLease no more myspace. . . . We were just recently alerted here at Mashable that January 30th, just a few scant days away, is International Delete Your MySpace Account Day.
Go download it, if it’s not awesome to you, you are obviously not a geek.
It always you to blog, tweet, facbook, flickr, bookmark to del.icio.us, and interface with youtube’s social network, all in a browser based off of Firefox.
Here’s a nice little extension for it to move your tabs around from window to window:
https://extensions.flock.com/node/60890

Also, some firefox extensions work with it, I like these two:
https://addons.mozilla.org/en-US/firefox/addon/1865 - Ad Block Plus -and-
https://addons.mozilla.org/en-US/firefox/addon/1320 - Gmail Manager AWESOME!