Skip to content

Instantly share code, notes, and snippets.

View acrogenesis's full-sized avatar
🤖
Beep Boop

Adrian Rangel acrogenesis

🤖
Beep Boop
View GitHub Profile
@acrogenesis
acrogenesis / lvh_ssl.md
Last active January 11, 2018 19:25 — forked from dagjaneiro/lvh_ssl.md
lvh.me ssl

Install nginx

$ brew install nginx

Edit nginx.conf

$ vim /usr/local/etc/nginx/nginx.conf
defmodule Board do
alias IslandsEngine.{Coordinate, Island}
def position_island(board, key, %Island{} = island) do
case overlaps_existing_island?(board, key, island) do
true -> {:error, :overlapping_island}
false -> Map.put(board, key, island)
end
end