Skip to content

Instantly share code, notes, and snippets.


Hayden Schiff oxguy3

View GitHub Profile
oxguy3 /
Created Apr 10, 2020
Command-line tool for retrieving the listing of a public S3 bucket and saving it to a CSV file
#! /usr/bin/env python3
from lxml import etree
import requests
import argparse
import csv
from pprint import pprint
import time
import urllib3
View ffmpeg

Open directories

Some of the best open directories I know of:

oxguy3 / archiveteam-tracker-log-cleaner.user.js
Last active Dec 10, 2019
userscript to make the log for ArchiveTeam's tracker a little bit easier to read
View archiveteam-tracker-log-cleaner.user.js
// ==UserScript==
// @name ArchiveTeam tracker log cleaner
// @namespace
// @version 0.1
// @description make the log for the AT tracker a little bit easier to read
// @author Hayden Schiff (oxguy3)
// @match*
// @match*
// @grant none
// ==/UserScript==
oxguy3 / embiggener.js
Last active Dec 5, 2018
Finds the biggest possible version of any image
View embiggener.js
function runParsers() {
var parsers = [
oxguy3 / Humble Bundle Android.postman_collection.json
Created Jul 21, 2017
A Postman collection for accessing your Humble Bundle purchases via the Android app's API. Download and import to Postman.
View Humble Bundle Android.postman_collection.json
"variables": [],
"info": {
"name": "Humble Bundle Android",
"_postman_id": "4279719d-083a-5656-6524-c00e77975f62",
"description": "",
"schema": ""
"item": [
oxguy3 / dark_horse_downloader.js
Last active Aug 2, 2020
Greasemonkey script for downloading a DRM-free copy of your Dark Horse digital comics
View dark_horse_downloader.js
// ==UserScript==
// @name Dark Horse Downloader
// @namespace
// @version 0.1
// @description Download a DRM-free copy of your Dark Horse digital comics.
// @author Hayden Schiff (oxguy3)
// @match*
// @match*
// @include https://**
// @grant GM_xmlhttpRequest
View common.php
function printHead() {
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
oxguy3 /
Last active Apr 29, 2019
Installation script for a launchd daemon that automatically logs into my workplace's wi-fi
function run8451eir
if [ -a ~/Library/LaunchAgents/local.8451login.plist ]; then
promptun="$(osascript -e 'Tell application "System Events" to display dialog "Looks like 84.51 EiR Utility is already installed; do you want to uninstall it?" default button 1 buttons {"Yes", "No"} with icon caution' 2>/dev/null)"
if [ "$promptun" = "button returned:Yes" ]; then
rm ~/Library/Application\ Support/
launchctl unload ~/Library/LaunchAgents/local.8451login.plist
oxguy3 / media
Last active Mar 8, 2017
Commands for downloading and managing TV/movies/etc
View media



youtube-dl --netrc -f best --write-sub --sub-lang enUS --write-thumbnail -o '%(series)s - s01e%(episode_number)s - %(episode)s.%(ext)s'
mmv "*s01e? -*" "#1s01e0#2 -#3"
mmv "*.enUS.ass" "#1.en.ass"

alt version since crunchyroll login is broken rn:

youtube-dl --cookies ~/crunchyroll-cookies.txt -f best --write-sub --sub-lang enUS --write-thumbnail -o '%(series)s - s01e%(episode_number)s - %(episode)s.%(ext)s'
You can’t perform that action at this time.