Skip to content

Instantly share code, notes, and snippets.

View chilts's full-sized avatar

Andrew Chilton chilts

View GitHub Profile
diff --git a/mailer.js b/mailer.js
index d5a46c6..5518639 100644
--- a/mailer.js
+++ b/mailer.js
@@ -67,6 +67,13 @@ module.exports = function (config, log) {
var p = P.defer()
var remaining = config.i18n.supportedLanguages.length * types.length;
+
+ function checkRemaining() {
@chilts
chilts / npm-ls-after-npm-dedupe.txt
Last active August 29, 2015 13:57
npm ls inside fxa-content-server
fxa-content-server@0.0.5 /home/chilts/src/chilts-fxa-content-server
├── abbrev@1.0.4
├─┬ argparse@0.1.15
│ ├── underscore@1.4.4
│ └── underscore.string@2.3.3
├── aws-sign@0.3.0
├── aws-sign2@0.5.0 extraneous
├── bluebird@1.0.7
├─┬ bower@1.2.8
│ ├── archy@0.0.2
return Client.create(config.publicUrl, 'a+b+c@example.com', pwd)
.then(
function (c) {
return c.destroyAccount()
},
function (err) {
t.equal(err.errno, 101, 'unusual email is not invalid')
}
)
test(
'/account/create with a variety of malformed email addresses',
function (t) {
var pwd = '123456'
// See: http://en.wikipedia.org/wiki/Email_address#Valid_email_addresses
var emails = [
'notAnEmailAddress',
'\n@example.com',
'me@hello world.com',
@chilts
chilts / keybase.md
Created March 26, 2014 03:48
Keybase Proof

Keybase proof

I hereby claim:

  • I am chilts on github.
  • I am chilts (https://keybase.io/chilts) on keybase.
  • I have a public key whose fingerprint is 233F 80A4 462A B14B AB46 9504 B382 E549 5685 997E

To claim this, I am signing this object:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.11 (GNU/Linux)
hQEMA1m/rf1rAzwlAQf+IYlOAq4XOQy2dl8BkBWv3/Pa8kB0r2vpOf2eOZ7pzVK8
qWWTOPRetBFqmfsJJlx5q4Y2VA/FOazZZCYi2/2hB/tLRBziLN3t88hpgbYKjuOr
neir4jBbCkfQ8fqCa7gO+x3juQvjhVILLecIPsbNf/hzsiRCIajvI1YirncrkfIT
5z+ZDcntKsCOTgN76HHN0mG9XnvKLGEqQUp1klVb9HarsEd1VMtk5v/YO3Y+9qqh
zQWt3LdieyPDBuhHud0nH9AVOvS71+jf7htKghYB1Tq40VYJVZsc47i8FqAvTuVL
RazWermyYm1LjMsTWzWrkSGOfYfiPNxxVWt+v4BMe9J4AUIDuajXVn0KPWfxp1go
FT6OwliVCktx2qFO+3GpvpnTHUcjP0uQa/nVx1SUHXfLwWLV415dt61RL1RYzA59
@chilts
chilts / housekeeping.txt
Created September 17, 2014 21:33
Housekeeping
Each repo:
* README.md
* package.json
* description
* repository
* author
* license
* homepage
* bugs
$ node client.js
--- signUp ---
{
"uid": "8bc2add5218d4f10971a139a54ad6a4f",
"sessionToken": "00b4e46c5e94fdec7726ea1bc145363ba8174c8794d470134b6bf1f1364ce5d6",
"authAt": 1427337145
}
prompt: code: fdfe175d9f20fa0d3e1d8e7a61dfa481
--- verifyCode ---
{}
@chilts
chilts / json-verify
Last active September 2, 2015 10:25
My Release Procedures
#!/usr/bin/env node
// core
var fs = require('fs');
try {
var json = fs.readFileSync(process.argv[2]).toString('utf8');
} catch (e) {
console.log('json-verify: ' + e);
process.exit(2);
@chilts
chilts / out.txt
Created September 22, 2015 11:57
./make.all
chilts@ant:~/go/src$ time env GO_TEST_TIMEOUT_SCALE=10 GOROOT_BOOTSTRAP=$HOME/go-linux-arm-bootstrap ./all.bash
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /home/chilts/go-linux-arm-bootstrap.
bootstrap/internal/obj
bootstrap/asm/internal/flags
bootstrap/compile/internal/big
bootstrap/internal/gcprog
bootstrap/internal/obj/arm