Become a member
Sign in
Cade Ward
Cade Ward

Cade Ward

97 Following
12 Followers
·
  • Profile
  • Claps

Latest

Cade Ward
Cade Ward
Sep 1, 2018 · 2 min read

Getting Started with Nerves and Elixir

As I’ve been playing with Nerves, I’ve been impressed by how simple it is to use. If you…

9

Cade Ward
Cade Ward
May 26, 2018 · 1 min read

Remove dependencies from mix.lock

Mix won’t remove dependencies from your lock file unless you tell it to.

mix deps.clean --unused --unlock
mix deps.unlock dependency
mix deps.unlock --unused

2

Cade Ward
Cade Ward
Aug 10, 2015 · 1 min read

ES6 Arrow Functions

These things are equivalent:

// 1
var sum = function(a, b) {
return a + b
}
// 2
var sum = (a, b) => {
return a + b
}
// 3
var sum = (a, b) => a + b