Get the list of devices:
sudo diskutil list
Find which is the SD card, then run:
| #!/usr/bin/python | |
| # Source: http://voorloopnul.com/blog/a-python-proxy-in-less-than-100-lines-of-code/ | |
| # This is a simple port-forward / proxy, written using only the default python | |
| # library. If you want to make a suggestion or fix something you can contact-me | |
| # at voorloop_at_gmail.com | |
| # Distributed over IDC(I Don't Care) license | |
| import socket | |
| import select |
| set -e | |
| if [ ! -n "$ZSH" ]; then | |
| ZSH=~/.oh-my-zsh | |
| fi | |
| if [ -d "$ZSH" ]; then | |
| echo "\033[0;33mYou already have Oh My Zsh installed.\033[0m You'll need to remove $ZSH if you want to install" | |
| exit | |
| fi |
| #!/bin/bash | |
| BLACK='\033[0;30m' | |
| DARK_GRAY='\033[1;30m' | |
| BLUE='\033[0;34m' | |
| LIGHT_BLUE='\033[1;34m' | |
| GREEN='\033[0;32m' | |
| LIGHT_GREEN='\033[1;32m' | |
| CYAN='\033[0;36m' | |
| LIGHT_CYAN='\033[1;36m' |
| # Push and pop directories on directory stack | |
| alias pu='pushd' | |
| alias po='popd' | |
| # Copy pwd to clipboard | |
| alias cpwd='pwd | tr -d "\n" | pbcopy' | |
| # Basic directory operations | |
| alias ...='cd ../..' | |
| alias ..2='cd ../..' |