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
Como nasceram os chefes rsrsrsrs | |
"Como nasceram os chefes" | |
> | |
> No principio da humanidade, Deus criou o corpo, então os órgãos | |
> vitais deste último começaram a discutir sobre quem seria o chefe. | |
> O cérebro expôs: ' eu devo ser o chefe já que ordeno o funcionamento | |
> de todos vocês'. | |
> Os olhos argumentaram: 'nós devíamos ser os chefes porque guiamos todo o corpo'. |
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
<?php | |
class Awproxy_Map { | |
public static function load() { | |
$proxy = Awproxy::instance(); | |
$data = $proxy->get('/0/Map/Coordinates.php'); | |
$proxy->check_session($data); |
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
<?php | |
class Awproxy_Player { | |
public static function load($pid) { | |
$proxy = Awproxy::instance(); | |
$data = $proxy->get('/0/Player/Profile.php?id='.$pid); | |
$proxy->check_session($data); |
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
<?php | |
class Awproxy | |
{ | |
private static $_instance; | |
private static $url_base = 'http://www1.astrowars.com'; | |
public static function instance() { | |
if (!isset(Awproxy::$_instance)) { | |
Awproxy::$_instance = new Awproxy(); |
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
Set objExplorer = CreateObject("InternetExplorer.Application") | |
objExplorer.Navigate "drf2" | |
objExplorer.AddressBar = 0 | |
objExplorer.Visible = 1 | |
objExplorer.ToolBar = 0 | |
objExplorer.StatusBar = 0 | |
objExplorer.Width= 850 | |
objExplorer.Height = 680 | |
'objExplorer.Left = 500 | |
objExplorer.Top = 30 |
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
function map_refresh(map) { | |
if (map_plugin.alread_done) return true; | |
awPlus.API('map', 'GET', null, function(data) { | |
data.data.sids = []; | |
for (var sid in data.data.sys) { | |
data.data.sys[sid].id = parseInt(data.data.sys[sid].id); | |
data.data.sids.push(data.data.sys[sid]); | |
} |
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
server { | |
root /web/pedro/e-pelada.com.br/www; | |
server_name e-pelada.com.br www.e-pelada.com.br; | |
access_log /web/pedro/logs/e-pelada_access.log combined buffer=32k; | |
error_log /web/pedro/logs/e-pelada_error.log error; | |
include drupal_conf; | |
include php_conf; | |
} |
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 net = require('net'); | |
var global = []; | |
net.createServer(function (socket) { | |
socket.setEncoding("utf8"); | |
socket.on('connect', function() { | |
socket.write("Echo server - "+ socket.fd +"\r\n"); | |
}); |
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
/** | |
* iCards Object | |
*/ | |
var iCards = exports.iCards = function () { | |
var self = this; | |
this.version = '1.0'; | |
// Valid commands |
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 net = require('net'); | |
var icardsO = require('./icards'); | |
var icards = new icardsO.iCards(); | |
net.createServer(function (socket) { | |
socket.setEncoding("utf8"); | |
socket.on('connect', function() { | |
socket.write("Echo server - "+ socket.fd +"\r\n"); |