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.
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
Consolidated lists of CSS properties that are inherited by default. | |
Taken from http://www.w3.org/TR/CSS21/propidx.html | |
-------------------------------------------------------------------- | |
One item not in the list was "text-decoration" which affects child elements. A few new properties (text-shadow) also affect child elements | |
List | |
azimuth | |
border-collapse |
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
/* CSS Dice: An Experiment by Jonathan Sampson - @jonathansampson */ | |
.die.one:after { | |
box-shadow: 0 .2em 0 #FFF | |
} | |
.die.two:after { | |
background: transparent; | |
box-shadow: -2.3em -2.3em 0 #345, | |
2.3em 2.3em 0 #345, | |
-2.3em -2.3em 0 #FFF, | |
2.3em 2.4em 0 #FFF |
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> |
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
/*! | |
* jQuery TextChange Plugin | |
* http://www.zurb.com/playground/jquery-text-change-custom-event | |
* | |
* Copyright 2010, ZURB | |
* Released under the MIT License | |
*/ | |
(function ($) { | |
$.event.special.textchange = { |
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: { |
NewerOlder