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
// Natural Numbers | |
interface Zero { | |
isZero: true; | |
} | |
interface Successor<N extends Nat> { | |
prev: N; | |
isZero: false; | |
} | |
type Nat = Zero | Successor<Nat>; |
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
// Natural Numbers | |
interface Zero { | |
isZero: true; | |
} | |
interface Successor<N extends Nat> { | |
prev: N; | |
isZero: false; | |
} | |
type Nat = Zero | Successor<Nat>; |
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
yarn test | |
yarn run v1.7.0 | |
$ react-scripts test --env=jsdom --runInBand | |
2018-07-10 11:10 node[865] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) | |
2018-07-10 11:10 node[865] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) | |
2018-07-10 11:10 node[865] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) | |
events.js:167 | |
throw er; // Unhandled 'error' event | |
^ |
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
0x2b65995251180A285caDE992Bfc56B3c7F11CE98 |
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
zachbook ~/moz/fxa-content-server (update-convict)$ npm shrinkwrap | |
npm ERR! Darwin 13.4.0 | |
npm ERR! argv "node" "/Users/zcarter/.nvm/v0.10.26/bin/npm" "shrinkwrap" | |
npm ERR! node v0.10.26 | |
npm ERR! npm v2.1.3 | |
npm ERR! Problems were encountered | |
npm ERR! Please correct and try again. | |
npm ERR! missing: ansi-regex@^0.2.0, required by [email protected] | |
npm ERR! missing: ansi-regex@^0.2.1, required by [email protected] |
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/lib/lookup.js b/lib/lookup.js | |
index c6e967d..7192e5e 100644 | |
--- a/lib/lookup.js | |
+++ b/lib/lookup.js | |
@@ -19,7 +19,7 @@ const DEFAULT_PORTS = { | |
// like https.get() but transparently supports the | |
// $https_proxy and $no_proxy environment variables. | |
var getWithTransparentProxying = function(options, cb) { | |
- var httpmod = https; | |
+ var httpmod = http; |
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/lib/lookup.js b/lib/lookup.js | |
index c6e967d..7192e5e 100644 | |
--- a/lib/lookup.js | |
+++ b/lib/lookup.js | |
@@ -19,7 +19,7 @@ const DEFAULT_PORTS = { | |
// like https.get() but transparently supports the | |
// $https_proxy and $no_proxy environment variables. | |
var getWithTransparentProxying = function(options, cb) { | |
- var httpmod = https; | |
+ var httpmod = http; |
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
> [email protected] start /Users/zcarter/moz/fxa-oauth-server | |
> grunt server --node-env=dev | |
Running "nodemon:dev" (nodemon) task | |
[nodemon] v1.0.17 | |
[nodemon] to restart at any time, enter `rs` | |
[nodemon] watching: *.* | |
[nodemon] starting `node bin/server.js` | |
{"level":40,"levelname":"INFO","hostname":"zachbook","name":"fxa.bin.server","pid":6975,"time":"2014-05-07T01:03:55.874Z","v":1,"msg":"Server started at: http://127.0.0.1:9010"} |
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
### Keybase proof | |
I hereby claim: | |
* I am zaach on github. | |
* I am zii (https://keybase.io/zii) on keybase. | |
* I have a public key whose fingerprint is 25BD 0751 ACE8 7878 4D4E 7A2A 9CFB E9E8 B735 4118 | |
To claim this, I am signing this object: |
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 json = require('./languages_all'); | |
Object.keys(json).forEach(function(key) { | |
console.log(key); | |
}); |
NewerOlder