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
// Generated by CoffeeScript 1.4.0 | |
(function() { | |
var fs, http, qs, server; | |
http = require("http"); | |
qs = require("querystring"); | |
fs = require("fs"); |
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
Request URL:http://ads.intergi.com/adrawdata/3.0/5205/2408430/0/2898/ADTECH;referring_url=http%3A%2F%2Fmotd.pinion.gg%2Fmotd%2Foffice%2Fintergihtml5wcookie.html;number=1353021571;time=1353021571;cors=yes;acao=motd.pinion.gg | |
Request Headers | |
GET http://ads.intergi.com/adrawdata/3.0/5205/2408430/0/2898/ADTECH;referring_url=http%3A%2F%2Fmotd.pinion.gg%2Fmotd%2Foffice%2Fintergihtml5wcookie.html;number=1353021571;time=1353021571;cors=yes;acao=motd.pinion.gg HTTP/1.1 |
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
Request URL:http://ads.intergi.com/adrawdata/3.0/5205/2408430/0/2898/ADTECH;referring_url=http%3A%2F%2Fmotd.pinion.gg%2Fmotd%2Foffice%2Fintergihtml5wcookie.html;number=1353021331;time=1353021331;cors=yes;acao=motd.pinion.gg | |
Request Method:GET | |
Status Code:302 Moved Temporarily | |
Request Headers | |
GET /adrawdata/3.0/5205/2408430/0/2898/ADTECH;referring_url=http%3A%2F%2Fmotd.pinion.gg%2Fmotd%2Foffice%2Fintergihtml5wcookie.html;number=1353021331;time=1353021331;cors=yes;acao=motd.pinion.gg HTTP/1.1 | |
Host: ads.intergi.com | |
Connection: keep-alive | |
Origin: http://motd.pinion.gg | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 |
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
├── [email protected] | |
├─┬ [email protected] | |
│ ├── [email protected] | |
│ ├── [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ └── [email protected] | |
│ └── [email protected] | |
├─┬ [email protected] |
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
{ fgscsgo1: | |
{ start: 'cd /usr/games/csgo/fgscsgo1 && sudo -u csgo HOME=/home/csgo ./srcds_run -console -game csgo -ip 10.79.28.72 -port 25014+## +clientport 26004+## +map de_dust +exec server_##.cfg -pidfile /var/run/csgo/fgscsgo1.pid -fork 20 +sv_region 255 -tickrate 100 -usercon +rcon_password xxx >> /var/log/csgo/fgscsgo1.log 2>&1', | |
pidFile: '/var/run/csgo/fgscsgo1.pid', | |
writePidFile: false, | |
cwd: '/home/csgo', | |
ip: '10.79.28.72', | |
region: 'TEST', | |
steam: { steamDir: '/home/csgo/Steam/' }, | |
srcds: | |
{ '25015': [Object], |
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
{ fgscsgo1: | |
{ start: 'cd /usr/games/csgo/fgscsgo1 && sudo -u csgo HOME=/home/csgo ./srcds_run -console -game csgo -ip 107.6.93.170 -port 25014+## +clientport 26004+## +map de_dust +exec server_##.cfg -pidfile /var/run/csgo/fgscsgo1.pid -fork 20 +sv_region 255 -tickrate 100 -usercon +rcon_password xxx >> /var/log/csgo/fgscsgo1.log 2>&1', | |
pidFile: '/var/run/csgo/fgscsgo1.pid', | |
writePidFile: false, | |
cwd: '/home/csgo', | |
ip: '107.6.93.170', | |
region: 'TEST', | |
steam: { steamDir: '/home/csgo/Steam/' }, | |
srcds: | |
{ '25015': [Object], |
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
server { | |
listen localhost:81; | |
location /RPC2 { | |
auth_basic "Restricted"; | |
auth_basic_user_file htpasswd; | |
include scgi_params; | |
scgi_pass localhost:5000; | |
} | |
} |
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
function fetchRSS() { | |
$.ajax({ | |
url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=http%3A%2F%2Fblog.counter-strike.net%2Findex.php%2Fcategory%2Fmotd%2Ffeed%2F', | |
dataType: 'json', | |
success: function(data) { | |
var post = data.responseData.feed.entries[0]; | |
$('.title').text(post.title); | |
$('#post_content').html(post.content); | |
} | |
}); |
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
respondWithError (response, namespace, message, status) -> | |
status = 500 if status? | |
console.log namespace, message | |
response.send "Mising guid", status | |
handleDelete (request, response) -> | |
return respondWithError response, 'Blogs', 'Error - Missing guid in handleDelete', 400 if request.url.query.guid | |
getBlogByGuid request.url.query.guid, (err, blog) -> | |
return respondWithError(response, 'Blogs', 'Error in getBlogByGuid callback in handleDelete') if err |
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
fetchList = (containerName, marker, files, soFar) -> | |
if typeof soFar == 'undefined' | |
soFar = [] | |
client.getFiles containerName,marker, (err, serverFiles) -> | |
return console.log "ERROR", err if err | |
# Default max return for the rackspace API is 10000. | |
if serverFiles.length == 10000 | |
marker = serverFiles[serverFiles.length - 1].name | |
soFar = soFar.concat(serverFiles) | |
fetchList containerName, marker, files, soFar |