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
| Kant held that "free will" is essential; human dignity is related to human agency, the ability of humans to choose their own actions |
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
| Launching '/Applications/Couchbase Single Server.app/Contents/Resources/couchdbx-core/bin/couchdb' | |
| {error_logger,{{2011,11,1},{21,9,27}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,econnrefused}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]} | |
| {error_logger,{{2011,11,1},{21,9,27}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.59>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,458}],[]]} | |
| {error_logger,{{2011,11,1},{21,9,27}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_ker |
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
| var app = require('common').app, | |
| common = require('common'), | |
| db = require('common').db, | |
| io = require('common').socket, | |
| //form = require('common').form; | |
| formidable = require('formidable'), | |
| util = require('util'), | |
| fs = require('fs'); | |
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
| == model/dreamModel.js | |
| DreamModel.prototype.save = function(articles, callback) { | |
| if( typeof(articles.length) == 'undefined') { | |
| articles = [articles]; | |
| } | |
| for(var i=0;i<articles.length;i++) { | |
| article = articles[i]; | |
| articles.created = new Date(); |
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
| DreamModel.prototype.findAll = function(callback) { | |
| this.db.view('dream/all', function(err, res) { | |
| if (err) { | |
| console.log(err) | |
| } else { | |
| var docs = []; | |
| res.forEach(function (row) { | |
| docs.push(row); | |
| }); | |
| callback(null, docs); |
NewerOlder