I hereby claim:
- I am seanomlor on github.
- I am seanomlor (https://keybase.io/seanomlor) on keybase.
- I have a public key whose fingerprint is 01D9 0B9B EA5A CD52 FCDD 36D6 2EB0 8ADD 5A5B 5A20
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# ~/.bash_profile | |
__GIT_PROMPT_DIR=/usr/local/opt/bash-git-prompt/share | |
GIT_PROMPT_THEME=Custom | |
source "${__GIT_PROMPT_DIR}/gitprompt.sh" |
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES; | |
acrobat africa alaska albert albino album | |
alcohol alex alpha amadeus amanda amazon | |
america analog animal antenna antonio apollo | |
april aroma artist aspirin athlete atlas | |
banana bandit banjo bikini bingo bonus | |
camera canada carbon casino catalog cinema | |
citizen cobra comet compact complex context | |
credit critic crystal culture david delta | |
dialog diploma doctor domino dragon drama |
Write a method hello
that takes one argument and calls puts
so that the output if called with, e.g., hello("Alli")
would be Hello there Alli!
Write a class Player
that can be initialized with one argument name
and returns a player instance with the keys name
, health
and role
.
name
key should be assigned the given name
argument.health
key should be a random integer from 50 to 100.defmodule BarberShop do | |
@name :barber_shop | |
@num_chairs 3 | |
def open do | |
shop_pid = spawn(__MODULE__, :loop, []) | |
:global.register_name(@name, shop_pid) | |
Barber.register(shop_pid) | |
end |
Mesh network options:
defmodule Id3Parser do | |
@id3_tag_size 128 | |
def parse(file_name) do | |
case File.read(file_name) do | |
{:ok, mp3} -> | |
# mp3 size minus 128 bytes where id3 tag is located | |
mp3_byte_size = byte_size(mp3) - @id3_tag_size |