I hereby claim:
- I am basicdays on github.
- I am basicdays (https://keybase.io/basicdays) on keybase.
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/gatsby-node.js | |
29:18 error Expected to return a value at the end of arrow function consistent-return | |
38:13 error Use object destructuring prefer-destructuring | |
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/cms/preview-templates/AboutPagePreview.js | |
10:3 error propType "entry" is not required, but has no corresponding defaultProp declaration react/require-default-props | |
13:3 error propType "widgetFor" is not required, but has no corresponding defaultProp declaration react/require-default-props | |
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/cms/preview-templates/BlogPostPreview.js |
File Structure | |
============== | |
/ component.json | |
| /lib | |
| /boot | |
| component.json | |
| index.js | |
| /some-model | |
| component.json |
I hereby claim:
<?xml version="1.0"?> | |
<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<!-- | |
In the example below, the "SetAttributes" transform will change the value of | |
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator | |
finds an atrribute "name" that has a value of "MyDB". | |
'use strict'; | |
var MongoClient = require('mongodb').MongoClient; | |
MongoClient.connect('mongodb://localhost/snmp', function(err, db) { | |
if (err) {error(err);} | |
db.collection('rawscandata5', function(err, collection) { | |
if (err) {error(err);} | |
collection.find().count(function(err, result) { | |
if (err) {error(err);} | |
console.log(result); |
'use strict'; | |
var co = require('co'), | |
MongoClient = require('mongodb').MongoClient; | |
function getConnection(connectionString) { | |
return function(next) { | |
MongoClient.connect(connectionString, next); | |
} | |
} |