View gist:0ff36f4566ff7c3b8438461d2194a656
17056 pts/4 Ssl+ 0:03 /home/production/dockyard/erts-7.2/bin/beam.smp -- -root /home/production/dockyard -progname home/production/dockyard/releases/0.2.5/dockyard.sh -- -home /home/production -- -boot /home/production/dockyard/releases/0.2.5/dockyard -mode embedded -config /home/production/dockyard/running-config/sys.config -boot_var ERTS_LIB_DIR /home/production/dockyard/erts-7.2/../lib -pa /home/production/dockyard/lib/dockyard-0.2.2/consolidated /home/production/dockyard/lib/dockyard-0.2.5/consolidated -sname dockyard -setcookie IUKRVGTANEVYTXJOYWYY -user Elixir.IEx.CLI -extra --no-halt +iex -- console
View .travis.yml
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- node_modules
View mix.exs
defmodule DockYard.Mixfile do
use Mix.Project
def project do
[app: :dockyard,
version: "0.2.5",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
View gist:98e704a795b0e7a10d0b51ddef0fbbf4
* ecto (Hex package)
the dependency ecto
> In deps/scrivener/mix.exs:
{:ecto, "~> 1.0", [optional: false, hex: :ecto, manager: :mix]}
does not match the requirement specified
> In deps/phoenix_ecto/mix.exs:
{:ecto, "~> 1.1.2", [optional: false, hex: :ecto]}
Ensure they match or specify one of the above in your deps and set "override: true"
** (Mix) Can't continue due to errors on dependencies
View keybase.md

Keybase proof

I hereby claim:

  • I am bcardarella on github.
  • I am bcardarella (https://keybase.io/bcardarella) on keybase.
  • I have a public key whose fingerprint is C279 1DBA 10CE A943 BFFD C1CF 9C46 DEE2 63B8 1F8F

To claim this, I am signing this object:

View gist:81450421133ed2cfac19aab318f2b90f
** (Mix) could not load Dockyard.Repo, error: :badfile. Please pass a repo with the -r option.
18:29:45.549 [error] Loading of /Users/bcardarella/Dropbox/projects/dockyard-api/_build/dev/lib/dockyard/ebin/Elixir.Dockyard.Repo.beam failed: :badfile
18:29:45.549 [error] beam/beam_load.c(1278): Error loading module 'Elixir.Dockyard.Repo':
module name in object code is Elixir.DockYard.Repo
View example_test.exs
defmodule ExampleTest do
use ExUnit.Case
test "foobar" do
task_sup = Module.concat(__MODULE__, TaskSup)
children = [
Supervisor.Spec.worker(Task.Supervisor, [[name: task_sup]])
]
Supervisor.start_link(children, :one_for_one)
View Brian Keto Diet.md

"Make it up as I go" Keto program

From early Jan - start of April I stuck to a ketosis diet and increasing difficulty exercise program. Over that time I lost about 25lbs.

Diet

Breakfast

  • 1 Mozarella Cheese Stick
  • 1 tablespoon of organic chunky peanut butter
View supervisor.ex
defmodule MySupervisor do
def start
import Supervisor.Spec
children = [
worker(FooBar, [])
]
opts = [strategy: :one_for_one, name: MySupervisor]
Supervisor.start_link(children, opts)
View worker.ex
defmodule ElixirDaze.Foobar do
require Logger
def start_link do
{:ok, spawn(__MODULE__, :foo, [0])}
end
def foo(count) do
Logger.info(count)
if count > 5 do