Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View snapcase's full-sized avatar
:shipit:
aye

snapcase snapcase

:shipit:
aye
View GitHub Profile
@snapcase
snapcase / armory.rb
Created March 9, 2017 08:45
armory profile
require 'httparty'
class Armory
include HTTParty
base_uri 'https://eu.api.battle.net/wow'
CLASS = {
1 => { name: 'Warrior', color: 'C79C6E' },
2 => { name: 'Paladin', color: 'F58CBA' },
3 => { name: 'Hunter', color: 'ABD473' },
@snapcase
snapcase / affixes_data.rb
Created March 9, 2017 09:13
wow affixes
module Affixes
DATA = [
['Raging', 'Necrotic', 'Fortified'],
['Bolstering', 'Overflowing', 'Tyrannical'],
['Sanguine', 'Volcanic', 'Fortified'],
['Teeming', 'Necrotic', 'Tyrannical'],
['Raging', 'Volcanic', 'Tyrannical'],
['Bolstering', 'Skittish', 'Fortified'],
['Sanguine', 'Overflowing', 'Tyrannical'],
['Teeming', 'Skittish', 'Fortified']
@snapcase
snapcase / meepmerp.user.js
Last active June 6, 2017 20:35
meep merp
// ==UserScript==
// @name Meep Merp
// @namespace lulz
// @match http://meepmerp.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
setInterval(function() { meepMerp() }, 500);
@snapcase
snapcase / rubycat.rb
Created August 8, 2017 18:44
rubycat
class RubyCat < Sinatra::Base
@@db_conns = []
#
# current implementation
#
# creates a new connection to mysql
get '/create' do
@@db_conns << Mysql2::Client.new(host: '127.0.0.1', username: 'root', password: 'derp')

Keybase proof

I hereby claim:

  • I am snapcase on github.
  • I am snapcase (https://keybase.io/snapcase) on keybase.
  • I have a public key ASDkIJSRYE_IsYIAWl5DsTQKaG_bjffPUy7OHuDwf7j0oAo

To claim this, I am signing this object: