Skip to content

Instantly share code, notes, and snippets.

View rdooley's full-sized avatar
🗿

Rees Dooley rdooley

🗿
  • Shopify
  • Portland, OR
View GitHub Profile
#!/usr/bin/env python2.7
"""
Run all following args iff DST for the Eastern Timezone
is in the position passed in as the first argument
called in the form
run_if_dist_is on command args
XOR
run_if_dist_is off command args
"""
@rdooley
rdooley / pass
Last active June 20, 2018 14:56
It generates passwords. Make long passwords
#!/bin/bash
if [[ $# -lt 2 ]]; then
echo "Minimum length?"
read MIN_PASS_LENGTH
echo "Maximum length?"
read MAX_PASS_LENGTH
else
MIN_PASS_LENGTH=$1
MAX_PASS_LENGTH=$2
fi