Skip to content

Instantly share code, notes, and snippets.

View d3zza's full-sized avatar

Derek McKenna d3zza

View GitHub Profile
@d3zza
d3zza / gist:d297e51975a4202a1d15a47710d0bcb0
Created August 15, 2017 23:44
React Native: open multiple simulators
# first make sure app has been installed on each sim
open -n /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
# alert will pop up "Unable to boot device in current state: Booted"
# click "ok" go to menu and choose device hardware
@d3zza
d3zza / rn build android release
Created September 20, 2017 06:06
react native build android release and rename with date
#build apk
cd android && ./gradlew assembleRelease
#rename apk with date (run from android dir)
d="app/build/outputs/apk/AlphaBucks $(date +"%Y-%m-%d %H-%M")"; mkdir "$d" && cp app/build/outputs/apk/app-release.apk "$d"
install iterm2, vscode
#zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#show hidden files - select MacHD and press command shift dot
#install homebrew