I hereby claim:
- I am davidbanham on github.
- I am davidbanham (https://keybase.io/davidbanham) on keybase.
- I have a public key whose fingerprint is 8428 8E68 6C9A DC59 EC48 CBFA 13F6 3D81 CDB8 59E6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
A common way to write your test script in a package.json is: | |
"scripts": { | |
"test": "mocha" | |
}, | |
But that expects the user to have mocha (or karma, etc) installed globally. A more portable way to do it is call the locally installed runner directly: | |
"scripts": { | |
"test": "./node_modules/.bin/mocha" |
t2 = require 'through2' | |
one = t2.obj (doc, enc, cb) -> | |
doc.speak() | |
doc.foo = -> | |
console.log 'foo' | |
@push doc | |
cb() | |
two = t2.obj (doc, enc, cb) -> |
// To interact with this file, run `node debug repl.js` | |
// If you type `next` it will step to the next line | |
// If you type `cont` it will carry on to the | |
var foo = 'bar'; // You are stopped here. To go to the next line, type `next` | |
var bar = 'baz'; // Now you're here! Typing `next` was a lot of keystrokes, you can also type `n` | |
var baz = 'quux'; // This is still going to take a while. To skip all the way to the next debugger statment, type `cont` | |
var alice = 'bob'; | |
var bob = 'alice'; |
Roles as per grains.item | |
roles: | |
- field-marshal | |
Matcher in top.sls: | |
'role:field-marshal': | |
- match: grain | |
- field-marshal |
ordermentum:PRIMARY> rs.add("mongod2") | |
{ "ok" : 1 } | |
ordermentum:PRIMARY> rs.add("mongod3") | |
{ "ok" : 1 } | |
ordermentum:PRIMARY> rs.status() | |
{ | |
"set" : "ordermentum", | |
"date" : ISODate("2015-04-20T01:28:47.456Z"), | |
"myState" : 1, | |
"members" : [ |
> rs.status() | |
{ | |
"info" : "run rs.initiate(...) if not yet done for the set", | |
"ok" : 0, | |
"errmsg" : "no replset config has been received", | |
"code" : 94 | |
} | |
> |
# Welcome to the InfluxDB configuration file. | |
# If hostname (on the OS) doesn't return a name that can be resolved by the other | |
# systems in the cluster, you'll have to set the hostname to an IP or something | |
# that can be resolved here. | |
# hostname = "" | |
hostname = "influxdb_internal.[redacted]" | |
bind-address = "0.0.0.0" |
Process: Electron [45085] | |
Path: /Users/USER/Downloads/*/Electron.app/./Contents/MacOS/Electron | |
Identifier: com.github.electron | |
Version: 0.28.3 | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [43882] | |
Responsible: iTerm [294] | |
User ID: 501 | |
Date/Time: 2015-06-25 11:33:25.927 +1000 |
level=error,message=Invalid URL requested: /static-classified-data/motor/news-image/Solah1.jpg | |
level=error,message=Invalid URL requested: /static-classified/images/motoring/nissan.gif | |
level=error,message=Invalid URL requested: /static-classified/js/searchbar.js | |
level=error,message=Invalid URL requested: /static-classified/searchprinter.jsp | |
level=error,message=Invalid URL requested: /static-watchlist/watch_list_malay.html | |
level=error,message=Invalid URL requested: /static-classified/images/previous-icon.png | |
level=error,message=Invalid URL requested: /static-classified/images/property/turnberry_villas.gif | |
level=error,message=Invalid URL requested: /static-classified/searchprinter.jsp | |
level=error,message=Invalid URL requested: /static-classified/searchprinter.jsp | |
level=error,message=Invalid URL requested: /static-gtp/gtp_carousel.html |