I hereby claim:
- I am lvivier on github.
- I am lvivier (https://keybase.io/lvivier) on keybase.
- I have a public key ASAfU8QG9nHVM63j78ZJw9Q5i9jrPigB8-dBXlBw7yCd9Ao
To claim this, I am signing this object:
const html = require('choo/html') | |
const choo = require('choo') | |
function Body(state, emit) { | |
return html` | |
<body> | |
<ul> | |
${state.todos.map(todo => ( | |
html`<li>${todo.label}</li>` | |
))} |
commit 8dc0d08fb1979a6b6de39dbab514a0478cc7a844 | |
Author: Luke Vivier <luke@vivier.ca> | |
Date: Tue Jul 19 15:20:50 2016 -0700 | |
php 5.6 fixes | |
diff --git a/index.php b/index.php | |
index bd3fa0b..023be50 100644 | |
--- a/index.php | |
+++ b/index.php |
I hereby claim:
To claim this, I am signing this object:
Property land use code values:
landUseGeneral | Description |
---|---|
AG | Agricultural |
AP | Apartment Building |
CD | Condominium |
CI | Commercial & Industrial |
CM | Commercial |
CP | Cooperative |
{ | |
"disallowMixedSpacesAndTabs": true, | |
"disallowMultipleLineBreaks": true, | |
"disallowMultipleSpaces": true, | |
"disallowMultipleVarDecl": { | |
"allExcept": ["undefined"] | |
}, | |
"disallowNewlineBeforeBlockStatements": true, | |
"disallowOperatorBeforeLineBreak": ["."], | |
"disallowPaddingNewlinesInBlocks": true, |
<!DOCTYPE html> | |
<h1><%= title %></h1> |
var stylus = require('stylus') | |
module.exports = function (opts) { | |
return function (file, done) { | |
if (file.extension !== 'styl') return done() | |
file.read(function (err, str) { | |
if (err) return done(err) | |
stylus(str, opts) | |
.set('filename', file.filename) |
Test-driven development (TDD) is a concept from [Extreme Programming][xp] and a cornerstone of most agile development methodologies. TDD describes a very short development cycle, which is repeated many times over the development of a module:
The goal of TDD is to produce modules that are easy to use and understand and which are fully documented by a suite of unit tests.
/** | |
* Only CommonJS is cool | |
*/ | |
module.exports = avatar | |
/** | |
* Example: | |
* var avatar = require('avatar') | |
* var auth = new FirebaseSimpleLogin(db, function (err, user) { | |
* user.avatar = avatar(user) |