Skip to content

Instantly share code, notes, and snippets.

@torch2424
Last active Feb 10, 2016
Embed
What would you like to do?
My Added variables and things for stuff like android and Ionic, and random aliases I use
#This was done automatically by: https://github.com/glenpike/npm-g_nosudo
NPM_PACKAGES="/home/torch2424/.npm-packages"
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
PATH="$NPM_PACKAGES/bin:$PATH"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
#mongodb
export PATH=<~/Documents/mongodb/mongodb-linux-x86_64-3.0.4>/bin:$PATH
# Android Path
export ANDROID_HOME=/home/torch2424/Android/Sdk
export PATH=$PATH:/home/torch2424/Android/Sdk/tools
#Android aliases
alias androidstudio="sh /home/torch2424/Source/android-studio/bin/studio.sh"
#Random paths to get ionic working
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export PATH=$PATH:$JAVA_HOME:${ANT_HOME}/bin
export PATH=/usr/bin/node:$PATH
#Github Aliases
alias gs='git status '
alias gc='git commit'
alias ga='git add -A '
alias gpo='git push origin '
alias gpom='git push origin master '
#cd aliases
alias cds='cd ~/Source/'
#Cool speedtest alias, works by using wget
#(Which shows speed in kilobytes per second
#or Megabytes per second)
#And tries to download an ubuntu iso
#(Which has no affiliation to isps)
#to a directory that auto deletes itself
alias speedtest='wget -O/dev/null http://releases.ubuntu.com/saucy/ubuntu-13.10-desktop-i386.iso'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment