this is cool
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
/* Normal CSS Stuff*/ | |
html, body { font-size: 16px; } |
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
<!-- show this div between 2:00 and 2:30 September 19 --> | |
<div class="time-based" data-start="September 19, 2013 14:00:00 CDT" data-end="September 19, 2013 14:30:00 CDT">Hello there!</div> | |
<script> | |
$( ".time-based" ).timeBased(); | |
</script> |
Just a tiny gist to illustrate node shares required dependencies between different files that require the same module. Modifying underscore in the parent file modified it for the child files as well.
I use iTerm 2.
I use 15pt Menlo Regular for Powerline, available here.
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 shouldSerialize = (function () { | |
var serialize = false; | |
window.addEventListener( "message", function callback ( e ) { | |
serialize = e.data.sample === true; | |
window.removeEventListener( "message", callback ); | |
}, false); | |
window.postMessage( { sample: true }, "*" ); | |
return serialize; | |
}()); |
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 Lightswitch = machina.Fsm.extend({ | |
initialState: "off", | |
states: { | |
off: { | |
}, | |
on: { |
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
time_the_post_thumbnail( 'l', array( | |
'breakpoints' => array( | |
'0' => 'm 1x, l 2x', | |
'476' => 'l 1x, xxl 2x', | |
'740' => 'xl 1x, xxl 2x', | |
'951' => 'l 1x, xxl 2x' | |
) | |
)); |
NewerOlder