Skip to content

Instantly share code, notes, and snippets.

View eiri's full-sized avatar
🐈‍⬛
Diving into Rust

Eric Avdey eiri

🐈‍⬛
Diving into Rust
View GitHub Profile
@eiri
eiri / gist:8552138
Last active January 4, 2016 01:59
Lager part in erlang's app.config for colored console output with info on module and line of logged message
[{lager, [
{handlers, [
{lager_console_backend, [
debug,
{lager_default_formatter, [time, " ", {module,
[module, {line, [":", line], ""}], ""}, " ", color, message, {eol, "\e[0m\r\n"}]}
]},
{lager_file_backend,
[{file, "logs/console.log"}, {level, info}, {size, 10485760}, {date, "$D0"}, {count, 1}]},
{lager_file_backend,
@eiri
eiri / README.md
Last active December 29, 2015 09:58
Random timelines with a bit a shadow.

Random timelines with a bit a shadow.

@eiri
eiri / TTIAA.txt
Created March 17, 2011 02:35
Time Traveling Industry Association of America
Time Traveling Industry Association of America
Life was good for a men who slipped in time all way back to late Roman empire. Money I gained by selling a scheme of a distiller I doubled on a cotton swabs and now I was plotting to introduce my naive romans to an idea of double-entry accounting and to a concept of zero. Until I suddenly heard a knocking at my door.
- Gai Julius also knows as Nicolas Kovalsky? - inquired a centurion at doorway. Golden gilding on his cuirass of stainless steel was chipped here and there and a plume of his helm definitely had a close relatives in a mop department of Superstore.
- You a time traveler, - I said cheerlessly, - Are you here to save me?
- I am a lawyer of Time Traveling Industry Association of America.