Skip to content

Instantly share code, notes, and snippets.

Avatar

Hayden Schiff oxguy3

View GitHub Profile
@oxguy3
oxguy3 / filters.txt
Last active Mar 16, 2020
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 keybase.md

Keybase proof

I hereby claim:

  • I am oxguy3 on github.
  • I am oxguy3 (https://keybase.io/oxguy3) on keybase.
  • I have a public key whose fingerprint is 754F FF90 7E28 2085 32E5 BE86 D902 728B 9E15 BA71

To claim this, I am signing this object:

@oxguy3
oxguy3 / Clark County NV building permits without IE.js
Last active Dec 29, 2015
Clark County NV's building permits report generator relies on clientside VBScript to work. Since this isn't 2002 and since I'm not using Internet Explorer, I ported (some of) that code to JavaScript (via a TamperMonkey script) so the website is usable.
View Clark County NV building permits without IE.js
// ==UserScript==
// @name Make Clark County NV building permits IE-free
// @namespace http://tampermonkey.net/
// @version 0.1
// @description For some awful reason, Clark County uses clientside VBScript. This is a drop-in JavaScript replacement for that code.
// @author Hayden Schiff (oxguy3)
// @match http://dsnet.co.clark.nv.us/dsreports/bldgpermits.asp
// @grant unsafeWindow
// ==/UserScript==
/* jshint -W097 */
@oxguy3
oxguy3 / codefonts.md
Last active Dec 30, 2015
Some very nice fonts to write code in
View codefonts.md

code fonts

Some very nice fonts to write code in

the fonts

3270font

get it
Recreation of the IBM 3270 terminal font

@oxguy3
oxguy3 / google sheets better formulas.md
Last active Jan 8, 2016
scratchpad of ideas for making Google Sheets formulas much nicer
View google sheets better formulas.md

Google Sheets better formulas idea

Basically, I passionately hate the cramped awkward language that Google Sheets uses for formulas. Wouldn't it be super cool if there were a much nicer language you could work with that compiled back into Google Sheets? It'd be like CoffeeScript, but for Google Sheets, and with a browser extension so you could do it all seamlessly in Google Sheets.

So first off, there's some basic obvious stuff you'd want to do:

  • Pretty printing: split across multiple lines, add indentation, add color coding
  • Cleaner logical operators: replace AND(x,y) with x && y, replace IF(a,b,c) with something like if (a) { b } else { c }, etc.
  • Better function names: kill the ALL CAPS regime, and give things clearer names (for example, why the hell does FIND() mean case-sensitive search and SEARCH() means case-insensitive search?? how are you supposed to remember which is which??)

Beyond that basic cleanup, there's some further really complicated (but really convenient) stuff you coul

@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 / figlol.sh
Last active Feb 24, 2016
bash script for giant animated rainbow text in your terminal
View figlol.sh
# Run `figlol <your message...>` to start it. To stop, mash ^C til it terminates, then run `unfiglol` to clean up.
# It's sorta derpy on some terminal window sizes; you might need to adjust it.
# Requires figlet (`brew/yum/dnf/apt-get install figlet`) and lolcat (`gem install lolcat`)
figlol() {
echo $@ | figlet -w `tput cols` -c -f doh > /tmp/figlol.txt;
clear;
tput civis;
i=1;
while true; do
@oxguy3
oxguy3 / RoughScroll.js
Last active Apr 3, 2021
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 / watchlist.enwiki.txt
Last active Sep 1, 2017
My English Wikipedia watchlist (backed up here just in case)
View watchlist.enwiki.txt
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 / adblock_whitelist.txt
Last active Mar 3, 2017
whitelist for my adblocker
View adblock_whitelist.txt
192.168.1.32
about-scheme
achievementhunter.com
adf.ly
analytics.google.com
app.plex.tv
arstechnica.com
asdf.com
askubuntu.com
bandcamp.com