I hereby claim:
- I am mitchellsimoens on github.
- I am mitchellsimoens (https://keybase.io/mitchellsimoens) on keybase.
- I have a public key ASCBlXjUMzsk7CXAAGRjD1egdOP1WkdkKqJ9OiIF5B9Lxwo
To claim this, I am signing this object:
import * as yargs from 'yargs'; | |
import './register'; | |
const parser = yargs | |
.showHelpOnFail(false, 'Specify --help for available options') | |
.options({ | |
'check-thresholds': { | |
boolean: true, | |
default: true, |
const { buildSchema, execute, parse } = require('graphql'); | |
const idl = ` | |
type Query { | |
version: String! | |
name: String! | |
} | |
extend type Query { | |
hello: String! |
// https://github.com/aws/aws-sdk-js/issues/1118 | |
const AWS = require('aws-sdk') | |
const instance = new AWS.Lambda() | |
function listFunctionsReally (lambda, params = {}) { | |
return new Promise((resolve, reject) => { | |
const req = lambda.listFunctions(params) | |
const results = [] | |
const { MaxItems = 50 } = params |
I hereby claim:
To claim this, I am signing this object:
{ | |
xtype: 'wsCourseBrowser', | |
id: 'img-chooser-view', | |
region: 'center', | |
reference: 'courseBrowser', | |
listeners: { | |
selectionchange: 'onIconSelect', | |
itemdblclick: 'fireImageSelected' | |
} | |
}, |
Ext.define('MyApp.view.Grid', { | |
extend : 'Ext.grid.Panel', | |
xtype : 'myapp-grid', | |
//... | |
plugins : [ | |
//Bad! | |
Ext.create('Ext.grid.plugin.CellEditing', { | |
clicksToEdit : 1 |
# Things Cmd will touch on a build | |
build/ | |
bootstrap.* |
on theSplit(theString, theDelimiter) | |
-- save delimiters to restore old settings | |
set oldDelimiters to AppleScript's text item delimiters | |
-- set delimiters to delimiter to be used | |
set AppleScript's text item delimiters to theDelimiter | |
-- create the array | |
set theArray to every text item of theString | |
-- restore the old setting | |
set AppleScript's text item delimiters to oldDelimiters | |
-- return the result |
config : { | |
routes : { | |
'record:id' : function(id) { | |
console.log('record', id); | |
}, | |
'comment:id' : function(id) { | |
console.log('comment', id); | |
}, | |
'tab:id' : function(id) { | |
console.log('tab', id); |
Ext.define('MyApp.view.Foo', { | |
extend : 'Ext.Component', | |
xtype : 'myapp-foo', | |
requires : [ | |
'MyApp.view.FooController' | |
], | |
controller : 'foocontroller', |