Skip to content

Instantly share code, notes, and snippets.

View hauntedhost's full-sized avatar

Jules Omlor hauntedhost

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:

# ~/.bash_profile
source "${__GIT_PROMPT_DIR}/"
hauntedhost / mnemonic-wordlist.txt
Created November 22, 2017 03:40
mnemonic wordlist
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
hauntedhost /
Created October 8, 2017 16:27


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

defmodule BarberShop do
@name :barber_shop
@num_chairs 3
def open do
shop_pid = spawn(__MODULE__, :loop, [])
:global.register_name(@name, shop_pid)
hauntedhost / ids_parser.exs
Last active December 30, 2022 00:36
Elixir mp3 id3 parser
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