Skip to content

Instantly share code, notes, and snippets.

View sandersch's full-sized avatar

Charlie Sanders sandersch

View GitHub Profile
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#

README

We are building a database of Bed and Breakfasts, along with user-based votes in favor or against those venues. In order to build this list of Bed and Breakfasts, we'll provide an application that allows users to give a "+1" or a "-1" to a particular place -- a hybrid combination of Reddit-style voting on a Yelp-style database.

Our task is to build the controller and model methods required to implement the JSON API that the message processor will use to store votes. We will not need to build any front-end components to handle the voting.

@sandersch
sandersch / gist:11a962097ffe3a3fbed488a1a4d5ba4b
Last active August 13, 2019 01:32
HESS 8/12/2019 21:00 Re-Opening
A sales clerk says, "A purple acuity flare chit will cost 40000 Duskruin Arena bloodscrip to purchase. There are only 10 left!"
A sales clerk says, "A crumpled rare flare epistle will cost 30000 Duskruin Arena bloodscrip to purchase. There are only 10 left!"
A sales clerk says, "A torn resistance stub will cost 30000 Duskruin Arena bloodscrip to purchase. There are only 10 left!"
A sales clerk says, "An Ithzir unlock letter will cost 75000 Duskruin Arena bloodscrip to purchase. There are only 10 left!"
A sales clerk says, "A green Ithzir Armor sheet will cost 500000 Duskruin Arena bloodscrip to purchase. There are only 2 left!"
A sales clerk says, "A blue Voln Armor invoice will cost 500000 Duskruin Arena bloodscrip to purchase. There are only 2 left!"
A sales clerk says, "A solid voln armor paper will cost 150000 Duskruin Arena bloodscrip to purchase. There is only 1 left!"
A sales clerk says, "An unlocked voln armor page will cost 75000 Duskruin Arena bloodscrip to purchase. There are only 9 left!"
@sandersch
sandersch / brew.list
Created February 13, 2019 22:05
Ruby 2.5.1 + gtk2
ack
android-sdk
atk
autoconf
automake
cairo
cloog
cloog-ppl015
cloog@0.15
coreutils
>;group count
--- Lich: group active.
Marhand is following you.
Kinjaro is following you.
Brikus is following you.
Melivn is following you.
Morgahan is following you.
Chopad is following you.
Ragz is following you.
Tigerwolf is following you.
As you sing to a lustrous stormy black pearl suffused with an indigo-laced iridescence, it glimmers slightly, and slowly, a vision begins to unfold.
A young boy plays with his friends, gleefully slogging through the muck and mire of a small stream. Something glittering in the riverbank catches his eye, and he stops to look. To the great delight of his friends, he has found a small, clear sapphire. Soon, all the boys are covered head-to-toe in mud as they try to find their own buried treasure. Each boy returns with a handful of pebbles and brightly colored stones, but no more gems.
The moon rises, and the young boy sits on his bed, staring in rapt fixation as starlight glints off his sapphire. Suddenly, he pulls a small knife from a pile of string, rocks, and other typical boy fare and begins to chip away at the gemstone. He pauses, holding it up catch the starlight again and then gently carves away, humming beneath his breath. Soon, a tiny heart-cut clear sapphire lies in the palm of his hand.
Your
imbed_info_for = proc do |spell_num|
item, info = UserVars.imbeds.find do |(imbed_name, imbed_info)|
imbed_info[:spell] == spell_num
end
info.merge(item_name: item)
end
find_magicsack = proc do
GameObj[UserVars.magicsack] or raise "Couldn't find magic sack"
end
imbed_info_for = proc do |spell_num|
item, info = UserVars.imbeds.find do |(imbed_name, imbed_info)|
imbed_info[:spell] == spell_num
end
info.merge(item_name: item)
end
find_magicsack = proc do
GameObj[UserVars.magicsack] or raise "Couldn't find magic sack"
end
imbed_info_for = proc do |spell_num|
item, info = UserVars.imbeds.find do |(imbed_name, imbed_info)|
imbed_info[:spell] == spell_num
end
info.merge(item_name: item)
end
find_magicsack = proc do
GameObj[UserVars.magicsack] or raise "Couldn't find magic sack"
end
%{cloudy off-white vellum},
%{amethyst skull token},
%{azure feather-etched token},
%{silvery wing token},
%{stormcloud token},
%{three-masted galleon token},
%{small clear glass ball},
%{petrified hermit bar},
%{petrified honey-laced cake},
%{petrified oil and anise cake},