Skip to content

Instantly share code, notes, and snippets.

View leefaus's full-sized avatar
🚀
Building @ Atomic

Lee Faus leefaus

🚀
Building @ Atomic
  • Stealth
  • Hilton Head Island, SC
View GitHub Profile
require 'json'
my_hash = JSON.parse('{"hello": "goodbye"}')
puts my_hash["hello"]
@leefaus
leefaus / helloworld.exs
Last active August 14, 2017 20:41
Testing MATT
IO.puts "Hello world from Elixir || DOCKER Version"
IO.puts "Hello @githubhq!"
@leefaus
leefaus / flow.md
Created November 3, 2015 16:36
ChatOp Flow

+Dev - Watch for Push/PR/Issues

  • Click on Hyperlink back to GitHub +general
  • @hubot tower inventories
  • @hubot tower inventory 3
  • @hubot ec2 ls
  • @hubot ec2 ls --instance_id=[instance_id]
sudo docker run -it --name rocketchat -p 3000:80 --restart=always --link mongodb:mongo -e MONGO_URL=mongodb://mongo:27017 -e ROOT_URL=http://$PUBLIC_DNS -d rocketchat/rocket.chat
sudo docker run -it --name nginx -p 80:80 -p 443:443 --restart=always -e UPSTREAM_SERVERS=$LOCAL_IP:3000 -e FORCE_SSL=true -d quay.io/aptible/nginx
[1:0:545][lfaus@Lees-MacBook-Pro:][~/Projects/nodejs/nuttychat] [master]
$ script/build
Node: v0.10.21
npm: v1.4.28
Installing build modules...
Installing apm...
Installing modules ✓
Deduping modules ✓
Running "build-atom-shell" task
>> Traceback (most recent call last):
class Person
include MongoMapper::EmbeddedDocument
key :family, String
key :given, String
key :middle, String
end
class Patient
include MongoMapper::Document
key :personal, Person
key :address, Address
key :telephone, Telephone
many :problems
many :immunizations
many :alerts