Skip to content

Instantly share code, notes, and snippets.

View oxguy3's full-sized avatar

Hayden Schiff oxguy3

View GitHub Profile

Open directories

Some of the best open directories I know of:

@oxguy3
oxguy3 / archiveteam-tracker-log-cleaner.user.js
Last active December 10, 2019 02:44
userscript to make the log for ArchiveTeam's tracker a little bit easier to read
// ==UserScript==
// @name ArchiveTeam tracker log cleaner
// @namespace https://schiff.io/
// @version 0.1
// @description make the log for the AT tracker a little bit easier to read
// @author Hayden Schiff (oxguy3)
// @match http://tracker-test.ddns.net/*
// @match http://tracker.archiveteam.org/*
// @grant none
// ==/UserScript==
@oxguy3
oxguy3 / 8451eirutility.sh
Last active April 29, 2019 18:58
Installation script for a launchd daemon that automatically logs into my workplace's wi-fi
#!/bin/bash
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/8451login.sh
launchctl unload ~/Library/LaunchAgents/local.8451login.plist
@oxguy3
oxguy3 / miscellaneous_cleanup.css
Last active March 1, 2019 16:26
A master stylesheet for fixing little frustrations all over the web. Import to your browser with the Stylus extension.
/**
* Strike out links to certain websites to avoid accidentally visiting them.
*/
a[href*="//forbes.com"], a[data-href*="//forbes.com"], a[data-full-url*="//forbes.com"],
a[href*="//www.forbes.com"], a[data-href*="//www.forbes.com"], a[data-full-url*="//www.forbes.com"],
a[href*="//onforb.es"], a[data-href*="//onforb.es"], a[data-full-url*="//onforb.es"],
a[href*="//bizjournals.com"], a[data-href*="//bizjournals.com"], a[data-full-url*="//bizjournals.com"],
a[href*="//www.bizjournals.com"], a[data-href*="//www.bizjournals.com"], a[data-full-url*="//www.bizjournals.com"],
a[href*="//wired.com"], a[data-href*="//wired.com"], a[data-full-url*="//wired.com"],
a[href*="//www.wired.com"], a[data-href*="//www.wired.com"], a[data-full-url*="//www.wired.com"],
@oxguy3
oxguy3 / Humble Bundle Android.postman_collection.json
Created July 21, 2017 18:37
A Postman collection for accessing your Humble Bundle purchases via the Android app's API. Download and import to Postman.
{
"variables": [],
"info": {
"name": "Humble Bundle Android",
"_postman_id": "4279719d-083a-5656-6524-c00e77975f62",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
@oxguy3
oxguy3 / embiggener.js
Last active December 5, 2018 17:23
Finds the biggest possible version of any image
function runParsers() {
var parsers = [
parseBandcamp,
parseFlickr,
parseSportsEngine,
parseTwitter,
parseWikimedia,
parseYouTube,
];
@oxguy3
oxguy3 / flickr2commons_todo.md
Last active November 26, 2017 23:46
things I want to add/change/fix in flickr2commons

flickr2commons to-do list

Trivial fixes

  • Make all the input boxes wider
  • Fix "select all" functionality (you can de-select all/all-with-tag, but you can't select all/all-with-tag)
  • Un-hide the label for the "don't use automatic description from flickr" checkbox

Minor features/additions

  • If an upload fails, re-show the checkbox so that the user can fix the issue and try again.
  • Allow the user to change how the author is credited
@oxguy3
oxguy3 / watchlist.enwiki.txt
Last active September 1, 2017 00:47
My English Wikipedia watchlist (backed up here just in case)
2017 FC Cincinnati season
ASafaWeb
Alan Koch (soccer)
Atlantic Coast Conference Men's Soccer Offensive Player of the Year
Butler County OH
CSP Industries
Camp Camp
Carl H. Linder III
Carl H. Lindner III
Carl Henry Linder III
@oxguy3
oxguy3 / media commands.md
Last active March 8, 2017 04:36
Commands for downloading and managing TV/movies/etc

youtube-dl

Crunchyroll

youtube-dl --netrc -f best --write-sub --sub-lang enUS --write-thumbnail -o '%(series)s - s01e%(episode_number)s - %(episode)s.%(ext)s' http://www.crunchyroll.com/relife
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' http://www.crunchyroll.com/relife