Skip to content

Instantly share code, notes, and snippets.

View NathanielPerryAtAwatoXello's full-sized avatar

Nathaniel Perry NathanielPerryAtAwatoXello

  • Awato/Xello
  • NH, USA
View GitHub Profile
@servel333
servel333 / runnable.js
Last active October 8, 2021 16:31
JavaScript one-liners and simple blocks, and some bash
#!/usr/bin/env node
/* eslint-disable no-alert */
/* eslint-disable no-console */
const allParams = process.argv.slice(2).join(' ');
const relativeDir = require('path').resolve(__dirname, '../some/path');
const thisScript = require('path').basename(__filename);