Drag a dashboard widget onto OSX desktop

$ defaults write devmode YES

Enables widgets to be placed onto the desktop. Click and hold the widget and press F12 to drag it onto the desktop. Repeat the process again to drag a widget back onto the dashboard. You may need to log off or restart for it to take effect.


List all mounted drives and their accompanying partitions

$ diskutil list

Convert iso to img format

$ hdiutil convert-format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso

Write img file to usb storage

# dd if=~/path/to/target.img of=/dev/rdiskX bs=1m