Skip to content

Instantly share code, notes, and snippets.

View gugote's full-sized avatar
💭
🚀🦊

Carlos Bruscoli gugote

💭
🚀🦊
View GitHub Profile
// Testing dynamic content
var bookdata = [
{ id: 1, author: "Andy Weir", title: "The Martian", pages: "432", date: "05/23/2016"},
{ id: 2, author: "Ernest Cline", title: "Ready Player One", pages: "531", date: "05/12/2016"},
];
console.log(bookdata);
// Setup all the elements
var Container = React.createClass({
// Testing dynamic content
var bookdata = [
{ id: 1, author: "Andy Weir", title: "The Martian", pages: "432", date: "05/23/2016"},
{ id: 2, author: "Ernest Cline", title: "Ready Player One", pages: "531", date: "05/12/2016"},
];
console.log(bookdata);
// Setup all the elements
var Container = React.createClass({
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 16
bundle stdout: Warning, new version of rvm available '1.26.11', you are using older version '1.25.34'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
vagrant@doorbot-test /var/www/ring-site (frontend-chime) $ bundle install
Fetching source index from https://rubygems.org/
Fetching [email protected]:EdisonJunior/ring-oauth.git
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Retrying git clone '[email protected]:EdisonJunior/ring-oauth.git' "/usr/local/rvm/gems/ruby-2.1.3@ring-site/cache/bundler/git/ring-oauth-f57b25d8cf66c58
*** Panic Report ***
panic(cpu 0 caller 0xffffff8029e17cc2): Kernel trap at 0xffffff8029b0e27e, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff8546c7fa74, CR3: 0x0000000255e360bd, CR4: 0x00000000001606e0
RAX: 0x000000009a8f997b, RBX: 0xffffff80faed5400, RCX: 0xffffff80faed5800, RDX: 0x0000000000000000
RSP: 0xffffff81333f3bc0, RBP: 0xffffff81333f3c30, RSI: 0xffffff80faed5000, RDI: 0x0000000008000000
R8: 0xffffff8642a4f294, R9: 0xffffff8546c7fa74, R10: 0xffffff82e4899594, R11: 0xffffff80faed5800
R12: 0xfffffea1700af000, R13: 0xffffff80faed5ffe, R14: 0xffffff8054df8490, R15: 0x000000000c0017b1
RFL: 0x0000000000010206, RIP: 0xffffff8029b0e27e, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0xffffff8546c7fa74, Error code: 0x0000000000000000, Fault CPU: 0x0
commit 0a86fd4e746325d8fe52cc17a4529d9adc348407
Merge: 4ab9428 0ead3c5
Author: Evelin <[email protected]>
Date: Mon Mar 30 12:14:39 2015 -0300
Merge branch 'subscriptions' into frontend
commit f550889262ecae4f3f7def111fa964b8554dfa81
Merge: e347307 4ab9428
Author: Carlos Bruscoli <[email protected]>
2.1.3 :029 > cc.create_payment_profile
Spree::Gateway::StripeGateway Load (0.8ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."type" IN
('Spree::Gateway::StripeGateway') AND "spree_payment_methods"."deleted_at" IS NULL ORDER BY "spree_payment_methods"."id" ASC LIMIT 1
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
SiteUser Load (0.5ms) SELECT "site_users".* FROM "site_users" WHERE "site_users"."user_id" = $1 LIMIT 1 [["user_id", 4]]
Spree::Order Exists (0.9ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."user_id" = $1 LIMIT 1 [["user_id", 4]]
Spree::Order Load (4.2ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = $1 [["user_id", 4]]
Spree::Address Load (1.1ms) SELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = $1 LIMIT 1 [["id", 12]]
Spree::State Load (1.5ms) SELECT "spree_states".* FROM "spree_states" WHERE "spree_sta
vagrant@doorbot-test /var/www/ring-site (frontend*) $ sudo apt-get install libxml2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libxml2
1 upgraded, 0 newly installed, 0 to remove and 491 not upgraded.
Need to get 800 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://http.debian.net/debian/ jessie/main libxml2 amd64 2.9.1+dfsg1-5 [800 kB]
vagrant@doorbot-test /var/www/ring-site (frontend*) $ bundle config build.nokogiri --use-system-libraries
vagrant@doorbot-test /var/www/ring-site (frontend*) $ bundle
Fetching source index from https://rubygems.org/
Using rake 10.4.2
Using CFPropertyList 2.3.0
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
Using tzinfo 1.2.2
<div class="pageheader">
<h2><i class="fa fa-pencil"></i> Doorbots page <span>View, update or unlink doorbots</span></h2>
<div class="breadcrumb-wrapper">
<span class="label">You are here:</span>
<ol class="breadcrumb">
<li><a href="#/user" class="active">Users</a></li>
</ol>
</div>
</div>
<div class="contentpanel" id="doorbotList">