$ erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'
"Erlang/OTP 20 [erts-9.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]\n"
Start dev cluster:
$ ./dev/run --admin eiri:eiri
[ * ] Setup environment ... ok
[ * ] Ensure CouchDB is built ... ok
[ * ] Prepare configuration files ... ok
[ * ] Start node node1 ... ok
[ * ] Start node node2 ... ok
[ * ] Start node node3 ... ok
[ * ] Check node at http://127.0.0.1:15984/ ... ok
This file contains hidden or 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
- name: activate erlang 17.5 on login | |
lineinfile: | |
dest: /home/vagrant/.bashrc | |
line: "{{item.line}}" | |
insertafter: "{{item.insertafter}}" | |
state: present | |
with_items: | |
- insertafter: "#alias l='ls -CF'" | |
line: '# activate erlang 17.5' | |
- insertafter: '# activate erlang 17.5' |
Diaglam of calls during view compaction in CouchDB 2.0. Some steps omitted to simplify things.
View: http://bl.ocks.org/eiri/c436914e4115651c78d1eef9de68c70e
Bl.ocks is a nice way for sharing code examples hosted on gitHub gist. All that needed is just to replace “gist.github.com” with “bl.ocks.org” in the URL, e.g. http://bl.ocks.org/eiri/073a9e12f8246927ef997bf6f3ab5561
Sequence is just a simple text file loaded with syncronious ajax call.