Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Linicks

View GitHub Profile
View Jorm 8.12 config
---
log:
- output: stderr
level: info # warn for prod.
format: plain
p2p:
public_address: "/ip4/"Your IP ADDRESS"/tcp/3000"
max_connections: 1024
gossip_interval: 5s
max_unreachable_nodes_to_connect_per_event: 2
@Linicks
Linicks / gist:29267d895efffdbc644c
Created May 26, 2015
Proper Elixir Control Structure ?
View gist:29267d895efffdbc644c
def authors(cd) do
#Connect to the database.
conn = RethinkDB.connect([host: "10.0.0.30", port: 28015])
#Create ore Destroy the authors table.
if cd == "create" do
q = table_create("authors")
|> run conn
end
You can’t perform that action at this time.