Created
January 26, 2014 19:53
-
-
Save attomos/8638369 to your computer and use it in GitHub Desktop.
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
| #!/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