Skip to content

Instantly share code, notes, and snippets.

View catwith1hat's full-sized avatar

Félinàun Chapeau catwith1hat

View GitHub Profile
#! /usr/bin/env nix-shell
#! nix-shell -i python --packages python3 python3Packages.requests python3Packages.pytz
# catwith1hat@protonmail.com
import argparse
import requests
import json
from datetime import datetime, timedelta
#!/bin/sh
while getopts ":d:" opt; do
case ${opt} in
d )
DEPOSIT_JSON=$OPTARG
;;
\? )
echo "Invalid option: $OPTARG" 1>&2
;;