- Google API (Google Maps): http://maps.googleapis.com/maps/api/geocode/json?address=NE65HL&sensor=false
- Nominatim (Open Street Map): http://wiki.openstreetmap.org/wiki/Nominatim
- The Google Geocoding API: https://developers.google.com/maps/documentation/geocoding/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Url | |
attr_reader :url | |
def initialize(url) | |
raise(ArgumentError, "url not specified") unless url | |
@url = url | |
end | |
def to_uri | |
URI.parse(url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Two files, default sort order is alphabetical ascending on file name. | |
# _config.yml | |
collections: | |
albums: | |
output: true | |
# _albums/audio_video_disco.md | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.....| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: { |