Archive for the ‘OS-X’ Category.

Quick hack to rename BeyondTV files

The format of BeyondTV doesn’t look as good on Front Row as I’d like. This cleans the file name up.

for X in *\(*
do Y=`echo $X | awk -F\( '{print $2}' | awk -F\) '{print $1}'`
mv "$X" "$Y.mp4"
done

Show kernel extensions in os-x

kextstat -k

Character Palette in OS-X

CMD + Option + t

Disable Crash Reporting in OS-X

Try -

sudo defaults write com.apple.CrashReporter DialogType none

Cisco VPN - Error 51: Unable to communicate with the VPN subsystem

Running Cisco VPN on OS-X I would get “Error 51: Unable to communicate with the VPN subsystem” whenever I would try to connect. I tried rebooting, moving from Wireless to Wired (and rebooting in between), and nothing would work. However,

sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart

seems to fix the issue.

Stop iPhoto or Aperture from opening when you plug in your iPhone

Open “Image Capture”

Open “Image Capture” preferences

Change “When Camera is Connected, open [no application]“

Easy way to ping a range of IP Addresses

nmap -sP 10.1.1.0/24

When I need to find an open IP, this is a decent way to do it. I wish there were a way to find IPs that don’t respond, but this works for now. This won’t work if your network bans ICMP traffic, or your host doesn’t respond, but is alive.