This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE: this only works if the file upload form field appears last | |
const busboy = require('connect-busboy'); | |
const express = require('express'); | |
const app = express(); | |
app.use(busboy()); | |
app.post('/upload', (req, res) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <time.h> | |
#include <threads.h> | |
//#define NUM_THREADS 7 | |
// Thread safe random numbers by tempering the upper 32 bits | |
// of a 64 bit int. The calculations are based on a seed. |
NewerOlder