I hereby claim:
- I am pootsbook on github.
- I am pootsbook (https://keybase.io/pootsbook) on keybase.
- I have a public key whose fingerprint is 2E2E 008E CD35 37FE 46D2 67AB E74F 6DFC 04AE D9B7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
stripe_account = { | |
country: 'US', | |
display_name: 'string', | |
email: 'string', | |
business_name: 'string', | |
business_url: 'string', | |
managed: true, | |
bank_account: 'stripe.js token', | |
legal_entity: { | |
address: { |
# Install Node.js | |
# https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager | |
$ curl -sL https://deb.nodesource.com/setup | sudo bash - | |
$ sudo apt-get install nodejs | |
$ npm install -g phantomjs | |
$ npm install -g bower | |
$ npm install -g ember-cli | |
$ npm install | |
# Solve cache issue "Cannot find module" |
# gem 'balanced', '1.2.1' | |
# BalancedPayments API v1.1 | |
# ACH Payments only | |
# Three parties: marketplace (you), merchant (Balanced::Customer), buyer (Balanced::Customer) | |
bank_account_href = "" # from balanced.js | |
bank_account = Balanced::BankAccount.fetch(bank_href) | |
# it seems a customer requires dob_month, dob_year & address.postal_code in order to be verified | |
# cf. https://docs.balancedpayments.com/1.1/overview/resources/#customer-identity-verification |
Philips-MacBook-Pro:~ pootsbook$ sudo fsck_hfs -r -d /dev/disk1s1 | |
Password: | |
journal_replay(/dev/disk1s1) returned 0 | |
** /dev/rdisk1s1 (NO WRITE) | |
Using cacheBlockSize=32K cacheTotalBlock=65536 cacheSize=2097152K. | |
Executing fsck_hfs (version hfs-226.1.1). | |
Block 2 is not an MDB or Volume Header | |
Block 1953525164 is not an MDB or Volume Header | |
volumeType is 0 | |
0000: eb58 9042 5344 2020 342e 3400 0240 2000 |.X.BSD..4.4.....| |
# Two files, default sort order is alphabetical ascending on file name. | |
# _config.yml | |
collections: | |
albums: | |
output: true | |
# _albums/audio_video_disco.md | |
--- |
class Url | |
attr_reader :url | |
def initialize(url) | |
raise(ArgumentError, "url not specified") unless url | |
@url = url | |
end | |
def to_uri | |
URI.parse(url) |
http://alg.github.io/talks/emberjs
http://www.embercasts.com/episodes/building-an-autocomplete-widget-part-1
http://stackoverflow.com/questions/17015086/calling-a-controller-method-whenever-the-value-of-a-input-ember-handlebars-h
http://eviltrout.com/2013/03/23/ember-without-data.html
http://stackoverflow.com/questions/1909441/jquery-keyup-delay
http://stackoverflow.com/questions/12487227/is-there-a-way-to-debounce-an-observer
http://stackoverflow.com/questions/6417616/jquery-live-search-ajax-calls-as-user-types-but-with-small-delay
asset-path($relative-asset-path, $asset-class) | |
asset-path("rails.png", image) => "/assets/rails.png" | |
image-path($relative-asset-path) | |
font-path($relative-asset-path) | |
video-path($relative-asset-path) | |
audio-path($relative-asset-path) | |
javascript-path($relative-asset-path) | |
stylesheet-path($relative-asset-path) |
# Rails Asssets Configuration | |
http://upstre.am/blog/2011/10/http-caching-assets-in-rails-3-1/ | |
# EngineYard Asset Tips | |
https://support.cloud.engineyard.com/entries/21009802-Rails-3-1-Asset-Pipeline-Tips | |
# Cloudinary Static Assets | |
http://cloudinary.com/blog/how_to_deliver_your_static_images_through_a_cdn_in_ruby_on_rails |