Skip to content

Instantly share code, notes, and snippets.

Nick DeMonner ndemonner

Block or report user

Report or block ndemonner

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 ndemonner on github.
  • I am ndemonner ( on keybase.
  • I have a public key whose fingerprint is 858E 98DD 2B69 8AB2 EB40 F9D3 0297 6283 B685 2FD3

To claim this, I am signing this object:

ndemonner / Vagrantfile
Created Jul 23, 2015
Sample Vagrantfile for easy Elixir-based development
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64" "private_network", ip: ""
config.vm.provision "shell", inline: <<-SHELL
wget && sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install -y nodejs
View gist:25a76ae27fdda1725235
# Factorial!
push 10
store 0
push 1
store 1
# Put the counter value on the stack. If it's 0, we're done
# and register 1 contains the final result.
ndemonner / gist:7121749
Created Oct 23, 2013
Data service from Concierge.
View gist:7121749
'use strict';
.service 'Data', ($q, $timeout, $rootScope, $parse) ->
# Usage:
# Data.sync $scope,
# path: "users/#{$}"
# include: ["requests/*/room", "currentStay", "currentRoom/property"]
sync: (scope, args) ->
self = this
ndemonner / just_do_it
Created Mar 8, 2012
Simple todo app for Fay
View just_do_it
class TodoApp
attr_accessor :todos
def initialize
@todos = []
def start
puts "Hi there! Welcome to Just Do It!"
ndemonner / hasher.rb
Created Feb 14, 2012
Hashing example
View hasher.rb
# we need access to the digest library for proper hashing
require 'digest'
# first we create the object that will do the hashing and store it in the hasher variable
hasher =
# next we ask for their password
puts "What's your password?"
password = gets.chomp
You can’t perform that action at this time.