Skip to content

Instantly share code, notes, and snippets.

View davidwowa's full-sized avatar
🛠️
...

David Zakrevskyy davidwowa

🛠️
...
View GitHub Profile
@davidwowa
davidwowa / moc-on-osx.md
Created November 29, 2016 23:08 — forked from RobertAudi/moc-on-osx.md
This is a walkthrough on how to install the MOC command-line music player on OS X. The procedure was tested in Mountain Lion.

MOC on OS X

I waited for years for a Homebrew formula for MOC. I finally found one today, but it didn't work for me. So I decided to try to compile it from source.

Requirements

Here is a list of requirements, taken directly from the MOC README:

@davidwowa
davidwowa / fibs.erl
Created November 28, 2016 22:45 — forked from xandkar/fibs.erl
Fibonacci versions in Erlang. Naively recursive, array and list.
%%%----------------------------------------------------------------------------
%%% $ erl -noshell -s fibs main 40
%%% TRANSLATED ARRAY: 102334155 0.001755 seconds
%%% TRANSLATED LIST: 102334155 0.000048 seconds
%%% REVERSE ORDER LIST: 102334155 0.000004 seconds
%%% MINIMAL ARITHMETIC: 102334155 0.000001 seconds
%%% NAIVE RECURSIVE: 102334155 8.383385 seconds
%%%----------------------------------------------------------------------------