From early Jan - start of April I stuck to a ketosis diet and increasing difficulty exercise program. Over that time I lost about 25lbs.
- 1 Mozarella Cheese Stick
- 1 tablespoon of organic chunky peanut butter
** (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 |
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) |
defmodule MySupervisor do | |
def start | |
import Supervisor.Spec | |
children = [ | |
worker(FooBar, []) | |
] | |
opts = [strategy: :one_for_one, name: MySupervisor] | |
Supervisor.start_link(children, opts) |
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 |
◉ Testing settings in dotspacemacs/layers Show in File | |
**○ TEST: Each path in dotspacemacs-configuration-layer-path is a string | |
**○ TEST: Each path in dotspacemacs-configuration-layer-path exists in filesystem | |
**○ TEST: Each layer in dotspacemacs-configuration-layers can be found | |
****✸ PASS: auto-completion | |
****✸ PASS: emacs-lisp | |
****✸ PASS: git | |
****✸ PASS: markdown | |
****✸ PASS: elixir | |
****✸ PASS: erlang |
import { presence, length, confirmation} from 'ember-validations/validators'; | |
passwordValidations(context) { | |
return context | |
::presence('password', 'passwordConfirmation') | |
::length('password', { greaterThan: 8 }) | |
::confirmation('password'); | |
}) | |
errors: computed('name', 'email', 'password', 'passwordConfirmation', function() { |
import { presence, length, confirmation, format} from 'ember-validations/validators'; | |
errors: computed('name', 'email', 'password', 'passwordConfirmation', function() { | |
let user = get(this, 'model'); | |
return user | |
::presence('name', 'email', 'password') | |
::length('password', { greaterThan: 8 }) | |
::confirmation('password') | |
::format('email', /@/) |
import Ember from 'ember'; | |
const { | |
get, | |
computed | |
} = Ember; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
myFunc(context) { | |
fun3(fun2(fun1(context))); | |
} |