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 this lines before all code | |
const http = require('http'); | |
const originalRequest = http.request; | |
http.request = function wrapMethodRequest(req) { | |
console.log('TRACKED', req.host); | |
return originalRequest.apply(this, arguments); | |
} |
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 RustStatsCom = { | |
Title : "Rust-Stats.Com", | |
Author : "John Wick", | |
Version : V(0, 0, 1), | |
Description : "Collect stats from server to site rust-stats.com", | |
Init: function() { | |
print("Init works!"); | |
rust.RunServerCommand('status', {}); |
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 FindInRangeValue(Diapazon As Range, Values As Range, Search) As String | |
Dim row As Range | |
For Each row In Diapazon.Rows | |
If row.Columns(1).Value <= Search Then | |
If row.Columns(2).Value >= Search Then | |
FindInRangeValue = Values.Rows(row.row).Value | |
End If | |
End If | |
Next row | |
End 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
https://github.com/plimble/ace | |
https://github.com/zenazn/goji ! | |
https://github.com/codegangsta/gin ! | |
http://www.gorillatoolkit.org/pkg/mux | |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<? | |
class Bench | |
{ | |
const defaultName = 'default'; | |
private $_container = array(); | |
public function start($name = self::defaultName) | |
{ | |
$this->_container[$name] = array( |
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
<?php | |
ini_set('xdebug.max_nesting_level', 0); | |
$dir = $argv[1] ? $argv[1] : dirname(__FILE__); | |
if(!is_dir($dir)) | |
exit('Error'); | |
$global = array(); | |
read($dir); |