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
Append this to your $HOME/.ssh/config file | |
Host videoswithfriends.no.de | |
Port 19880 | |
User node | |
ForwardAgent yes | |
To run an existing GIT repository with a file called server.js in the root then do this: | |
cd repo | |
git remote add videoswithfriends.no.de videoswithfriends.no.de:repo | |
git push videoswithfriends.no.de master |
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
Append this to your $HOME/.ssh/config file | |
Host vwf2.no.de | |
Port 49118 | |
User node | |
ForwardAgent yes | |
To run an existing GIT repository with a file called server.js in the root then do this: | |
cd repo | |
git remote add vwf2.no.de vwf2.no.de:repo | |
git push vwf2.no.de master | |
If everything goes correctly your server will be running at http://vwf2.no.de/ |
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
add_to_queue: function(video_url, room_hash, queue_name) { | |
id = video.get_video_id(video_url); | |
switch(video.get_video_type(video_url)) { | |
case 1: | |
service = 'youtube'; | |
video_key = 'video:' + service + ':' + id; | |
db.rpush(queue_name, video_key, function() {}); | |
db.hget('videos', video_key, function(err, data) { | |
if (data == null){ |
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 db = require('redis').createClient(), | |
nowjs = require('now'), | |
http = require('http'), | |
video = require('video'); | |
var Zeus = function() { | |
} | |
Zeus.prototype = { |
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 nowjs = require('now'), | |
Zeus = require('Zeus').Zeus, | |
everyone; | |
function start_chat(server) { | |
transport_types = ['xhr-polling', 'jsonp-polling']; | |
everyone = nowjs.initialize(server, { socketio: {'log level': 3, | |
'transports': transport_types }}); | |
nowjs.on('connect', function(){ |
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
Append this to your $HOME/.ssh/config file | |
Host sonny.no.de | |
Port 43881 | |
User node | |
ForwardAgent yes | |
To run an existing GIT repository with a file called server.js in the root then do this: | |
cd repo | |
git remote add sonny.no.de sonny.no.de:repo | |
git push sonny.no.de master | |
If everything goes correctly your server will be running at http://sonny.no.de/ |
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
Append this to your $HOME/.ssh/config file | |
Host videoswithfriends.no.de | |
Port 19880 | |
User node | |
ForwardAgent yes | |
To run an existing GIT repository with a file called server.js in the root then do this: | |
cd repo | |
git remote add videoswithfriends.no.de videoswithfriends.no.de:repo | |
git push videoswithfriends.no.de master | |
If everything goes correctly your server will be running at http://videoswithfriends.no.de/ |
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
Object[] row = new Object[] { "", name, flows, totalBytes, totalBitRate, | |
totalPackets, totalPacketRate, totalByteData.getKeyObject(), hashCode }; |
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
<td> | |
<span id="bg-topColor1"></span> | |
ip address | |
</td> | |
#bg-topColor1 { | |
background-color: #00FFFF; | |
width: 16px; | |
height: 16px; | |
-webkit-border-radius: 3px; |
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
alsdjfklsjdf |
OlderNewer