I hereby claim:
- I am rfunduk on github.
- I am rfunduk (https://keybase.io/rfunduk) on keybase.
- I have a public key whose fingerprint is EB86 FA23 F865 B131 AD30 4776 92D1 8F10 1C51 9B64
To claim this, I am signing this object:
# Throttled Input event | |
# | |
#= provides throttled:input | |
# | |
#= require jquery | |
# | |
# Delays firing `input` event until user is done typing. | |
# | |
# ### Events | |
# |
I hereby claim:
To claim this, I am signing this object:
def create | |
@user = User.new(user_params) | |
if @user.save | |
ExampleMailer.purchase_email(@user).deliver | |
ExampleMailer.sale_email(@user).deliver | |
begin | |
Rails.logger.error("STRIPE API KEY: #{Stripe.api_key.inspect}") | |
@amount = 999 | |
customer = Stripe::Customer.create( |
def create | |
@user = User.new(user_params) | |
if @user.save | |
ExampleMailer.purchase_email(@user).deliver | |
ExampleMailer.sale_email(@user).deliver | |
begin | |
Rails.logger.error("STRIPE API KEY: #{Stripe.api_key.inspect}") | |
@amount = 999 | |
customer = Stripe::Customer.create( |
# http://use.perl.org/~Ovid/journal/39301 | |
module MixinUpper | |
def a; 'A'; end | |
def b; 'B'; end | |
end | |
module MixinLower | |
def a; 'a'; end | |
def b; 'b'; end |
<form id="comment_form" | |
action="/cgi-bin/comment.py" | |
method="post"> | |
Full Name: <input name="full_name" /><br/> | |
Email <small>(optional)</small>: <input name="email" /><br/> | |
Subject: <select name="subject"> | |
<option selected value="Comment">Comment</option> | |
<option value="Complaint">Complaint</option> | |
<option value="Question">Question</option> | |
</select><br/> |
import flash.display.Graphics; | |
import flash.display.BitmapData; | |
import flash.geom.Matrix; | |
import flash.events.MouseEvent; | |
[Embed(source='overlay.png')] | |
private var Overlay:Class; | |
private var g:Graphics; | |
private var bmd:BitmapData; |
<div id="footer"> | |
This site is Copyright © 2008 - blah, blah, blah | |
</div> |
html { | |
overflow-y: scroll; | |
} |
// Note: The functions should be wrapped in "double quotes" the | |
// same as the keys, I've removed them here for syntax | |
// highlighting purposes. | |
{ | |
"_id": "_design/ratings", | |
"views": { | |
"by_permalink": { | |
"reduce": function( keys, values ) { | |
return sum( values ) / values.length; |