Skip to content

Instantly share code, notes, and snippets.


Sean Omlor seanomlor

Block or report user

Report or block seanomlor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am seanomlor on github.
  • I am 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:

View .bash_profile
# ~/.bash_profile
source "${__GIT_PROMPT_DIR}/"
View mnemonic-wordlist.txt
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.

  • The name key should be assigned the given name argument.
  • The health key should be a random integer from 50 to 100.

1. vultr iso > add iso

2. upload 18.03 iso

3. deploy new server

View barber_shop.exs
defmodule BarberShop do
@name :barber_shop
@num_chairs 3
def open do
shop_pid = spawn(__MODULE__, :loop, [])
:global.register_name(@name, shop_pid)
seanomlor / ids_parser.exs
Last active Dec 17, 2018
Elixir mp3 id3 parser
View ids_parser.exs
defmodule Id3Parser do
@id3_tag_size 128
def parse(file_name) do
case do
{:ok, mp3} ->
# mp3 size minus 128 bytes where id3 tag is located
mp3_byte_size = byte_size(mp3) - @id3_tag_size
You can’t perform that action at this time.