This file contains 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
---- React Component | |
'use strict'; | |
if(process.env.BROWSER) { | |
require('../../../../bower_components/bootstrap/dist/css/bootstrap.min.css'); | |
require('../../../../public/styles/shop.css'); | |
//var img = document.getElementsByClassName('product__photo'); | |
var productPhoto = require('../../../../public/assets/products/cake.jpg'); | |
console.log(' *************** Product PHOTO ********************'); | |
console.log(productPhoto); |
This file contains 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
var sent = { | |
"1": [{ | |
"counts": { | |
"sent": 0 | |
}, | |
"datetime": "2015-02-09" | |
}, { | |
"counts": { | |
"sent": 0 | |
}, |
This file contains 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
aldo$ gulp | |
/Users/aldo/Satio/Desarrollo/node/kazu-customer-website/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/lodash/dist/lodash.js:595 | |
/** | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
SyntaxError: Unexpected token ILLEGAL | |
at Module._compile (module.js:439:25) | |
at Object.Module._extensions..js (module.js:474:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) |
This file contains 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
[~/Satio/Desarrollo/kotlin/react/src/vendor/core] (master) | |
aldo$ ls -ltr | |
total 200 | |
-rw-r--r-- 1 aldo staff 1393 Jan 20 18:29 warning.js | |
-rw-r--r-- 1 aldo staff 1755 Jan 20 18:29 toArray.js | |
-rw-r--r-- 1 aldo staff 950 Jan 20 18:29 requestAnimationFrame.js | |
-rw-r--r-- 1 aldo staff 623 Jan 20 18:29 nativeRequestAnimationFrame.js | |
-rw-r--r-- 1 aldo staff 885 Jan 20 18:29 monitorCodeUse.js | |
-rw-r--r-- 1 aldo staff 3707 Jan 20 18:29 mergeHelpers.js | |
-rw-r--r-- 1 aldo staff 8818 Jan 20 18:29 mergeDeepInto.js |
This file contains 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
/** @jsx React.DOM */ | |
var React = require('react'); | |
var SignUpModal = require('../signup/signUpModal'); | |
var Header = | |
React.createClass({ | |
render: function () { | |
return ( |
This file contains 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
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH | |
# if [[ -s ~/.rvm/scripts/rvm ]] ; then source ~/.rvm/scripts/rvm ; fi | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# Just add tab-completion to `tm` | |
complete -W '$(ls ~/.tmproj | sed s/.tmproj//)' tm |
This file contains 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
, { path: '/bonds/{id}' , method: 'GET' , config: BondsController.showConfig } | |
bondsController.removeConfig = { | |
handler: function(req, reply) { | |
Bond.findById(req.params.id, function(err, bond) { | |
if(!err && bond) { | |
bond.remove(); | |
reply({ message: "Bond deleted successfully"}); |
This file contains 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
client_newhome.update(options) | |
.then(function(response, wat) { | |
// TODO check response. Wether if token is valid or not. | |
console.log('saveToServer '); | |
console.log(response); | |
if (_.isEmpty(response.error)) { // valid token was sent | |
localStorage.removeItem('development-' + options.developmentID); | |
localStorage.removeItem('token-' + options.developmentID); | |
app.header.countStoredDevelopments(); | |
if (callback) { |
This file contains 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
Started PUT "/app/contacts/5.json" for 127.0.0.1 at 2014-03-05 16:13:09 -0300 | |
Processing by App::ContactsController#update as JSON | |
Parameters: {"first_name"=>"Aldo", "last_name"=>"Nievas3", "email"=>"aldo+6@satio.com.ar", "phone_number"=>"", "company_name"=>"", "id"=>"5", "full_name"=>"Aldo Nievas1", "contact"=>{"id"=>"5", "first_name"=>"Aldo", "last_name"=>"Nievas3", "email"=>"aldo+6@satio.com.ar", "phone_number"=>"", "company_name"=>""}} | |
User Load (59.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 | |
(0.2ms) BEGIN | |
SQL (1.0ms) UPDATE "users" SET "last_request_at" = $1, "perishable_token" = $2, "updated_at" = $3 WHERE "users"."id" = 1 [["last_request_at", Wed, 05 Mar 2014 19:13:09 UTC +00:00], ["perishable_token", "gbg34jDjzSKGMclPSAOv"], ["updated_at", Wed, 05 Mar 2014 19:13:09 UTC +00:00]] | |
(0.4ms) COMMIT | |
Contact Load (1.8ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = $1 AND "contacts"."id" = $2 LIMIT 1 [["user_id", 1], ["id", "5"]] | |
Unpermitted param |
This file contains 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
aldo@macbook ~/Satio/Desarrollo/node/control (user-management) > netstat | grep ESTABLISHED | |
tcp4 0 0 192.168.0.14.62746 82-241-30-181.fi.https ESTABLISHED | |
tcp4 0 0 192.168.0.14.62745 ec2-50-19-80-20..https ESTABLISHED | |
tcp4 0 0 192.168.0.14.62719 qc-in-f125.1e100.jabbe ESTABLISHED | |
tcp4 0 0 192.168.0.14.62712 17.172.232.133.5223 ESTABLISHED | |
tcp4 0 0 192.168.0.14.62697 157.56.116.204.12350 ESTABLISHED | |
tcp4 0 0 192.168.0.14.62451 qe-in-f189.1e100.https ESTABLISHED | |
tcp4 0 0 192.168.0.14.61201 vb-in-f125.1e100.jabbe ESTABLISHED | |
tcp4 0 0 192.168.0.14.61170 173.192.82.195-s.http ESTABLISHED | |
tcp4 0 0 192.168.0.14.61171 173.192.82.195-s.http ESTABLISHED |