Skip to content

Instantly share code, notes, and snippets.

View danaspiegel's full-sized avatar

Dana Spiegel danaspiegel

View GitHub Profile
@danaspiegel
danaspiegel / zdl.py
Last active September 10, 2023 20:54
Zoom Recording Downloader
#!/usr/bin/env python3
import os
import requests
import itertools
from dateutil.parser import parse
API_KEY = ''
API_SECRET = ''
@danaspiegel
danaspiegel / gist:0acf81eb246c246b59fa
Last active August 29, 2015 14:17
Selenium on EC2 startup script
#!/bin/bash
# from http://pietervogelaar.nl/ubuntu-14-04-install-selenium-as-service-headless
#
# To setup selenium on Ubuntu, execute the following code:
#
# wget -q -O - "https://dl-ssl.google.com/linux/linux_signing_key.pub" | sudo apt-key add -
# sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list'
# sudo apt-get update
@danaspiegel
danaspiegel / pre-commit
Created December 24, 2012 02:18 — forked from spulec/pre-commit
#!/usr/bin/env python
import os
import re
import subprocess
import sys
modified = re.compile('^(?:M|A)(\s+)(?P<name>.*)')
CHECKS = [
@danaspiegel
danaspiegel / gist:3105761
Created July 13, 2012 16:19
Git pre-commit hook to check pep8 and pyflakes
#!/usr/bin/python
# borrowed from https://github.com/lbolla/dotfiles/blob/master/githooks/pre-commit
import os
import sys
import re
import subprocess