My d3.js playground
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
Calypso eslint warning counts under various values of the | |
"react/jsx-closing-bracket-location" rule: | |
after-props : 7950 | |
tag-aligned : 8509 | |
line-aligned : 8482 | |
(no rule) : 7454 | |
Number of instances of "tag-aligned" or "line-aligned" = 7950 - 7454 ~= 500 | |
Number of instances of "after-props" = ~8500 - 7454 ~= 1000 |
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/client/components/site-selector/index.jsx b/client/components/site-selector/index.jsx | |
index 22e19a3..c1e75bd 100644 | |
--- a/client/components/site-selector/index.jsx | |
+++ b/client/components/site-selector/index.jsx | |
@@ -2,6 +2,7 @@ | |
* External dependencies | |
*/ | |
var React = require( 'react' ), | |
+ ReactDom = require( 'react-dom' ), | |
page = require( 'page' ), |
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
$ ack --markdown '\[[^]]+\]\((?!(#|http))[^)]+(?<!\.md)[)#]' -o | |
client/components/data/cart/README.md | |
4:[cart Flux module](../../../lib/cart/) | |
client/components/data/category-list-data/README.md | |
5:[terms flux store and actions](../../../lib/terms) | |
client/components/data/checkout/README.md | |
4:[checkout components](../../../my-sites/upgrades/checkout/) |
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
// GET /me | |
wpcom('<token>') | |
.me() | |
.get([query], fn); | |
// GET /me/likes | |
wpcom('<token>') | |
.me() | |
.likes([query], fn); |
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
#!/usr/bin/env node | |
var async = require('async'), | |
querystring = require('querystring'), | |
request = require('request'); | |
var requestToken, | |
accessToken; | |
async.series([ |
Presented to CHUGALUG on 11/27/12 by Ed Nanney at the Chattanooga Public Library (4th floor)
He "has an affinity for" with entrepreneurs / small businesses; previously worked for a Fortune 500 company
Elevator speech: Anything worth doing has a certain amount of risk associated with it. Doing business has to do with how effective you are at managing the risks you face. Ed tries to identify and mitigate (unnecessary legal) risks in ways that the client considers acceptable.
People have different appetites for risk
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
<HTML> | |
<HEAD> | |
<META NAME="author" CONTENT="Donald E. Simanek"> | |
<! Copyright 2001 by Donald E. Simanek.> | |
<META NAME="description" content="The fibonacci series misused | |
by addicts of mystical mathematics."> | |
<META NAME="keywords" content = "Fibonacci, golden mean, golden ratio, | |
phi, pseudoscience, mystical mathematics, Institute for Creation Research, ICR, | |
Fred Wilson."> | |
<TITLE>Fibonacci Flim-Flam.</TITLE> |
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 inject(src, callback) { | |
if (typeof callback != 'function') callback = function() { }; | |
var el; | |
if (typeof src != 'function' && /\.css[^\.]*$/.test(src)) { | |
el = document.createElement('link'); | |
el.type = 'text/css'; | |
el.rel = 'stylesheet'; | |
el.href = src; |