Skip to content

Instantly share code, notes, and snippets.

Rob Wilkerson robwilkerson

Block or report user

Report or block robwilkerson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View yarn-install
$ yarn install 0s
yarn install v1.16.0
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > @cmsgov/design-system-core@1.30.3" has unmet peer dependency "prop-types@^15.0.0 || ^16.0.0".
warning "@cmsgov/design-system-core > downshift@1.31.16" has unmet peer dependency "prop-types@>=15".
warning "@cmsgov/medicare-site-package > @cmsgov/design-system-core@1.31.1" has unmet peer dependency "prop-types@^15.0.0 || ^16.0.0".
warning "html-react-parser > react-dom-core@0.0.3" has unmet peer dependency "fbjs@*".
warning "html-react-parser > react-dom-core@0.0.3" has unmet peer dependency "object-assign@*".
@robwilkerson
robwilkerson / okta-info.js
Created Apr 10, 2017
The stages of what I'm seeing
View okta-info.js
// response body from calling /login
{
"message":"Credentials verified. Please send MFA request.",
"data":{
"factors":{
"1f7973e8-0f06-417a-b040-2ad0c863d20c":{
"id":"1f7973e8-0f06-417a-b040-2ad0c863d20c","type":"call","profile":{"phoneNumber":"+1 XXX-XXX-1069"}
},
"b43ac673-464a-4f07-9e2a-024351e247f9":{
"id":"b43ac673-464a-4f07-9e2a-024351e247f9","type":"sms","profile":{"phoneNumber":"+1 XXX-XXX-1069"}
View keybase.md

Keybase proof

I hereby claim:

  • I am robwilkerson on github.
  • I am robwilkerson (https://keybase.io/robwilkerson) on keybase.
  • I have a public key whose fingerprint is E067 9599 5EC2 5788 A626 40AB 1EBE 7ECC E88F 3AC9

To claim this, I am signing this object:

@robwilkerson
robwilkerson / test-output
Created Apr 18, 2016
mocha-eslint test fails
View test-output
$ npm test 2s
> mocha-eslint@2.0.2 test /Users/robwilkerson/Development/npm/mocha-eslint
> node tests/runner
Acceptance: mocha-eslint
1) should pass test for lintSucceed.js
2) should fail test for lintFail.js
@robwilkerson
robwilkerson / fixtures.js
Created Apr 5, 2016
A simple integration test file
View fixtures.js
'use strict';
let Promise = require('bluebird');
let db = require('../config/knexfile')[process.env.NODE_ENV];
let knex = require('knex')(db);
/**
* Loads fixture data. Expects fixture data to be exported by a file in the
* ./fixtures/ directory (e.g. ./fixtures/users.js).
View modem-request.js
/* jshint node:true */
process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;
var http = require('http');
var url = require('url');
var printf = require('util').format;
var Promise = require('bluebird');
var modemRequest = Promise.method(function(modemUrl) {
View sendgrid-result.php
// $result = $sendgrid->send($email);
// var_dump($result);
// This is the dump of $result...
class SendGrid\Response#21 (4) {
public $code =>
int(200)
public $headers =>
class Guzzle\Http\Message\Header\HeaderCollection#52 (1) {
protected $headers =>
array(7) {
@robwilkerson
robwilkerson / vagrant_share_debug.log
Created Oct 14, 2015
VAGRANT_LOG=debug output from `vagrant share`
View vagrant_share_debug.log
$ VAGRANT_LOG=debug vagrant share | tee vagrant_share_debug.log
INFO global: Vagrant version: 1.7.4
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_OLD_ENV_USER="robwilkerson"
INFO global: VAGRANT_OLD_ENV_LOGNAME="robwilkerson"
INFO global: VAGRANT_OLD_ENV_OLDPWD="/Users/robwilkerson/Development/socrates/socrates-dashboard"
INFO global: VAGRANT_OLD_ENV_LESS_TERMCAP_md=""
View index.js
// routes/index.js
module.exports = function(server) {
server.pre(function (req, res, next) {
console.log(req.body); // prints "undefined"
return next();
});
// snip
@robwilkerson
robwilkerson / server.js
Last active Aug 29, 2015
A simple test of restify versioning.
View server.js
/* jshint node:true */
'use strict';
var restify = require("restify"),
server = restify.createServer({ version: '1.0.0' });
server.pre(function (req, res, next) {
console.log('VERSION HEADER: %s', req.headers['accept-version']);
console.log('VERSION VIA RESTIFY: %s', req.version());
You can’t perform that action at this time.