Skip to content

Instantly share code, notes, and snippets.

View rhnonose's full-sized avatar

Rodrigo Nonose rhnonose

View GitHub Profile
@rhnonose
rhnonose / cla.md
Created October 23, 2018 20:27 — forked from kitten/cla.md
MIT CLA

Individual Contributor License Agreement (CLA)

Thank you for submitting your contributions to this project.

By signing this CLA, you agree that the following terms apply to all of your past, present and future contributions to the project.

License.

You hereby represent that all present, past and future contributions are governed by the

@rhnonose
rhnonose / Map.Helpers
Last active January 2, 2018 15:25 — forked from kipcole9/Map.Helpers
Helpers for Elixir Maps: underscore, atomise and stringify map keys
defmodule Map.Helpers do
@moduledoc """
Functions to transform maps
"""
@doc """
Convert map string camelCase keys to underscore_keys
"""
def underscore_keys(nil), do: nil