I hereby claim:
- I am sumodx on github.
- I am sumod (https://keybase.io/sumod) on keybase.
- I have a public key ASB1sS0jX4fuAlFLFoQPDn9M4OS5zZKt65bS93Siyz82KAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# andrewstuart - https://news.ycombinator.com/item?id=20019874 | |
# Here is a complete implementation: | |
import psycopg2 | |
import psycopg2.extras | |
import random | |
db_params = { | |
'database': 'jobs', | |
'user': 'jobsuser', |
# Thanks to @jeroenjanssens http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html | |
export MARKPATH=$HOME/.marks | |
function jump { | |
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1" | |
} | |
function mark { | |
mkdir -p "$MARKPATH"; ln -s "$(pwd)" "$MARKPATH/$1" | |
} | |
function unmark { |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
__author__ = "Deepak.G.R." | |
__credits__ = "Sumod Hajela" | |
__license__ = 'Public Domain' | |
""" | |
usage: | |
Go to command line and type |