I hereby claim:
- I am nixme on github.
- I am nixme (https://keybase.io/nixme) on keybase.
- I have a public key ASA3bPJsXsPpv5uKWQ2inQkFW9_BAea3sqZxuOLbu-GLhgo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
puts ARGV[rand(ARGV.size)] |
require 'rack/deflater' | |
module Rack | |
class Deflater | |
def call(env) | |
status, headers, body = @app.call(env) | |
headers = Utils::HeaderHash.new(headers) | |
# Skip compressing empty entity body responses and responses with | |
# no-transform set. |
# Quick and dirty script to read unique IDs from NFC tags using the ACR122U USB | |
# reader. | |
# | |
# PC/SC-based API details for the ACR122U available at | |
# http://acs.com.hk/drivers/eng/API_ACR122U_v2.01.pdf | |
# | |
# Assumes ruby >= 1.9.2 | |
# `gem install smartcard` first | |
# |
class User < ActiveRecord::Base | |
attr_accessible :fb_id, :name, :profile_img_url, :spotify_id | |
has_many :votes | |
has_many :songs, through: :votes | |
end | |
class Vote < ActiveRecord::Base | |
belongs_to :user | |
belongs_to :song |
I hereby claim:
To claim this, I am signing this object: