This file contains 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
2013-12-12 15:50:39.185 [info] <0.7.0> Application lager started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.211 [info] <0.7.0> Application sasl started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.212 [info] <0.7.0> Application asn1 started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.219 [info] <0.7.0> Application crypto started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.219 [info] <0.7.0> Application public_key started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.233 [info] <0.7.0> Application ssl started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.240 [info] <0.7.0> Application riak_sysmon started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.255 [info] <0.7.0> Application os_mon started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.271 [info] <0.7.0> Application runtime_tools started on node 'dev1@127.0.0.1' | |
2013-12-12 15:50:39.320 [info] <0.7.0> Application erlang_js started on node 'dev1@127.0.0.1' |
This file contains 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
-module(hashdict). | |
-define(ordered_threshold, 8). | |
-record(ordered, { size = 0, bucket= [] }). | |
-define(expand_load, 5). | |
-define(contract_load, 2). | |
-define(node_bitmap, 2#111). | |
-define(node_shift, 3). | |
-define(node_size, 8). |
This file contains 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
$ ack app_helper:get_env src | |
src/riak_client.erl:759: case app_helper:get_env(riak_kv, overload_backoff, undefined) of | |
src/riak_index.erl:444: Timeout = app_helper:get_env(riak_kv, secondary_index_timeout, ?DEFAULT_TIMEOUT), | |
src/riak_kv_app.erl:51: FSM_Limit = app_helper:get_env(riak_kv, fsm_limit, ?DEFAULT_FSM_LIMIT), | |
src/riak_kv_app.erl:60: case app_helper:get_env(riak_kv, direct_stats, false) of | |
src/riak_kv_app.erl:72: case app_helper:get_env(riak_kv, add_paths) of | |
src/riak_kv_app.erl:100: StorageBackend = app_helper:get_env(riak_kv, storage_backend), | |
src/riak_kv_app.erl:193: HealthCheckOn = app_helper:get_env(riak_kv, enable_health_checks, false), | |
src/riak_kv_app.erl:273: {Low, High} = app_helper:get_env(riak_kv, vnode_mailbox_limit, {1, 5000}), | |
src/riak_kv_app.erl:324: case app_helper:get_env(riak_kv, object_format, v0) of |
This file contains 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
(defun erlang-insert-binary () | |
"Inserts a binary string into an Erlang buffer and places the | |
point between the quotes." | |
(interactive) | |
(insert "<<\"\">>") | |
(backward-char 3) | |
) | |
(define-key erlang-mode-map (kbd "C-c b") 'erlang-insert-binary) |
This file contains 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
gcc -Werror=return-type -m64 -g -O3 -fomit-frame-pointer -I/Users/sean/dev/otp/erts/x86_64-apple-darwin12.5.0 -D_XOPEN_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -DERLANG_GIT_VERSION="\"a1cad4f\"" -Ix86_64-apple-darwin12.5.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ix86_64-apple-darwin12.5.0 -Izlib -Ipcre -Ihipe -I../include -I../include/x86_64-apple-darwin12.5.0 -I../include/internal -I../include/internal/x86_64-apple-darwin12.5.0 -c beam/beam_emu.c -o obj/x86_64-apple-darwin12.5.0/opt/smp/beam_emu.o | |
beam/beam_emu.c:1145:32: error: use of undeclared label 'lb_hipe_trap_resume' | |
static void* opcodes[] = { DEFINE_OPCODES }; | |
^ | |
x86_64-apple-darwin12.5.0/opt/smp/beam_opcodes.h:1065:3: note: expanded from macro 'DEFINE_OPCODES' | |
&&lb_hipe_trap_resume, \ | |
^ | |
beam/beam_emu.c:1145:32: error: use of undeclared label 'lb_hipe_trap_return' | |
x86_64-apple-darwi |
This file contains 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
Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false] [dtrace] | |
Eshell V5.10.3 (abort with ^G) | |
1> {ok, Tokens, Line} = erl_scan:string("-type foo() :: any()."). | |
{ok,[{'-',1}, | |
{atom,1,type}, | |
{atom,1,foo}, | |
{'(',1}, | |
{')',1}, | |
{'::',1}, |
This file contains 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
## Default ring creation size. Make sure it is a power of 2, | |
## e.g. 16, 32, 64, 128, 256, 512 etc | |
## ring_size = 64 | |
## enable active anti-entropy subsystem | |
anti_entropy = on | |
## location of the console log | |
log.console.file = ./log/console.log |
This file contains 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
from collections import MutableSet, MutableMapping, Mapping | |
class DataType(object): | |
def __init__(self, value=None, context=None): | |
if value is not None: | |
self._check_value(value) | |
self.value = value | |
if context: | |
self.context = context |
This file contains 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
export PATH="$HOME/erlang/current/bin:$PATH" | |
erlcur() { | |
DIR=`ls -lr $HOME/erlang | awk '/current/ { print $NF }'` | |
echo -n ${DIR##*/} | |
} | |
erlsw() { | |
TARGET=`find $HOME/erlang -depth 1 -type d -name "*$1*" | head -1` | |
if [ -z "$TARGET" ]; then |
This file contains 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
$ test | |
> Connected! | |
> Stored test object! | |
> Fetched stored object: this is a test |