Skip to content

Instantly share code, notes, and snippets.

Hayden Schiff oxguy3

Block or report user

Report or block oxguy3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@oxguy3
oxguy3 / deploy.php
Last active Feb 20, 2020
Script used to automatically deploy from GitHub to a cPanel shared hosting server
View deploy.php
<?php
/**
* deploy.php by Hayden Schiff (oxguy3)
* Available at https://gist.github.com/oxguy3/70ea582d951d4b0f78edec282a2bebf9
*
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal.
* See https://creativecommons.org/publicdomain/zero/1.0/ for terms.
*/
// random string of characters; must match the "Secret" defined in your GitHub webhook
@oxguy3
oxguy3 / RoughScroll.js
Last active Jan 9, 2020
Greasemonkey script for disabling smooth scrolling across the web (WIP! currently breaks a few websites, unfortunately)
View RoughScroll.js
// ==UserScript==
// @name RoughScroll
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Disables smooth scrolling on ALL websites
// @author Hayden Schiff (oxguy3)
// @match *://*/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@oxguy3
oxguy3 / filters.txt
Last active Dec 13, 2019
Custom adblocking filters for removing annoyances
View filters.txt
[Adblock Plus 2.0]
! Title: oxguy3's adblocking filters
! Expires: 1 hour
! Homepage: https://gist.github.com/oxguy3/dda7958f7da766eed9fa
! Licence: http://www.wtfpl.net/txt/copying/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! smooth scrolling
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
View open-directories.md

Open directories

Some of the best open directories I know of:

@oxguy3
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 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 / dark_horse_downloader.js
Last active Sep 19, 2019
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 http://schiff.io/
// @version 0.1
// @description Download a DRM-free copy of your Dark Horse digital comics.
// @author Hayden Schiff (oxguy3)
// @match https://digital.darkhorse.com/read/*
// @match https://digital.darkhorse.com/bookshelf*
// @include https://*.cloudfront.net/*
// @grant GM_xmlhttpRequest
@oxguy3
oxguy3 / 8451eirutility.sh
Last active Apr 29, 2019
Installation script for a launchd daemon that automatically logs into my workplace's wi-fi
View 8451eirutility.sh
#!/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 Mar 1, 2019
A master stylesheet for fixing little frustrations all over the web. Import to your browser with the Stylus extension.
View miscellaneous_cleanup.css
/**
* 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 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": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
@oxguy3
oxguy3 / embiggener.js
Last active Dec 5, 2018
Finds the biggest possible version of any image
View embiggener.js
function runParsers() {
var parsers = [
parseBandcamp,
parseFlickr,
parseSportsEngine,
parseTwitter,
parseWikimedia,
parseYouTube,
];
You can’t perform that action at this time.