Mac Stuff
  
========================

http://robin.me/pi
export PATH=$PATH:~/opt/bin mac gnu utils ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Then add the following line to your .bashrc or .zshrc: export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH" brew install screen vnc from mac terminal open vnc://192.168.60.102:5901 .bash_profile source ~/.bashrc source ~/.profile ttl to serial cable screen /dev/cu.Repleo-PL2303-00002014 115200 driver https://www.mac-usb-serial.com/dashboard/ .aliases alias ,='/bin/ls -AC -F -b' alias ,,='/bin/ls -lA -F -b' alias ,,,='/bin/ls -AC1 -F -b' alias ,l='/bin/ls -AC -F -b |less -E' alias ,,l='/bin/ls -Al -F -b |less -E' alias ,,,l='/bin/ls -AC1 -F -b |less -E' alias ..='cd ..' alias e='exit' alias c=’clear’ alias x='startx' alias s='screen -R' alias hg='history |grep' ======================== cmd line clone of SD card: diskutil list sudo dd if=/dev/disk3 of=~/Desktop/raspberrypi.dmg restore: diskutil list diskutil unmountDisk /dev/disk2 sudo newfs_msdos -F 16 /dev/disk2 sudo dd if=~/Desktop/raspberrypi.dmg of=/dev/disk2 ( reference: https://computers.tutsplus.com/articles/how-to-clone-raspberry-pi-sd-cards-using-the-command-line-in-os-x--mac-59911 ) ======================== how to install homebrew: xcode-select --install ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew doctor brew search name brew install name https://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/