Skip to content

Instantly share code, notes, and snippets.

🤠
Looking for a new project

Tom Wieland Industrial

🤠
Looking for a new project
Block or report user

Report or block Industrial

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 promise.ts
export async function serial<T>(
promises: Promise<T>[]
): Promise<T[]> {
const output = []
for (let i = 0, l = promises.length; i < l; i++) {
output.push(await promises[i])
}
return output
}
View wow things.ahk
!$`::Pause
#maxThreadsPerHotkey, 2
setKeyDelay, 50, 50
setMouseDelay, 50
banana:=0
$1::
; banana:=!banana .... This assigns banana to the value of NOT (!) banana. so lets
; say banana starts out FALSE (0). you then turn banana to NOT FALSE. which is
View gist:18ef6e26b89ba325b94399274318e298
17 ): Promise<AsyncIterator<ExecutionResult> | ExecutionResult>;
~~~~~~~~~~~~~
../../node_modules/@types/graphql/subscription/subscribe.d.ts(17,12): error TS2304: Cannot find name 'AsyncIterator'.
/home/tom/.nvm/versions/node/v8.9.4/lib/node_modules/typescript/lib/tsc.js:2062
throw e;
^
Error: Debug Failure. False expression.
View HTMLForm.js
import CopyToClipboard from 'react-copy-to-clipboard';
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import {
Fields,
reduxForm,
} from 'redux-form';
import {
View spec.json
{
"title": "SeniorNode.jsDeveloper1",
"name": "Tom Tom",
"surname": "Wieland Wieland",
"email": "tom.wieland@gmail.com",
"phonenumber": "+31642116830",
"github": "https: //github.com/Industrial",
"linkedin": null,
"dateOfBirth": "1987-04-22",
"nationality": "DUTCH",
View gist:6f3f9f0c00686c117511
{
"lineItem": {
"events": [
{
"title": "Flexibele afname",
"label": null,
"setting": null,
"active": false,
"mandatory": false,
"numberOfFreeBookings": null,
View gist:ff85d5a02edaa63a79b5
{
"lineItem": {
"events": [
{
"title": "Flexibele afname",
"label": null,
"setting": null,
"active": false,
"mandatory": false,
"numberOfFreeBookings": null,
View gist:3f5f49301005d35e1fa7
digraph g {
ChatShipper -> Notification;
ChatShipper -> NCP;
ChatShipper;
Client -> Notification;
Client;
Dashboard;
View gist:0b4ef54ad34b8be4bf0a
npm ERR! addLocal Could not install /tmp/d-115111-3656-j4rf11/package.tgz
npm ERR! Linux 3.16.0-29-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/opt/atom/resources/app/apm/.apmrc" "--userconfig" "/home/tom/.atom/.apmrc" "install" "/tmp/d-115111-3656-j4rf11/package.tgz" "--target=0.21.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.3.0
npm ERR! path /var/lib/jenkins
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! Error: EACCES, mkdir '/var/lib/jenkins'
View gist:d86219ebd2be13ae3cec
'use strict';
var fs = require('fs');
var path = require('path');
var querystring = require('querystring');
var _ = require('lodash');
var bodyParser = require('body-parser');
var express = require('express');
var handlebars = require('handlebars');
You can’t perform that action at this time.