I hereby claim:
- I am lapixx on github.
- I am tijn (https://keybase.io/tijn) on keybase.
- I have a public key ASDTeIUSPo0yYMuq0weEcEWZ2lNePRvN-WX6XMyT03rNWgo
To claim this, I am signing this object:
/* | |
* Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License, | |
* Version 1.0, and under the Eclipse Public License, Version 1.0 | |
* (http://h2database.com/html/license.html). | |
* Initial Developer: H2 Group | |
*/ | |
package org.h2.command.dml; | |
import java.util.ArrayList; | |
import java.util.Arrays; |
#!/usr/bin/env node | |
// | |
// streaming.js | |
// | |
// Stream data from Tesla's streaming API to either a flat file or a MongoDB database | |
// | |
var request = require("request"); | |
var teslams = require("../teslams.js"); | |
var fs = require("fs"); | |
var util = require("util"); |
import { readFile } from "fs"; | |
import aws from "aws-sdk"; | |
import Promise from "bluebird"; | |
import cors from "cors"; | |
import express from "express"; | |
import formidable from "formidable"; | |
import gm from "gm"; | |
import { today } from "../../common/src/date"; |
Package: libws-commons-util-java | |
Status: install ok installed | |
Priority: optional | |
Section: java | |
Installed-Size: 101 | |
Maintainer: Ubuntu Developers <[email protected]> | |
Architecture: all | |
Version: 1.0.1-7 | |
Description: Common utilities from the Apache Web Services Project | |
This is a small collection of utility classes, that allow high |
/* | |
* Cobertura - http://cobertura.sourceforge.net/ | |
* | |
* Copyright (C) 2003 jcoverage ltd. | |
* Copyright (C) 2005 Mark Doliner | |
* Copyright (C) 2005 Jeremy Thomerson | |
* Copyright (C) 2006 Jiri Mares | |
* Copyright (C) 2008 Julian Gamble | |
* | |
* Cobertura is free software; you can redistribute it and/or modify |
/* | |
Moves this.state assignment in constructor to class property | |
Run with codeshift: | |
jscodeshift -t ./constructor-state-to-class-property.js --extensions js,jsx --ignore-pattern 'node_modules' src/ | |
*/ | |
export default function transformer(file, api) { | |
const j = api.jscodeshift | |
const root = j(file.source) |
/* | |
Removes empty constructors (ignoring calls to super) | |
Run with codeshift: | |
jscodeshift -t ./remove-empty-constructor.js --extensions js,jsx --ignore-pattern 'node_modules' src/ | |
*/ | |
export default function transformer(file, api) { | |
const j = api.jscodeshift | |
const root = j(file.source) |
I hereby claim:
To claim this, I am signing this object:
// const composed = composeMiddleware(fn1, fn2, fn3); | |
const composeMiddleware = (head, ...tail) => (req, res, next) => | |
head instanceof Function ? | |
head(req, res, () => composeMiddleware(...tail)(req, res, next)) : | |
next(); | |
// var composed5 = composeMiddlewareES5([fn1, fn2, fn3]); | |
var composeMiddlewareES5 = funcs => (req, res, next) => | |
funcs[0] instanceof Function ? | |
funcs[0](req, res, () => composeMiddlewareES5(funcs.slice(1))(req, res, next)) : |
// comp :: (F, G, H) => (x, y, z) => F(G(H(x, y, z))) | |
const comp = (...fns) => (...args) => fns.reduceRight((arg, fn) => [fn(...arg)], args)[0]; |