I hereby claim:
- I am tjmehta on github.
- I am tjmehta (https://keybase.io/tjmehta) on keybase.
- I have a public key ASBdiqNrVKvhZkXTt76rhWnhh1KbIDrW0kM3WCtI0nSWSAo
To claim this, I am signing this object:
void function(global){ | |
if ('DataView' in global && 'ArrayBuffer' in global) { | |
return; | |
} | |
var hide = (function(){ | |
// check if we're in ES5 | |
if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
var hidden = { enumerable: false }; |
(function clickIt() { | |
var $form = $("form"); //the only form on the page is the elevator button of interest. | |
var postURL = $form.attr("action"); //post url of the form | |
var postData = {}; | |
var inputs = $("input", $form); | |
for (var i = inputs.length; i--;) { | |
// serialize the form elements into an object | |
postData[inputs.eq(i).attr("name")] = inputs.eq(i).val(); | |
} | |
//clicking the elevator button of interest was submitting a form contained w/in it |
function objectToQuerystring (obj) { | |
return Object.keys.reduce(function (str, key, i) { | |
var delimiter, val; | |
delimiter = (i === 0) ? '?' : '&'; | |
key = encodeURIComponent(key); | |
val = encodeURIComponent(obj[key]); | |
return [str, delimiter, key, '=', val].join(''); | |
}, ''); | |
} |
foreign foreign foreign [Applause] thank you the committee will come to order without objection the chair is authorized to declare a recess of the committee at any time this hearing is entitled the annual testimony of the Secretary of the Treasury on the state of the International Financial system without objection all members will have five legislative days within which to submit extraneous materials to the chair for inclusion in the record I will note if the outside of this hearing that we have a hard stop as a courtesy to the secretary at 1 pm this afternoon we will strictly observe it now I'll recognize myself for four minutes to give an opening statement welcome secretary Yellen I appreciate you being here today today's hearing is about the state of the international financial institutions but I do want to take a minute and talk about the debt ceiling crisis that we narrowly avoided first we're all glad that this is behind us no one wanted default no legislative branch official no executive branch offici |
var compose = function() { | |
var funcs = Array.prototype.slice.apply(arguments); | |
return function(arg) { | |
return funcs.reduce(function(arg, fn) { | |
return fn.call(this, arg); | |
}, arg); | |
}; | |
}; | |
var and = function() { |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ $# -ne 4 ] | |
then | |
echo "Usage: $0 <host> <port> <pattern> <seconds>" | |
exit 1 | |
fi | |
cursor=-1 | |
keys="" |
{ | |
//... | |
// plugins | |
plugins: [ | |
'karma-*', | |
{ | |
'middleware:custom': ['factory', function (config) { | |
return function (req, res, next) { | |
console.log('HELLO!') | |
res.end('hello-world') |
#!/usr/bin/env node | |
# Usage: docker run [..opts] `publish-static <image>:<tag>` | |
'use strict' | |
const execSync = require('child_process').execSync | |
const image = process.argv[2] | |
const inspect = JSON.parse( | |
execSync('docker inspect ' + image).toString() |