Skip to content

Instantly share code, notes, and snippets.

View mitchellsimoens's full-sized avatar

Mitchell Simoens mitchellsimoens

View GitHub Profile
@mitchellsimoens
mitchellsimoens / Main.js
Created September 16, 2014 21:02
Move listeners to Main.js
{
xtype: 'wsCourseBrowser',
id: 'img-chooser-view',
region: 'center',
reference: 'courseBrowser',
listeners: {
selectionchange: 'onIconSelect',
itemdblclick: 'fireImageSelected'
}
},

Keybase proof

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:

@mitchellsimoens
mitchellsimoens / index.js
Last active January 20, 2021 21:50
Workaround MaxItems not working for AWS Lambda listFunctions method
// 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
@mitchellsimoens
mitchellsimoens / buildAST.js
Created February 1, 2019 13:53
buildAST.js
const { buildSchema, execute, parse } = require('graphql');
const idl = `
type Query {
version: String!
name: String!
}
extend type Query {
hello: String!
@mitchellsimoens
mitchellsimoens / index.ts
Created October 1, 2019 20:58
Testing yargs for Gimbal
import * as yargs from 'yargs';
import './register';
const parser = yargs
.showHelpOnFail(false, 'Specify --help for available options')
.options({
'check-thresholds': {
boolean: true,
default: true,