Skip to content

Instantly share code, notes, and snippets.


Scott Granneman rsgranne

  • WebSanity
  • St. Louis, MO
View GitHub Profile
rsgranne / gist:aa07d7864ea0bd47ae01
Created Aug 11, 2014
Convert contents of current folder to M4V using HandBrakeCLI
View gist:aa07d7864ea0bd47ae01
# USAGE: Run manually
# DESCRIPTION: Converts the contents of the current folder to M4V using HandBrakeCLI
# AUTHOR: Scott Granneman (RSG),
rsgranne / Sublime Linter > Settings - User
Created Jul 2, 2012
CSSLint settings for Sublime Linter > Settings - User
View Sublime Linter > Settings - User
// CSSLint options:
// Each rule can have three values: error|warning|true|false
// false => rule is disabled.
// true => alias to 'error'
// All rules are enabled by default.
// Currently the only difference between warnings and errors is in the prefix of the message in the Sublime status bar.
"adjoining-classes": false,
rsgranne / gist:5a963535890bd6bd55a6
Created Nov 8, 2015
Code listing result for ls -F ~/bin
View gist:5a963535890bd6bd55a6
adblock_filters.txt fixm3u**
addext* flash.xml* pop_login*
address_book.csv getip* procmail/
address_book.sxc homesize* programs_usual*
address_book.xls* quickrename*
View modernizr-link.txt
View brackets-js-hint.txt
"language": {
"javascript": {
"linting.prefer": "JSHint",
"linting.usePreferredOnly": true
rsgranne / private.xml
Created Mar 18, 2016
private.xml for Karabiner to remap Caps Lock to Hyper
View private.xml
<?xml version="1.0"?>
<name>Remap Caps Lock to F19/Hyper</name>
<appendix>Caps Lock to Hyper (Ctrl + Shift + Command + Option)</appendix>
View gist:907e804e727a5fed51e388b2916a9939
Characteristics of the Holy Grail layout:
<li>Fluid center with fixed-width sidebars</li>
<li>Center column containing main content appears first in the HTML</li>
<li>All columns should be the same height, no matter which column is actually tallest</li>
<li>Minimal markup &amp; no hacks</li>
<li>Footer should stick to the bottom of the page even if the content is short</li>
View Responsive Bookmarklet.txt
<a data-viewport="640×960" data-icon="mobile">xs (640)</a><a data-viewport="800×1280" data-icon="tablet">sm (800)</a><a data-viewport="1024x768" data-icon="notebook">md (1024)</a><a data-viewport="1280x800" data-icon="tv">lg (1280)</a>
View git-learn-10
<!doctype html>
<meta charset="UTF-8">
<title>Learning Git Home</title>
<h1>Learning Git</h1>
View dunwich-horror-10
<h1>The Dunwich Horror <small>H.P. Lovecraft</small></h1>
“Gorgons, and Hydras, and Chimaeras—dire stories of Celaeno and the Harpies—may reproduce themselves in the brain of superstition—but they were there before. They are transcripts, types—the archetypes are in us, and eternal. How else should the recital of that which we know in a waking sense to be false come to affect us at all? Is it that we naturally conceive terror from such objects, considered in their capacity of being able to inflict upon us bodily injury? O, least of all! These terrors are of older standing. They date beyond body—or without the body, they would have been the same. . . . That the kind of fear here treated is purely spiritual—that it is strong in proportion as it is objectless on earth, that it predominates in the period of our sinless infancy—are difficulties the solution of which might afford some probable insight into our ante-mundane condition, and a peep at least into the shadowland of pre-existence.”