Skip to content

Instantly share code, notes, and snippets.

View sumodx's full-sized avatar

Sumod Hajela sumodx

View GitHub Profile
@sumodx
sumodx / keybase.md
Created November 21, 2019 14:56
keybase proof

Keybase proof

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:

@sumodx
sumodx / queue.py
Last active May 28, 2019 05:30
Postgres simple queue
# 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',
@sumodx
sumodx / ai-class.py
Created October 21, 2011 12:28 — forked from tundebabzy/ai-class.py
Download lecture videos of ai-class, with basic resume support
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Deepak.G.R."
__credits__ = "Sumod Hajela"
__license__ = 'Public Domain'
"""
usage:
Go to command line and type