Skip to content

Instantly share code, notes, and snippets.

@snalvi
snalvi / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@snalvi
snalvi / gist:82d732da87ea972afaea
Last active November 9, 2015 12:11
Integrating Volley into Android Studio
There are 3 ways to go about this:
1. Create volley.jar from the git and add it to your project
$ git clone https://android.googlesource.com/platform/frameworks/volley
$ cd volley
$ android update project -p .
$ ant jar
* You will have to modify the .bash_profile or .profile to include the ANDROID_PATH and PATH environment variables:
export ANDROID_HOME=<sdkDir>/sdk/
@snalvi
snalvi / terminalColors
Created October 19, 2014 05:24
Setting up terminal colors
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=cxfxgxexdxegedabagaced
Colour Designators:
a black
b red
c green
d brown
e blue