Skip to content

Instantly share code, notes, and snippets.

View goldenice's full-sized avatar

Rick Lubbers goldenice

  • Atrocit
  • The Netherlands, Emmen
View GitHub Profile

Keybase proof

I hereby claim:

  • I am goldenice on github.
  • I am superice (https://keybase.io/superice) on keybase.
  • I have a public key whose fingerprint is C2BA A6AB C307 3E44 EED1 03EC 22E3 E864 48FF B21A

To claim this, I am signing this object:

@goldenice
goldenice / example.js
Last active November 14, 2015 08:38
Generic self contained 'concurrent' worker in javascript
var request = require('request');
var genericMultiWorker = require('./genericmultiworker.js');
var TARGET_URL = 'http://example.com/';
// Example: POSTing to a URL with a maximum of 5 concurrent requests
var addToWorker = genericMultiWorker(5, function(obj, callback) {
request.post(TARGET_URL, obj, callback);
});
@goldenice
goldenice / gist:9855236
Created March 29, 2014 14:14
keybase.md
### Keybase proof
I hereby claim:
* I am goldenice on github.
* I am superice (https://keybase.io/superice) on keybase.
* I have a public key whose fingerprint is 9D03 274C C273 3186 7406 822A 5B8E 9DB7 1C73 8087
To claim this, I am signing this object: