I hereby claim:
- I am markstinson on github.
- I am markstinson (https://keybase.io/markstinson) on keybase.
- I have a public key whose fingerprint is 4AE8 451E 2B14 EAC4 B438 9790 7664 0C31 58AC D8CB
To claim this, I am signing this object:
require 'nokogiri' | |
require 'fileutils' | |
require 'active_support/inflector' | |
def friendly_filename(filename) | |
filename.gsub(/[^\w\s_-]+/, '') | |
.gsub(/(^|\b\s)\s+($|\s?\b)/, '\\1\\2') | |
.gsub(/\s/, '_') | |
end |
// | |
// This server will start a bash shell and expose it | |
// over socket.io to a browser. See ./term.html for the | |
// client side. | |
// | |
// You should probably: | |
// | |
// npm install socket.io | |
// curl -O https://github.com/LearnBoost/Socket.IO/raw/master/socket.io.min.js | |
// |
Host * | |
ForwardAgent yes | |
ProxyCommand ~/bin/ssh-proxy.sh %h %p username@jump-host | |
ServerAliveInterval 10 | |
ServerAliveCountMax 600 |
#!/bin/bash | |
foo=`xrandr | grep LVDS` | |
lvds=`echo $foo | cut -d' ' -f1` | |
size=`echo $foo | cut -d' ' -f3` | |
if [ $1 ] | |
then | |
xrandr --output $lvds --mode 1024x600 --scale ${1}x${1} | |
elif [ $2 ] |
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.equalTo; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Arrays; |
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name Indie Royale Bundle Labeler | |
// @include http://www.indieroyale.com/collection | |
// @updateURL https://gist.githubusercontent.com/markstinson/1606fa532246cb6d231d4719db03cebc/raw | |
// @downloadURL https://gist.githubusercontent.com/markstinson/1606fa532246cb6d231d4719db03cebc/raw | |
// @grant none | |
// @version 1.3.1 | |
// ==/UserScript== | |
// update with your username/checksum |
// ==UserScript== | |
// @name Humble Bundle key cache | |
// @include https://www.humblebundle.com/home* | |
// @updateURL https://gist.githubusercontent.com/markstinson/eb377c2c21b3b14c5676d375f619bdad/raw | |
// @downloadURL https://gist.githubusercontent.com/markstinson/eb377c2c21b3b14c5676d375f619bdad/raw | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// @run-at document-end | |
// @version 1.1.4 | |
// ==/UserScript== |
// ==UserScript== | |
// @name Desura Game Labeler | |
// @include http://www.desura.com/collection | |
// @updateURL https://gist.githubusercontent.com/markstinson/60fc05a31360e177283253237fa4c59a/raw | |
// @downloadURL https://gist.githubusercontent.com/markstinson/60fc05a31360e177283253237fa4c59a/raw | |
// @require https://gist.githubusercontent.com/markstinson/cbe66b990811db3346caab8eb2b39ef8/raw | |
// @grant none | |
// @version 1.2.2 | |
// ==/UserScript== |