Skip to content

Instantly share code, notes, and snippets.

View ankushagarwal's full-sized avatar
💭
🙄

Ankush Agarwal ankushagarwal

💭
🙄
  • Facebook
  • San Francisco
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ankushagarwal on github.
  • I am ankushio (https://keybase.io/ankushio) on keybase.
  • I have a public key whose fingerprint is 1010 0385 B018 8F88 7028 5D8E AA51 4AED F0C7 E266

To claim this, I am signing this object:

@ankushagarwal
ankushagarwal / hello.py
Created March 12, 2014 01:36
Python Hello World
print "Hello, World!"
@ankushagarwal
ankushagarwal / ruby tutorial.md
Last active August 29, 2015 13:57
Rubies and Rvm

Managing rubies and rvm on OSX

Get rid of rvm

Unistall rvm ( if there exists one )

rm -rf ~/.rvm

Fresh install rvm

#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh
@ankushagarwal
ankushagarwal / osx.md
Last active August 29, 2015 13:56 — forked from g3d/gist:2709563
Mac OS X setup

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt