Skip to content

Instantly share code, notes, and snippets.

View aboroska's full-sized avatar

András Boroska aboroska

  • GameAnalytics
  • London, UK
View GitHub Profile
#!/usr/bin/env escript
%%
%%
-mode(compile).
-compile(export_all).
main([Port]) ->
{ok, _} = application:ensure_all_started(ssh),
@hcs42
hcs42 / test_term
Created May 5, 2015 11:28
test_term: a script that checks if a file contains only valid Erlang terms.
#!/usr/bin/env escript
% test_term is a script that checks if a file contains only valid Erlang terms.
%
% Example:
%
% $ echo '{1,2}.' > f
% $ test_term f
% f:The file contains 1 valid Erlang term.
%