I hereby claim:
- I am bdcheung on github.
- I am bdcheungpm (https://keybase.io/bdcheungpm) on keybase.
- I have a public key ASBpC1_8HbGEUQJ6ScSB_HR3KTxLpt1-f5z__9NPM28SpQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| require 'pry' | |
| class RockPaperScissorGame | |
| attr_accessor :player_choice, :computer_choice | |
| CHOICES = { | |
| :p => 'Paper', | |
| :r => 'Rock', | |
| :s => 'Scissor' | |
| }.freeze |
| Rails::Application.configure do | |
| ######################### | |
| # Other config settings # | |
| ######################### | |
| # Enable ActionMailer previews in staging | |
| config.action_mailer.preview_path ||= defined?(Rails.root) ? "#{Rails.root}/test/mailers/previews" : nil | |
| config.autoload_paths += [config.action_mailer.preview_path] | |
| routes.append do | |
| get '/rails/mailers' => "rails/mailers#index" |
| import requests | |
| import sys | |
| from datetime import datetime, timedelta | |
| import pytz | |
| from PIL import Image | |
| from StringIO import StringIO | |
| import os | |
| # python himawari.py | |
| # stolen from https://gist.github.com/celoyd/39c53f824daef7d363db |
| --smart-case | |
| --sort-files | |
| --follow | |
| --color | |
| --group | |
| --type-set=coffee=.coffee | |
| --type-set=slim=.slim | |
| --type-set=scss=.scss | |
| --type-set=less=.less |