Skip to content

Instantly share code, notes, and snippets.

App.Person = DS.Model.extend(
name: DS.attr("string")
)
PING 10.0.1.1 (10.0.1.1): 56 data bytes
64 bytes from 10.0.1.1: icmp_seq=0 ttl=255 time=77.900 ms
64 bytes from 10.0.1.1: icmp_seq=1 ttl=255 time=65.604 ms
64 bytes from 10.0.1.1: icmp_seq=2 ttl=255 time=1.896 ms
64 bytes from 10.0.1.1: icmp_seq=3 ttl=255 time=183.245 ms
64 bytes from 10.0.1.1: icmp_seq=4 ttl=255 time=93.669 ms
Request timeout for icmp_seq 5
64 bytes from 10.0.1.1: icmp_seq=5 ttl=255 time=1064.093 ms
64 bytes from 10.0.1.1: icmp_seq=6 ttl=255 time=803.661 ms
64 bytes from 10.0.1.1: icmp_seq=7 ttl=255 time=742.282 ms
diff --git a/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments.yml b/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments-full.yml
index bfda979..5919122 100644
--- a/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments.yml
+++ b/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments-full.yml
@@ -23,7 +23,7 @@ http_interactions:
message: OK
headers:
Date:
- - Mon, 10 Mar 2014 13:12:41 +0000
+ - Mon, 10 Mar 2014 13:04:46 +0000
App.ApplicationController = Ember.ObjectController.extend
order: null
product: null
init: ->
order_uuid = $('meta[name="order_uuid"]').attr('content')
@store.find("order", order_uuid).then((order) =>
console.log "Yay, got", order
order.get("product").then((product) =>
console.log "sad, did not get", product
# I get this error in the console instead:
Class {id: "89069589-5750-41b7-a91e-18da7c03e0c3", store: Class, container: Container, _changesToSync: Object, _deferredTriggers: Array[0]…}
__ember1398576977764: "ember323"
__ember1398576977764_meta: Object
_attributes: Object
_changesToSync: Object
_data: Object
_deferredTriggers: Array[0]
_inFlightAttributes: Object
_loadingPromise: null
_relationships: Object
@ramontayag
ramontayag / bitcoin-2014-01-30.md
Created May 24, 2014 07:38
Bitcoin in The Philippines

Future shaped by virtual currency

Let's pause for a bit. Okay, now, let's fast-forward. You're now five years into the future. You walk into a restaurant, have a fine meal, and ask for the bill. The waiter hands you a tiny tablet and you whip out your phone to scan the QR code on it. It blinks "paid". Done with your supper, you walk out and tap your phone to hail a cab. At your destination, your driver hands you another tiny tablet and you scan the QR code there as well.

It might sound like a scene from your usual sci-fi flick, but I'd like to think this future is not too far away. Take your imagination further and envision paying with money that is not controlled by a single institution. Imagine this money being sent across political borders, with virtually no fee, being received safely and fully by your recipient. After all, it is your money. Shouldn't you have full control of it?

This is the powerful possibility of virtual currencies. The most popular, [Bitcoin]

Basis is Dokku:

upstream $APP {
  server 127.0.0.1:$PORT;
}

server {
  listen      [::]:80;
  listen      80;
#!/bin/bash
source "/home/deploy/.rvm/scripts/rvm"