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
// the missing push/pull classes: | |
.push-1 { | |
right: auto; | |
left: (1/12) * 100%; | |
} | |
.pull-1 { | |
right: (1/12) * 100%; | |
left: auto; | |
} |
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
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ | |
/* | |
* usage: | |
* @import "normalize_custom"; | |
* | |
* // this will print out ALL selectors | |
* @include normalize(); | |
* | |
* // this will print out minimal set (*) -- you can see the list of "excluded" tags below |
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 comments = []; | |
function digDeeper( el, i ){ | |
if ( el.nodeType === 8 ){ | |
comments.push( el.nodeValue.replace( /^\s*|\s*$/g, '' )); | |
return; | |
} | |
if ( ! el || ! el.childNodes || ! el.childNodes.length ){ | |
return; |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Dayle Rees Color Schemes/Peacock.tmTheme", | |
"default_line_ending": "unix", | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"flatland_sidebar_tree_small": true, | |
"flatland_square_tabs": false, | |
"folder_exclude_patterns": |
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 either() { | |
foreach ( func_get_args() as $arg ){ | |
if ( is_string( $arg ) ? !! trim( $arg ) : !! $arg ) { | |
return $arg; | |
} | |
} | |
return 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
{ | |
"scripts": { | |
"start": "nodemon -w . index.js" | |
}, | |
"dependencies": { | |
"nodemon": "~1.0.9" | |
} | |
} |
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 scrollPromise; | |
function scrollFix ( $window, $timeout, $delegate ) { | |
function smoothScroll() { | |
var y = $window.scrollY; | |
if ( y < 5 ) { | |
$window.scrollTo( 0, 0 ); |
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
[ | |
{ | |
"note" : "note 1" | |
}, | |
{ | |
"note" : "note 2" | |
} | |
] |
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
/* global | |
define: false | |
*/ | |
define( function ( ) { | |
'use strict'; | |
function px( cs, prop ) { | |
return parseInt( cs.getPropertyValue( prop ) || 0, 10 ); | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>d3 transition on nested groups</title> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var width = 960; |