This file contains 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
/** | |
* Made with ♥ by Elliott Foster | |
* @elliotttf | |
*/ | |
var go = (function(window, document) { | |
function replacer(match, p1, p2, p3, offset, string) { | |
var ret = p1 + p2.charAt(0).toUpperCase() + p2.slice(1) + p3; | |
return ret; | |
} | |
This file contains 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
--- desktop.html 2013-02-07 13:49:37.000000000 -0600 | |
+++ mobile.html 2013-02-07 13:48:44.000000000 -0600 | |
@@ -1,12 +1,12 @@ | |
<picture data-alt="Can't wait for this breakfast."> | |
<!-- <source src="http://fullplateliving.org/sites/default/files/styles/super__mobile/public/recipes/banner_images/20121023-dsc_3523.jpg" width="480" height="162"> --> | |
<source src="http://fullplateliving.org/sites/default/files/styles/super__mobile/public/recipes/banner_images/20121023-dsc_3523.jpg" width="480" height="162"> | |
<!-- <source src="http://fullplateliving.org/sites/default/files/styles/super__mobile/public/recipes/banner_images/20121023-dsc_3523.jpg" media="(min-width: 320px)"> --> | |
<source src="http://fullplateliving.org/sites/default/files/styles/super__mobile/public/recipes/banner_images/20121023-dsc_3523.jpg" media="(min-width: 320px)"> | |
<!-- <source src="http://fullplateliving.org/sites/default/files/styles/super__full/public/recipes/banner_images/20121023-dsc_3523.jpg" media="(min-width: 768px)"> --> | |
<so |
This file contains 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
app.router.post('/', function() { | |
var loopString = ''; | |
this.req.chunks.forEach(function(chunk) { | |
loopString += chunk; | |
}); | |
if (this.req.chunks.toString() !== loopString) { | |
this.res.end('WAT?'); | |
return; | |
} | |
this.res.end('yay'); |
This file contains 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
diff --git a/app.js b/app.js | |
index 6009506..6f050ff 100644 | |
--- a/app.js | |
+++ b/app.js | |
@@ -4,32 +4,25 @@ | |
*/ | |
var express = require('express') | |
- , routes = require('./routes') | |
- , user = require('./routes/user') |
This file contains 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
var out = 'Hello' + false ? 'WAT.' : 'world.'; |
This file contains 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
(function($) { | |
if (!$('#selector').hasClass('active')) { | |
// Do thangs. | |
} | |
}(jQuery)); |
This file contains 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
{ | |
"name": "hosted-hubot", | |
"version": "2.1.4", | |
"author": "GitHub Inc.", | |
"keywords": "github hubot campfire bot", | |
"description": "A simple helpful Robot for your Company", | |
"licenses": [{ | |
"type": "MIT", | |
"url": "http://github.com/github/hubot/raw/master/LICENSE" | |
}], |
This file contains 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
Order allow,deny | |
Allow from all |
This file contains 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
var supportsOrientationChange = "onorientationchange" in window; | |
var orientationEvent = supportsOrientationChange ? "orientationchange" : "resize"; | |
window.addEventListener( | |
orientationEvent, function() { | |
window.location.reload() | |
}, | |
false | |
); |
This file contains 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
<thing> | |
<date year="2011" month="8" date="4" day="4"/> | |
<time hour="22" minute="15" second="7" timezone="Eastern" utc-hour="-4" utc-minute="00"/> | |
<!-- ... --> | |
</thing> |