Skip to content

Instantly share code, notes, and snippets.

Avatar

Hayden Schiff oxguy3

View GitHub Profile
@oxguy3
oxguy3 / gist:db5b1c799d472f244f23
Last active Aug 29, 2015
import jQuery via console (for fiddling with other people's websites)
View gist:db5b1c799d472f244f23
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 Aug 29, 2015
A list of useful commands with ImageMagick
View imagemagick-cheatsheet.md

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 Aug 29, 2015
Tampermonkey script for Stack Overflow to replace the names of your favorite tags with compact icons
View stackoverflow_tag_icons.js
// ==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==
View chrome on fedora 22.txt
=== 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 Sep 14, 2015
Converting Bandcamp file names to Plex file names with mmv
View bandcamp-to-plex
mmv "* - * - [0-9][0-9] *.mp3" "#3#4 - #5.mp3"
mmv "* - cover.*" "cover.#2"
@oxguy3
oxguy3 / DRM-free video.md
Last active Oct 13, 2015
DRM-free media available for purchase
View DRM-free video.md

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 Oct 13, 2015
Movies put on YouTube for free by their creators
View free movies.md

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 Dec 14, 2015
Highlight the services that are important to you on the AWS Console home page
View awsconsolehome.css
/**
* 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.
View new computer.md

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.

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: