Skip to content

Instantly share code, notes, and snippets.

Avatar

Lars Hesel Christensen larshesel

View GitHub Profile
View gist:9183eaf84f1f9e9ef4ada07514dab60c
3674367652242621474168763928218321697812856559411236481728359862138483975662842414677931192831838359723596864468766515959157341323361671711215775246919184575771292834762472643851621115394689224144952314841942625929178893862188633473449782316328138938985367593224673415356386123389495265762586841543231615548724281379842577974356198756373494496284686526372271276867483824444438576856848984298987816365577184736265615337226594546412866841243924896693939876544617185514454428546351725874981373131436594737254881143464638159527317298246614224847423876255485865467941541869347851264186416839872219963877566774497794118377249453868539886234416452144611592552853449178872844866845534958897244329539138538955178328941734982338332474841168919821932999666675225181556252275937454265296914769641966991453458673243691279851969772258679574637169733841671684221431339322858741339953471639498418394312337551781962283797279643116626464643289347855765938779557323488914189731315845763714223831532787749399493351411264558635112713942928167591
@larshesel
larshesel / unlocking-the-superpowers-of-the-erlang-vm.txt
Last active Nov 20, 2017
unlocking-the-superpowers-of-the-erlang-vm.org
View unlocking-the-superpowers-of-the-erlang-vm.txt
* Unlocking the super-powers of the Erlang VM
Lars Hesel Christensen
VerneMQ Engineer
twitter: @larshesel
✉ lars@vernemq.com
✉ lhc@larshesel.dk
github.com/larshesel
View gist:f4712ef432981fcb292db10abae2c70c
### Keybase proof
I hereby claim:
* I am larshesel on github.
* I am larshesel (https://keybase.io/larshesel) on keybase.
* I have a public key whose fingerprint is F2B4 A42E ADA7 8642 704E 737F 52C1 8780 DA26 6458
To claim this, I am signing this object:
View gist:6dc8a3fbb62db5b7f2b0
defmodule Specs do
@type network :: :mainnet | :testnet3
@spec magic(network) :: binary
defp magic(:mainnet) do
<<0xf9,0xbe,0xb4,0xd9>>
end
defp magic(:testnet3) do
<<0x0b, 0x11, 0x09, 0x07>>
end
end