Skip to content

Instantly share code, notes, and snippets.

Avatar

Masaki(maskin)Masaki maskin

View GitHub Profile
View gist:17dcb320868287293ad4d054f10a1ed0
### Keybase proof
I hereby claim:
* I am maskin on github.
* I am maskin (https://keybase.io/maskin) on keybase.
* I have a public key whose fingerprint is FD89 9566 7DA2 B5F4 E393 54F2 925B E7A0 34C0 7C2C
To claim this, I am signing this object:
View mini_twitter.rb
require "rubygems"
require "sinatra"
require 'json'
require 'haml'
require 'sequel'
Sequel::Model.plugin(:schema)
Sequel.sqlite('twitter.db')
class Users < Sequel::Model
unless table_exists?