Drink | Caffeine (mg/fl.oz.) |
---|---|
Brewed Coffee | 20.375 |
Espresso | 51.33 |
Dr. Pepper | 3.42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd /home/web/site_orig | |
git pull origin 4.0 | |
echo 'Building Jekyll site.' | |
bundle install && rake build | |
rm -rf /home/web/site/* | |
cp -r _site/* /home/web/site/ | |
echo 'Done!' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
--- | |
// other styles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def osascript(script) | |
system 'osascript', *script.split(/\n/).map { |line| ['-e', line] }.flatten | |
end | |
osascript <<-END | |
tell application "Finder" | |
display dialog "Hello" | |
end tell | |
END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// returns true or false if near the bottom of a page | |
var nearEnd = function(threshold) { | |
return $(window).scrollTop() + $(window).height() + threshold >= $(document).height() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) | |
* http://cssreset.com | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// responsiveness | |
@mixin breakpoint($point) { | |
@if $point == morbidly-obese-bear { | |
@media (min-width: 1601px) { @content; } | |
} | |
@if $point == papa-bear { | |
@media (max-width: 1600px) { @content; } | |
} | |
@else if $point == mama-bear { | |
@media (max-width: 1250px) { @content; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pv -tpreb ~/path/to/foo.img | sudo dd of=/dev/rdisk2 bs=1m |
I hereby claim:
- I am jesseherrick on github.
- I am jesseherrick (https://keybase.io/jesseherrick) on keybase.
- I have a public key whose fingerprint is 28E9 77CE AB9B D9D4 929A 60F5 CC7B F739 4445 BE75
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ ^/(.+?)(/.*)?$ { | |
alias /home/$1/www$2; | |
index index.html; | |
autoindex on; | |
} |