I hereby claim:
- I am pjg on github.
 - I am pjg (https://keybase.io/pjg) on keybase.
 - I have a public key whose fingerprint is E334 4C87 8C09 541C 00E7 8C13 55D0 A2D3 1EE6 F1ED
 
To claim this, I am signing this object:
| class Api::UploadsController < ApiController | |
| def create | |
| @upload = Upload.new(upload_params) | |
| ensure | |
| clean_tempfile | |
| end | |
| private | 
| class WebhooksController < ActionController::Base | |
| WEBHOOK_KEY = "some_key" # You could also use an API request to lookup the key | |
| before_filter :verify_request_signature | |
| # See: http://help.mandrill.com/entries/23704122-Authenticating-webhook-requests | |
| def verify_request_signature | |
| signed_data = request.url | |
| post_params = request.request_parameters.dup # POST parameters | 
| /** | |
| * Get YouTube ID from various YouTube URL | |
| * @author: takien | |
| * @url: http://takien.com | |
| * For PHP YouTube parser, go here http://takien.com/864 | |
| */ | |
| function YouTubeGetID(url){ | |
| var ID = ''; | |
| url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); | 
| require 'rspec' | |
| class Array | |
| def pairs(sum) | |
| end | |
| end | |
| # arr = [1,3,4,5,2,6,-1,0,2] | |
| # p arr.pairs(4) # => [[1,3],[4,0],[5,-1],[2,2]] | 
| require 'rom-mapper' | |
| class BigDecimal | |
| def inspect | |
| format("#<BigDecimal:%x %s>", object_id, to_s('F')) | |
| end | |
| end | |
| class Gateway | |
| def get_authors | 
I hereby claim:
To claim this, I am signing this object:
| class BigDecimal | |
| def inspect | |
| format("#<BigDecimal:%x %s>", object_id, to_s('F')) | |
| end | |
| end | 
| { | |
| "app/assets/javascripts/models/*.coffee": { | |
| "command": "jmodel", | |
| "alternate": "spec/javascripts/models/%s_spec.coffee", | |
| "template": "App.%S = DS.Model.extend" | |
| }, | |
| "app/assets/javascripts/controllers/*_controller.coffee": { | |
| "command": "jcontroller", | |
| "alternate": "spec/javascripts/controllers/%s_spec.coffee", | 
| ```bash | |
| ☺ vim --version 11:16 | |
| VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 26 2012 16:45:32) | |
| Included patches: 1-547 | |
| Modified by [email protected] | |
| Compiled by buildd@ | |
| Huge version with GTK2-GNOME GUI. Features included (+) or not (-): | |
| +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent | |
| +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments | |
| +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff |