- CSS3 is Awesome
- WCBOS 2011: Boaz Sender, Exploding Your WordPress Theme with CSS3 (video)
- Tomorrow, 2pm: George Stephanis, Updating “Kubrick” to CSS3/HTML5
- CSS3 doesn't change the structure of CSS
- Pre-processors created to help manage stylesheets
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
'use strict'; | |
var fs = require( 'fs' ); | |
var csv = require( 'csv' ); | |
var _ = require( 'lodash' ); | |
var parser = csv.parse({ | |
auto_parse: true, | |
skip_empty_lines: true, | |
columns: true, // auto-discover column headers |
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>Untitled Works in the MoMA Collection</title> | |
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script> | |
</head> | |
<body> | |
<svg width="540" height="520"> | |
<style type="text/css"> |
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>Untitled Works in the MoMA Collection</title> | |
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script> | |
</head> | |
<body> | |
<h2>MoMA Acquisition History for Untitled Works</h2> | |
<p><em>Total quantity of untitled works<sup>*</sup> acquired by the Museum of Modern Art in each calendar year between 1935 and 2015</em></p> |
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
year | Architecture & Design | Drawings | Film | Fluxus Collection | Media and Performance Art | Painting & Sculpture | Photography | Prints & Illustrated Books | total | untitled | |
---|---|---|---|---|---|---|---|---|---|---|---|
1929 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 | 9 | 0 | |
1930 | 0 | 2 | 0 | 0 | 0 | 5 | 0 | 1 | 8 | 0 | |
1931 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 3 | 0 | |
1932 | 2 | 3 | 0 | 0 | 0 | 1 | 1 | 10 | 17 | 0 | |
1933 | 0 | 0 | 0 | 0 | 0 | 2 | 92 | 2 | 96 | 0 | |
1934 | 45 | 19 | 0 | 0 | 0 | 20 | 2 | 168 | 254 | 0 | |
1935 | 23 | 306 | 4 | 0 | 0 | 22 | 24 | 33 | 412 | 182 | |
1936 | 88 | 27 | 4 | 0 | 0 | 25 | 0 | 4 | 148 | 0 | |
1937 | 193 | 25 | 1 | 0 | 0 | 35 | 57 | 6 | 317 | 6 |
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
<?php | |
/* | |
THE GOAL: | |
Programmatically specify routes critical to the successful functioning | |
of the application, without any requirement for pages to be set up that | |
use specific templates or have specific names | |
THIS APPROACH: |
I have been writing JavaScript for 14 years now, and I have never once found need to use an
uber
function. The super idea is fairly important in the classical pattern, but it appears to be unnecessary in the prototypal and functional patterns. I now see my early attempts to support the classical model in JavaScript as a mistake. [Ed.: Emphasis Added]
~ Douglas Crockford, in addendum to Classical Inheritance in JavaScript
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 findTextNodes( node ) { | |
var text = []; | |
if ( node.nodeType === 3 ) { | |
text.push( node.nodeValue ); | |
// TODO: Filter out carriage returns, whitespace. | |
// POSSIBLE TODO: Restrict to nodes within the main content area of the page? (so don't get ads, etc) | |
} else { | |
for ( var i = 0, max = node.childNodes.length; i < max; i++ ) { | |
text = text.concat( findTextNodes( node.childNodes[i] ) ); | |
} |
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
"flight/utils", [] | |
"flight/compose", [] | |
"flight/advice", ["./utils", "./compose"] | |
"flight/registry", ["./utils"] | |
"flight/component", ["./advice", "./utils", "./compose", "./registry"] | |
"data/with_client", [] | |
"data/accounts", ["flight/component", "data/with_client"] | |
"data/column_manager", ["flight/component"] | |
"data/embed_tweet", ["flight/component", "data/with_client"] | |
"util/with_version_comparator", [] |
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
module.directive('myDirective', [ | |
'$compile', | |
'$location', | |
'Notify', | |
'sharedData', | |
function( | |
$compile, | |
$location, | |
Notify, | |
sharedData |