Skip to content

Instantly share code, notes, and snippets.

nathan todd-stone nathants

Block or report user

Report or block nathants

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View new-password.py
#!/usr/bin/env python3.6
import secrets
import string
import sys
import tty
import termios
import functools
import math
import operator
View keybase.md

Keybase proof

I hereby claim:

  • I am nathants on github.
  • I am nathants (https://keybase.io/nathants) on keybase.
  • I have a public key ASBvsxkJ-Tl1HIlxes6dJ3bGDfOqAhC_HBJXGuglMvDnOgo

To claim this, I am signing this object:

View retry.sh
#!/bin/bash
# define the retry fn
retry() {
e=0
if [[ $- =~ e ]]; then
e=1
fi
set +e
max_tries=10
You can’t perform that action at this time.