Skip to content

Instantly share code, notes, and snippets.

Avatar

Derek McKenna d3zza

View GitHub Profile
View gist:494c799d67c94a3815944e7e84908b1a
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
@d3zza
d3zza / rn build android release
Created Sep 20, 2017
react native build android release and rename with date
View rn build android release
#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"
View Reinstalling homebrew symbolic links after a restore.sh
@d3zza
d3zza / gist:d297e51975a4202a1d15a47710d0bcb0
Created Aug 15, 2017
React Native: open multiple simulators
View gist:d297e51975a4202a1d15a47710d0bcb0
# 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
You can’t perform that action at this time.