This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
https://web.archive.org/web/20070429181654/http://www.sics.se/~joe/
| f(MostLeaky). | |
| MostLeaky = fun(N) -> | |
| lists:sublist( | |
| lists:usort( | |
| fun({K1,V1},{K2,V2}) -> {V1,K1} =< {V2,K2} end, | |
| [try | |
| {_,Pre} = erlang:process_info(Pid, binary), | |
| erlang:garbage_collect(Pid), | |
| {_,Post} = erlang:process_info(Pid, binary), | |
| {Pid, length(Post)-length(Pre)} |
This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
https://web.archive.org/web/20070429181654/http://www.sics.se/~joe/
riak_object and populate the various fields with the headers, metadata supplied by the client.riak_client:put: https://github.com/basho/riak_kv/blob/1.4.2/src/riak_client.erl#L143handle_common_errors and it is nice to return human readable errors to client :)| # Configuration file for runtime kernel parameters. | |
| # See sysctl.conf(5) for more information. | |
| # See also http://www.nateware.com/linux-network-tuning-for-2013.html for | |
| # an explanation about some of these parameters, and instructions for | |
| # a few other tweaks outside this file. | |
| # See evil packets in your logs. | |
| net.ipv4.conf.all.log_martians = 1 |
| # Block Facebook IPv4 | |
| 127.0.0.1 www.facebook.com | |
| 127.0.0.1 facebook.com | |
| 127.0.0.1 login.facebook.com | |
| 127.0.0.1 www.login.facebook.com | |
| 127.0.0.1 fbcdn.net | |
| 127.0.0.1 www.fbcdn.net | |
| 127.0.0.1 fbcdn.com | |
| 127.0.0.1 www.fbcdn.com | |
| 127.0.0.1 static.ak.fbcdn.net |
| -module(pb_decode). | |
| -compile(export_all). | |
| %% existing code | |
| d_msg_rpberrorresp(Bin, TrUserData) -> | |
| dfp_read_field_def_rpberrorresp(Bin, 0, 0, | |
| id(undefined, TrUserData), | |
| id(undefined, TrUserData), TrUserData). |
I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,
| *.beam | |
| *.csv |
| Originally from: http://erlang.org/pipermail/erlang-questions/2017-August/093170.html | |
| For a safe and fast Erlang SSL server, there's a few | |
| configuration values you might want by default: | |
| [{ciphers, CipherList}, % see below | |
| {honor_cipher_order, true}, % pick the server-defined order of ciphers | |
| {secure_renegotiate, true}, % prevent renegotiation hijacks | |
| {client_renegotiation, false}, % prevent clients DoSing w/ renegs | |
| {versions, ['tlsv1.2', 'tlsv1.1']}, % add tlsv1 if you must |