This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
path=`which npm`; | |
if [ "$path" == "" ]; | |
then | |
curl https://npmjs.org/install.sh | sh | |
fi | |
npm -g install weinre |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, generate the key. You will be prompted to enter a password, but we will strip it out in the next step: | |
openssl genrsa -des3 -out server.orig.key 2048 | |
# Then, stip out the password: | |
openssl rsa -in server.orig.key -out server.key | |
# Edit the OSX openssl config file to include your alternate names. | |
# Edit the 'subjectAltName' field. E.g.: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Android SDK | |
M2_HOME=/usr/local/apache-maven | |
ANDROID_HOME=/usr/local/android-sdk-macosx | |
PATH=$PATH:$M2_HOME:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools | |
#RVM | |
PATH=$PATH:$HOME/.rvm/bin | |
#Local bin | |
PATH=$PATH:$HOME/bin |