Skip to content

Instantly share code, notes, and snippets.

View oxguy3's full-sized avatar

Hayden Schiff oxguy3

View GitHub Profile
@oxguy3
oxguy3 / gist:db5b1c799d472f244f23
Last active August 29, 2015 14:24
import jQuery via console (for fiddling with other people's websites)
var f = document.createElement('script');
f.setAttribute("src", "https://code.jquery.com/jquery-1.11.3.min.js")
document.getElementsByTagName("head")[0].appendChild(f);
@oxguy3
oxguy3 / imagemagick-cheatsheet.md
Last active August 29, 2015 14:25
A list of useful commands with ImageMagick

ImageMagick commands reference

Most basic usage (convert file type)

convert SRC DEST
convert -format FORMAT SRC DEST # explicitly define type instead of relying on extensions

Basic functions

Resize image

@oxguy3
oxguy3 / stackoverflow_tag_icons.js
Last active March 17, 2022 18:46
Tampermonkey script for Stack Overflow to replace the names of your favorite tags with compact icons
// ==UserScript==
// @name Stack Overflow tag icons
// @namespace http://schiff.io
// @version 0.1
// @description Replace tag names with pretty icons
// @author Hayden Schiff (oxguy3)
// @match http://stackoverflow.com/*
// @grant none
// ==/UserScript==
=== EASILY INSTALL CHROME ON FEDORA 22 ===
For some reason, Google Chrome is kind of a pain in the butt to install on
Fedora, and then another pain in the butt to make it not have two icons in your
dock. Let's fix that. Just open a Terminal (no, you don't need to be root) and
paste these lines in to get pain-free Google Chrome. After you run this, press
Alt+F2 and type "r" to make GNOME update.
cat << EOF | sudo tee /etc/yum.repos.d/google-chrome.repo
@oxguy3
oxguy3 / bandcamp-to-plex
Last active September 14, 2015 17:53
Converting Bandcamp file names to Plex file names with mmv
mmv "* - * - [0-9][0-9] *.mp3" "#3#4 - #5.mp3"
mmv "* - cover.*" "cover.#2"
@oxguy3
oxguy3 / DRM-free video.md
Last active February 3, 2024 22:27
DRM-free media available for purchase

DRM-free media available for purchase

I think DRM on video content is just awful, but throwing a temper tantrum about it isn't gonna do me any good. So instead of whining about video I can't get DRM-free, I'm gonna celebrate the media I can get without DRM.

DRM-free marketplaces

@oxguy3
oxguy3 / free movies.md
Last active October 13, 2015 17:30
Movies put on YouTube for free by their creators

Free legal movies on YouTube

Movies put on YouTube for free by their creators.

Free to Play by Valve Software

FREE TO PLAY is a feature-length documentary that follows three professional gamers from around the world as they compete for a million dollar prize in the first Dota 2 International Tournament. In recent years, E Sports has surged in popularity to become one of the most widely-practiced forms of competitive sport today. A million dollar tournament changed the landscape of the gaming world and for those elite players at the top of their craft, nothing would ever be the same again. Produced by Valve, the film documents the challenges and sacrifices required of players to compete at the highest level.

Kung Fury by Laser Unicorns

Kung Fury is an over-the-top 80’s action comedy that was crowd funded through Kickstarter. It features Kung Fury, a Kung Fu renegade cop who travels back in time to ki

@oxguy3
oxguy3 / awsconsolehome.css
Last active December 14, 2015 03:37
Highlight the services that are important to you on the AWS Console home page
/**
* HOW TO INSTALL THIS STYLE
*
* This is a user style written for Stylish. To use it, first install the Stylish
* extension for your browser. Once it's installed, go to the "Installed Styles"
* page and click "Write new style". Click the Import button (under the "Mozilla
* Format" heading), then copy-paste the entire contents of this file.
*
* Follow the instructions below to edit this style and customize it to your
* preferences. When you are finished, hit the Save button.
@oxguy3
oxguy3 / county clerk emails.md
Last active January 19, 2016 14:14
Email exchange with a county clerk who didn't get the difference between dollars and cents

The names of the clerk, the county, and the state are all fake for anonymity. I also left out email signatures (except in her first email, because "Sincerely," doesn't make sense without it). Everything else is completely unmodified.


FROM: Hayden Schiff
TO: Jane Doe
DATE: Thursday, 5:46 PM

Hello,

Things to do when you set up a new computer

(Windows) Run Ninite

On Windows, installing lots of software at once is a huge pain. Use Ninite to install most of the basics all at once.

Opt-out of tracking ads

The Digital Advertising Alliance has this page where you can request that you not be tracked by the 120+ ad agencies associated with the DAA.