Skip to content

Instantly share code, notes, and snippets.

@nmistry
nmistry / keybase.md
Created May 3, 2021 14:26
keybase.md

Keybase proof

I hereby claim:

  • I am nmistry on github.
  • I am nmistry (https://keybase.io/nmistry) on keybase.
  • I have a public key ASCPSfJRpvR5ZI3uTQ7S-hFVeCzkgNTpSVrZEPJ2d-G52Qo

To claim this, I am signing this object:

@nmistry
nmistry / multiples.py
Created July 9, 2016 06:46
Interview Coding Exercise
import random
class Iterator(object):
"""Simple Representation of the Interview Iterator Class"""
def __init__(self, l):
super(Iterator, self).__init__()
self.list = l
self.pointer = 0
@nmistry
nmistry / test_buildpack_build.sh
Last active August 29, 2015 14:13
Testing application code with heroku buildpacks using buildstep and boot2docker
## Thanks to progrium for creating buildstep!
## setup BTD
boot2docker up
$(boot2docker shellinit)
## Grab the BTD ip
BTD_IP=$(boot2docker ip)
## Get your app
@nmistry
nmistry / .netrc
Created April 28, 2014 20:31 — forked from dropwhile/.netrc
# .netrc
## generate token with https://help.github.com/articles/creating-an-oauth-token-for-command-line-use
machine github.com login <token>