Skip to content

Instantly share code, notes, and snippets.

View z3ntu's full-sized avatar

Luca Weiss z3ntu

View GitHub Profile
@z3ntu
z3ntu / android_configure.sh
Last active November 16, 2019 21:09 — forked from nddrylliog/android_configure.sh
Use this for cross-compiling native Applications for Android! Place this script preferably in ~/bin and add this folder to your path variable. Instead of using ./configure just call this script.
#!/bin/sh
# THIS SCRIPT IS FOR A STANDALONE TOOLCHAIN!!
# For more information please consult https://z3ntu.github.io/2015/12/12/Cross-compiling-native-linux-applications-for-android.html
# Don't forget to adjust this to your standalone toolchain path
export TOOLCHAIN_PATH=$HOME/Android/standalone-toolchain/
# This is just an empty directory where I want the built objects to be installed
export PREFIX=$HOME/Android/out/prefix
@z3ntu
z3ntu / mayaOnUbuntu.sh
Last active November 1, 2019 19:37 — forked from Era-Dorta/mayaOnUbuntu.sh
Shell script for installing Maya 2016 SP4. Tested on Ubuntu 15.10
#!/bin/bash
# Heith Seewald 2012
# Garoe Dorta 2015
# Luca Weiss 2015
# Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac
# Feel free to extend/modify to meet your needs.
#### Lets run a few checks to make sure things work as expected.
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then