Skip to content

Instantly share code, notes, and snippets.

View steven-p-walsh's full-sized avatar

steve.avax steven-p-walsh

View GitHub Profile
#!/bin/bash
REPOSITORY_DIR=$1
BACKUP_DESTINATION=$2
CURRENTDATE=$(date +"%Y_%m_%d")
BACKUP_ZIP=$BACKUP_DESTINATION$CURRENTDATE".zip"
echo "Backing up under the name of "$CURRENTDATE" to "$BACKUP_ZIP
function backup_mercurial_repo {
#! /usr/bin/python
from scapy.all import *
import sys, ifaddr, os
bad_sites = [
'reddit.com',
'youtube.com',
'news.ycombinator.com',
'wsj.com',