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 configuration = { | |
keys: require('./keys.js') | |
} | |
var request = require('request'); | |
var body = '{"status": "check '+Math.floor(Math.random()*9999)+'"}'; | |
var user_keys = require('./user_keys.js'); | |
var options = { | |
url: 'https://api.twitter.com/1.1/statuses/update.json', |
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 configuration = { | |
domain: 'localhost', | |
port: 80, | |
keys: require('./keys.js') | |
} | |
var express = require('express'); | |
var app = express(); | |
app.listen(configuration.port); | |
var passport = require('passport'); |
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
Goals (goal): | |
1 - Addictive Game to be made in four days w/ networking | |
Metrics (metric): | |
1 - Show off ability | |
2 - hone skills | |
3 - increase personal visibility | |
4 - *Start donation chain | |
Basic Strategy (direction): |
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
ceres@ceres-PCV-RX760-UC:~/Desktop/foo$ node app.js | |
events.js:48 | |
throw arguments[1]; // Unhandled 'error' event | |
^ | |
Error: listen EACCES | |
at errnoException (net.js:670:11) | |
at Array.0 (net.js:756:28) | |
at EventEmitter._tickCallback (node.js:190:38) | |
ceres@ceres-PCV-RX760-UC:~/Desktop/foo$ |
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
/home/ceres/personal_programs/byond/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games |
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
ceres@ceres-PCV-RX760-UC:~/node$ sudo apt-get install python-software-properties[sudo] password for ceres: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
python-software-properties is already the newest version. | |
0 upgraded, 0 newly installed, 0 to remove and 164 not upgraded. | |
ceres@ceres-PCV-RX760-UC:~/node$ sudo apt-add-repository ppa:chris-lea/node.js | |
You are about to add the following PPA to your system: | |
Evented I/O for V8 javascript. Node's goal is to provide an easy way to build scalable network programs | |
More info: https://launchpad.net/~chris-lea/+archive/node.js |