Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
;(function ( $, window, document, undefined ) { | |
// Create the defaults once | |
var pluginName = 'defaultPluginName', | |
defaults = { | |
propertyName: "value" | |
}; | |
// The actual plugin constructor | |
function Plugin( element, options ) { |
<?xml version="1.0" encoding="UTF-8"?> | |
<yahoo-weather-codes> | |
<code number="0" description="tornado"/> | |
<code number="1" description="tropical storm"/> | |
<code number="2" description="hurricane"/> | |
<code number="3" description="severe thunderstorms"/> | |
<code number="4" description="thunderstorms"/> | |
<code number="5" description="mixed rain and snow"/> | |
<code number="6" description="mixed rain and sleet"/> | |
<code number="7" description="mixed snow and sleet"/> |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
(function() { | |
var triggerBttn = document.getElementById( 'js-trigger-overlay' ), | |
overlay = document.querySelector( 'div.overlay' ), | |
body = document.querySelector( 'body' ); | |
var transEndEventNames = { | |
'WebkitTransition': 'webkitTransitionEnd', | |
'MozTransition': 'transitionend', | |
'OTransition': 'oTransitionEnd', | |
'msTransition': 'MSTransitionEnd', | |
'transition': 'transitionend' |
@media screen and (max-width: 480px) { | |
html { | |
/* | |
* Overlay effect | |
* | |
*/ | |
.overlay{ | |
position:fixed; | |
width:100%; | |
height:100%; |
When adding a bank account to a customer in Stripe, Stripe forces you to verify the bank account (either through microdeposits or through Plaid. This is useful because you don't want to withdraw money from a bank account that a user does not own. However when it comes to sending money to bank accounts, Stripe does not require you to verify the account. After all why would you send money to an account that you're not in control of. But lets face it, users make mistakes and its not uncommon for them to type their routing or account number which can significantly delay their transfers.
One way to prevent this is to get their routing and account number directly from their bank and avoid the possibility of user error. This is where Plaid comes in. Plaid provides instant ACH verification by having the user log into their bank account (similiar to what you may done if you've ever used Mint). The u
# Set your secret key: remember to change this to your live secret key in production | |
# See your keys here: https://dashboard.stripe.com/account/apikeys | |
Stripe.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2" | |
Stripe::Order.create( | |
:currency => 'usd', | |
:email => 'jenny@example.com', | |
:items => [ | |
{ | |
:type => 'sku', |
This written tutorial is a concise version of this tutorial, which covers building a payment system into a Rails app using Stripe.js. It assumes a basic familiarity with Ruby on Rails, Git and the command-line.