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
using namespace System.IO | |
using namespace System.Net | |
using namespace System.Net.Sockets | |
class RconClient { | |
hidden [Socket]$_socket | |
hidden [int]$_id = 1 | |
RconClient([Socket]$socket) { | |
$this._socket = $socket |
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(d, w) { | |
var utility = { | |
trim: word => word.replace(/(^\s+|\s+$)/g, ''), | |
empty: word => !word || /^\s*$/.test(word), | |
createNode: (node, text) => { | |
let element = d.createElement(node); | |
if (text) element.innerText = text; | |
return element; | |
}, | |
toArray: list => list instanceof Array ? list : Array.prototype.slice.call(list) |
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 ($w, undefined) { | |
function Namespace(namespace, parent, separator) { | |
var parts = namespace.split(separator || '.'), | |
_parent = parent || window, | |
currentPart = ''; | |
for (i = 0, ii = parts.length; i < ii; i++) { | |
currentPart = parts[i]; | |
_parent[currentPart] = _parent[currentPart] || {}; | |
_parent = _parent[currentPart]; | |
} |
NewerOlder