Encom Boardroom
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
// node server.js | |
// should print out 3 lines each time the tests polls, 1 without special headers, 1 with 1 header, 1 with 2 headers | |
var http = require('http'); | |
http.createServer(function (req, res) { | |
console.log(JSON.stringify(req.headers)); | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end(JSON.stringify({"status":"up"})); | |
}).listen(9615); |
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
21:29 < arscan> you guys are just in this room randomly? | |
21:30 < arscan> (as in, not through habitrpg.com)? | |
21:30 < arscan> whatever you do, don't bring up reflists | |
21:30 < lefnire-js> ugh...refLists...I need a breather | |
21:30 -!- lefnire-js [~nodebot@80.232.85.149] has quit [Quit: refLists...why do you hate me so...;(] | |
21:30 < Willz> I joined this room to talk:( | |
21:30 < lucasaiu> arscan: found this with /list :-) | |
21:30 -!- lefnire-js [~nodebot@80.232.85.149] has joined #habitrpg | |
21:30 < lefnire-js> phew, now I feel better. what's up guys? | |
21:31 < miha> was that a speed break? |
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
#!/usr/bin/env ruby | |
# gem install digital_ocean | |
# ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $(./thisscript) | |
require 'digital_ocean' | |
CLIENT_ID = '' | |
API_KEY = '' | |
IMAGE_NAME = '' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
TEST!22222222222adfasfdsdfafdasdfdfasdfasdfasdfasfdsdasdfasfasdf |
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
asdfasdf |
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
<html> | |
</html> | |
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
// Three.js r40 - http://github.com/mrdoob/three.js | |
var THREE=THREE||{};if(!window.Int32Array){window.Int32Array=Array;window.Float32Array=Array}THREE.Color=function(b){this.setHex(b)}; | |
THREE.Color.prototype={copy:function(b){this.r=b.r;this.g=b.g;this.b=b.b;this.hex=b.hex},setHex:function(b){this.hex=~~b&16777215;this.updateRGB()},setRGB:function(b,d,c){this.r=b;this.g=d;this.b=c;this.updateHex()},setHSV:function(b,d,c){var f,g,h,j,k,m;if(c==0)f=g=h=0;else{j=Math.floor(b*6);k=b*6-j;b=c*(1-d);m=c*(1-d*k);d=c*(1-d*(1-k));switch(j){case 1:f=m;g=c;h=b;break;case 2:f=b;g=c;h=d;break;case 3:f=b;g=m;h=c;break;case 4:f=d;g=b;h=c;break;case 5:f=c;g=b;h=m;break;case 6:case 0:f=c;g=d;h=b}}this.setRGB(f, | |
g,h)},updateHex:function(){this.hex=~~(this.r*255)<<16^~~(this.g*255)<<8^~~(this.b*255)},updateRGB:function(){this.r=(this.hex>>16&255)/255;this.g=(this.hex>>8&255)/255;this.b=(this.hex&255)/255},clone:function(){return new THREE.Color(this.hex)}};THREE.Vector2=function(b,d){this.set(b||0,d||0)}; | |
THREE.Vector2.prototype |
The equirectangular projection is available as d3.geo.equirectangular. See also the rotating version.
OlderNewer