Skip to content

Instantly share code, notes, and snippets.


Mariano Guerra marianoguerra

View GitHub Profile

Keybase proof

I hereby claim:

  • I am marianoguerra on github.
  • I am marianoguerra ( on keybase.
  • I have a public key ASAAz1O8hmNDYf7GWHlLbRsEhxrHNovElDRwYHaNxkMQogo

To claim this, I am signing this object:

marianoguerra /
Last active Aug 15, 2018
OTP exml to md translator


Application upgrade file

The application upgrade file defines how an application is upgraded or downgraded in a running system.

This file is used by the functions in

marianoguerra /
Created May 27, 2018
riak_core_lite metadata refactor notes

Files to delete:

git rm src/hashtree.erl
git rm src/hashtree_tree.erl
git rm src/riak_core_aae_vnode.erl
git rm src/riak_core_broadcast.erl
git rm src/riak_core_broadcast_handler.erl
git rm src/riak_core_entropy_info.erl
git rm src/riak_core_entropy_manager.erl
marianoguerra /
Last active May 27, 2018
Draft of BEAM interoperability topics
marianoguerra / Dockerfile
Created Feb 27, 2018
ubuntu:17.10 erlang 20.2
View Dockerfile
FROM ubuntu:17.10
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y --no-install-recommends wget build-essential git ca-certificates && \
wget && \
dpkg -i erlang-solutions_1.0_all.deb && \
apt-get update && \
marianoguerra / lasp_example.erl
Created Dec 31, 2017
First attempts at using lasp
View lasp_example.erl
{ok, {MapId, _, _, _}} = lasp:declare({<<"mymap">>, {state_awmap, [state_mvregister]}}, {state_awmap, [state_mvregister]}).
K1 = <<"key1">>.
V1 = #{what => i_am_a_gmap_value, thing => 42}.
{ok, {MapId1, _, _, _}} = lasp:update(MapId, {apply, K1, {set, erlang:unique_integer([monotonic, positive]), V1}}, self()).
{ok, Res1} = lasp:query(MapId1).
% {ok,[{<<"key1">>, {set, ...#{thing => 42,what => i_am_a_gmap_value} ... }}]}
marianoguerra / survey.rst
Last active Jul 30, 2017
Erlang/BEAM Annual Survey Draft
View survey.rst

Which languages of the BEAM do you use?

  • Erlang
  • Elixir
  • Lisp Flavoured Erlang (LFE)
  • Alpaca
  • Efene
  • Erlog
  • Joxa
  • Luerl
marianoguerra / dep-tree.rst
Created Mar 6, 2017
React hello world dependencies
View dep-tree.rst
$ create-react-app hello-world

Creating a new React app in hello-world.

Installing packages. This might take a couple minutes. Installing react, react-dom, and react-scripts...

marianoguerra / README.rst
Last active Oct 22, 2016
List of things to compare between current and new doc style
View README.rst
You can’t perform that action at this time.