Skip to content

Instantly share code, notes, and snippets.

Mathias Westerdahl mathiaswking

Block or report user

Report or block mathiaswking

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mathiaswking
mathiaswking / .profile
Created Mar 20, 2019
The current bash setup
View .profile
export ANDROID_HOME=~/android/android-sdk
export ANDROID_NDK=~/android/android-ndk-r10e
export ANDROID_NM=arm-linux-androideabi-nm
export PATH=$ANDROID_HOME/platform-tools/:$ANDROID_HOME/tools:$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin:$PATH
DEFOLDDIR=~/work/defold
cd $DEFOLDDIR
alias defoldshell="$DEFOLDDIR/scripts/build.py shell"
alias eclipse="/Applications/eclipse/eclipse -vm /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java &"
@mathiaswking
mathiaswking / android_deploy.sh
Last active Jun 18, 2019
Deploys an .apk to the USB connected Android device. Starts the app, and grabs the logging events for that PID
View android_deploy.sh
#!/usr/bin/env bash
#set -e
PACKAGE=$1
if [ -z "$PACKAGE" ]; then
echo "You must pass a .apk as input!"
exit 1
fi
You can’t perform that action at this time.