Skip to content

Instantly share code, notes, and snippets.

View mutewinter's full-sized avatar

Jeremy Mack mutewinter

View GitHub Profile
@mutewinter
mutewinter / twss.coffee
Created May 15, 2013 17:11
Hubot script that uses Skynet to determine if a thing that was said is actually something S.H.E (Silicon Helix Entity) said.
# Description:
# Use Skynet to determine if a thing that was said is actually something
# S.H.E (Silicon Helix Entity) said.
#
# Dependencies:
# "twss": "0.1.6"
#
# Configuration:
# TWSS_ROOMS - Comma separated list of rooms in which to respond
# inappropriately.
@mutewinter
mutewinter / private.xml
Last active December 17, 2015 21:29
private.xml for KeyRemap4MacBook.
<?xml version="1.0"?>
<root>
<item>
<name>F19 to F19</name>
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, send escape)</appendix>
<identifier>private.f192f19_escape</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
KeyCode::COMMAND_L,
@mutewinter
mutewinter / gifify.sh
Last active December 25, 2015 12:29 — forked from SlexAxton/.zshrc
# Sweet Gif Creation from .mov
#
# Adapted from https://gist.github.com/SlexAxton/4989674
gifify() {
if [[ -n "$1" ]]; then
GIF="${1%.*}.gif"
if [[ $2 == '--bad' ]]; then
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $GIF
else
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
@mutewinter
mutewinter / quix.txt
Last active April 25, 2016 20:52 — forked from ttscoff/brettquix.txt
My quix.txt file for http://www.quixapp.com/.
@Web Services
whohosts http://www.whoishostingthis.com/%d Who is hosting this?
uinfo http://geturlinfo.appspot.com/%r?format=json URL Info for domain
down http://downforeveryoneorjustme.com/%s DownforEveryone?
@Bookmarklets
2text javascript:location.href='http://www.aaronsw.com/2002/html2text/?url='+document.location.href; HTML2Text
camel script:https://rawgit.com/mutewinter/Camelmark/master/camelmark.js Search CamelCamelCamel
clip javascript:(function(){x=document.createElement('SCRIPT');x.type='text/javascript';x.src='http://brettterpstra.com/share/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(x);y=document.createElement('LINK');y.rel='stylesheet';y.href='http://brettterpstra.com/share/readability.css?x='+(Math.random());y.type='text/css';y.media='screen';document.getElementsByTagName('head')[0].appendChild(y);})(); Run the Clippable bookmarklet
clipr javascript:(function(e,a,g,h,f,c,b,d)%20{if(!(f=e.jQuery)||g>f.fn
@mutewinter
mutewinter / Window Resizer.md
Last active May 4, 2016 11:00
Window Resizer Settings

My Settings for the Window Resizer Chrome Extension. Import on the Import / Export tab.

@mutewinter
mutewinter / devServer.js
Last active June 13, 2016 13:29
Minimal output from Webpack
var webpack = require('webpack');
var WebpackDevServer = require('webpack-dev-server');
var config = require('./webpack.config');
var PORT = process.env.PORT || 1337;
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
quiet: false,
@mutewinter
mutewinter / userstyle.css
Last active September 22, 2016 15:03
My Flowdock UserStyle. Goes in ~/Library/Application Support/Flowdock/userstyle.css
.emojie {
line-height: 1rem !important;
}
.bubble.thread {
opacity: 0.65;
}
.bubble.green {
border-color: #9554D2 !important;
@mutewinter
mutewinter / YouCompleteMe_dash_support.patch
Last active January 15, 2017 14:39
Add dash and underscore completion for the YouCompleteMe Vim plugin.
diff --git a/ycmd/identifier_utils.py b/ycmd/identifier_utils.py
index 4217fdef..ac91c97b 100644
--- a/ycmd/identifier_utils.py
+++ b/ycmd/identifier_utils.py
@@ -102,6 +102,7 @@ FILETYPE_TO_IDENTIFIER_REGEX = {
}
FILETYPE_TO_IDENTIFIER_REGEX[ 'scss' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ]
+FILETYPE_TO_IDENTIFIER_REGEX[ 'javascript' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ]
FILETYPE_TO_IDENTIFIER_REGEX[ 'sass' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ]