I hereby claim:
- I am weisk on github.
- I am weisk (https://keybase.io/weisk) on keybase.
- I have a public key ASCAdZ4hPjZv0pTWuOe6ZrtzLEZlwQLUAYT9BRfDYB8LVQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* @author qiao / https://github.com/qiao | |
* @author mrdoob / http://mrdoob.com | |
* @author alteredq / http://alteredqualia.com/ | |
* @author WestLangley / http://github.com/WestLangley | |
*/ | |
THREE.OrbitControls = function ( object, domElement ) { |
// window | |
let array = new Uint32Array(10); | |
crypto.getRandomValues(array); | |
// node | |
crypto.randomBytes(10).toString('utf8'); |
db.auth('admin', '9b2EpmkFtasdfas--wrxo-NVwZp'); | |
const SERIAL = '3e84e930-b6af-11e8-a512-9d2b3d7cbb08'; | |
const DESCRIPTION = 'PLC_1'; | |
const NTAGS = 22; | |
const MAX_ROWS = 100; | |
const pipelineBefore = [ | |
{ $match: { serial: SERIAL, description: DESCRIPTION } }, | |
{ $group: { _id: "$date", name: { $first: "$name" }, count: { $sum: 1 }} }, |
(async () => { | |
console.log('hi!'); | |
})() |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const path = require('path'); | |
const { promisify } = require('util'); | |
const { ncp } = require('ncp'); | |
const readDir = promisify(fs.readdir); | |
const readFile = promisify(fs.readFile); | |
const copyDir = promisify(ncp); |
#!/usr/bin/env node | |
/* | |
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
* Modified from https://gist.github.com/paolorossi/1993068 | |
*/ | |
var http = require('http') | |
, fs = require('fs') | |
, util = require('util') |
import something from './somewhere'; | |
export default function() { | |
console.log('hi'); | |
} |
#!/usr/bin/env node | |
var fs = require('fs'); | |
var outfile = "primes.txt"; | |
var count = 0; | |
var maxCount = 100; | |
var primes = []; | |
var i = 2; |