This file contains 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
// twitter-util.js (c) 2014 Ernesto Méndez | |
// @version 1.0.0 / Fri, 30 May 2014 03:40:18 GMT | |
// MIT license: http://opensource.org/licenses/MIT | |
// twitterlib.js (c) 2011 Remy Sharp | |
// @version 1.0.9 / Sun, 19 Feb 2012 23:05:25 GMT | |
// MIT license: http://rem.mit-license.org | |
(function () { | |
This file contains 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
var fs = require('fs'); | |
var util = require('util'); | |
function main() { | |
var args = process.argv.slice(2); | |
if (args.length === 3) { | |
var regex = eval(args[0]); |
This file contains 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
import System.Environment (getArgs) | |
import System.Directory (doesFileExist) | |
import Data.Char (isSpace) | |
main :: IO () | |
main = do | |
args <- getArgs | |
case args of | |
[] -> putStrLn msg | |
[_] -> putStrLn msg |