Skip to content

Instantly share code, notes, and snippets.

View d00rman's full-sized avatar

Marko Obrovac d00rman

  • Rovinj, Croatia
View GitHub Profile
'use strict';
const preq = require('preq');
return preq.post({
uri: 'https://en.wikipedia.org/w/api.php',
headers: {
'content-type': 'application/json'
},
body: {
@d00rman
d00rman / move-math.js
Created December 21, 2017 16:34
Move Math data script
#!/usr/bin/env nodejs
'use strict';
const cassandra = require('cassandra-driver');
const P = require('bluebird');
const preq = require('preq');
const yargs = require('yargs');