Skip to content

Instantly share code, notes, and snippets.

View hahaopsmeow's full-sized avatar

hahaopsmeow

View GitHub Profile
@hahaopsmeow
hahaopsmeow / gist:89009f468fa9e6accb13b75964f8dde9
Last active October 25, 2016 16:24
Get UDID of connected iOS devices
#
# Returns UDID of iPod, iPad, iPhone connected to your Mac
$ system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' -e '/iPod/,/Serial/p' | grep "Serial Number:" | awk -F ": " '{print $2}'
#
#
@hahaopsmeow
hahaopsmeow / tmux_install.sh
Created September 14, 2016 09:02 — forked from P7h/tmux__CentOS__build_from_source.sh
tmux 2.0 installation steps for Ubuntu
# tmux v2.0 installation steps for Ubuntu 14.04 (Trusty Tahr)
tmux -V
sudo apt-get update
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository -y ppa:pi-rho/dev
sudo apt-get update
sudo apt-get install -y tmux
tmux -V
# tmux v1.9 installation steps for Ubuntu 14.04 (Trusty Tahr)