Ecto.Migrator.run(Echo.Repo, "lib/-/priv/repo/migrations/", :up, [all: true])
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Acronym do | |
def abbrev(string) do | |
string | |
|> String.split(" ") | |
|> Enum.map(fn(x) -> hd(String.codepoints(x)) end) | |
|> Enum.map(fn(x) -> String.upcase(x) end) | |
end | |
def abbrev2(string) do | |
string |
I hereby claim:
- I am schainks on github.
- I am schainks (https://keybase.io/schainks) on keybase.
- I have a public key ASCoPjhAKuRMMlVOxuHMjpAd6qD1lIw1Bt0eCxfYXsVCGQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[caps]>[escape] | |
[lctrl]>[lwin] | |
[rwin]>[rctrl] | |
[rctrl]>[rwin] | |
[kp-e]>[up] | |
[kp-s]>[left] | |
[kp-d]>[down] | |
[kp-f]>[right] | |
[kp-lctrl]>[lwin] | |
[kp-rwin]>[rctrl] |