Skip to content

Instantly share code, notes, and snippets.

View boydm's full-sized avatar

Boyd Multerer boydm

View GitHub Profile
@boydm
boydm / keybase.md
Created October 2, 2019 22:20
keybase.md

Keybase proof

I hereby claim:

  • I am boydm on github.
  • I am boydm (https://keybase.io/boydm) on keybase.
  • I have a public key ASD-HNukTZ6ubsJ-l4LsB5-Vi6yMfWJzIwc5haogSMMnZgo

To claim this, I am signing this object:

@boydm
boydm / map_difference.ex
Last active December 21, 2019 12:14
Elixir meyers_difference for Maps
defmodule Boydm.Utilities.Map do
#============================================================================
# similar to List.meyers_difference, the below code compares two maps
# and generates a list of actions that can be applied to the first map
# to transform it into the second map.
#--------------------------------------------------------
def difference(map_1, map_2) when is_map(map_1) and is_map(map_2) do
# remove any keys from map_1 that are simply not present (at all) in map_2
@boydm
boydm / gist:1192561f08277cbcaee0
Created December 2, 2014 19:02
onename verification
Verifying that +boydm is my openname (Bitcoin username). https://onename.io/boydm
@boydm
boydm / README.md
Last active December 20, 2015 22:09 — forked from ngauthier/README.md