Skip to content

Instantly share code, notes, and snippets.

View drewkimrey's full-sized avatar

Drew Kimrey drewkimrey

View GitHub Profile
@drewkimrey
drewkimrey / index.html
Last active September 3, 2015 16:57
meydOE
<input id="test" name="test" class="toggle" checked type="checkbox" />
<label class="toggle--label" for="test">ON/OFF</label>
<br>
<input id="test2" name="test2" class="toggle" type="checkbox" />
<label class="toggle--label toggle--label-large" for="test2">ON/OFF</label>
@media print {
@font-face {
font-family: 'fontello';
src: local('Arial');
}
[class^="icon-"]:before{
content: '';
}
}
# A class-based template for jQuery plugins in Coffeescript
#
# $('.target').myPlugin({ paramA: 'not-foo' });
# $('.target').myPlugin('myMethod', 'Hello, world');
#
# Check out Alan Hogan's original jQuery plugin template:
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template
#
(($, window) ->
@drewkimrey
drewkimrey / gist:5533255
Last active December 17, 2015 02:08 — forked from evansd/gist:1639992
function substitute {
if [ -z "$1" -o -z "$2" ]; then
echo "Usage: substitue FROM_STRING TO_STRING [OPTION]..."
echo
echo "Replace all occurances of FROM_STRING (a sed-compatible regular"
echo "expression) with TO_STRING in all files for which ack matches"
echo "FROM_STRING."
echo
echo "Any additional options are passed directly to ack-grep (e.g.,"
echo " --type=html would only run the substitution on html files)."
@drewkimrey
drewkimrey / Phoenix Dark Blue Fork.tmTheme
Created November 2, 2012 16:47
Phoenix Dark Blue Fork / Brighter comments / high con select
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>http://chriskempson.com</string>
<key>name</key>
<string>Tomorrow Night - Eighties</string>
<key>settings</key>
<array>