Skip to content

Instantly share code, notes, and snippets.

@attomos
Created January 26, 2014 19:53
Show Gist options
  • Select an option

  • Save attomos/8638369 to your computer and use it in GitHub Desktop.

Select an option

Save attomos/8638369 to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
var argv = require('optimist').argv;
var express = require('express');
var app = express();
var msg = argv.m || 'Usage: reminder.js -m [message]';
process.stdout.write('\x1B[H\x1B[J');
process.stdout.write('\x1b[1;38;5;203m' + msg);
app.listen(3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment