Skip to content

Instantly share code, notes, and snippets.

@ten0s
Created May 18, 2016 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ten0s/06e2fdc13123d21f7945c787cfbd40e2 to your computer and use it in GitHub Desktop.
Save ten0s/06e2fdc13123d21f7945c787cfbd40e2 to your computer and use it in GitHub Desktop.
for i in `seq 1 5`; do erl -sname n${i} -noshell -eval 'io:format("~p~n", [erlang:md5(term_to_binary(lists:foldl(fun(I, Acc) -> Acc#{{abc, I} => I} end, #{}, lists:seq(1,100))))]), init:stop().' ; done
<<22,221,123,219,72,54,94,163,81,131,119,45,111,211,168,96>>
<<208,100,35,243,94,225,254,14,159,222,67,32,242,134,182,171>>
<<22,221,123,219,72,54,94,163,81,131,119,45,111,211,168,96>>
<<22,221,123,219,72,54,94,163,81,131,119,45,111,211,168,96>>
<<22,221,123,219,72,54,94,163,81,131,119,45,111,211,168,96>>
What's up?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment