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
vzctl exec 201 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 202 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 203 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 204 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 205 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 206 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; | |
vzctl exec 213 "/usr/share/astguiclient/start_asterisk_boot.pl ; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug;" ; |
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 sleep(delayMS) { | |
var start = new Date().getTime(); | |
while (new Date().getTime() < start + delayMS); | |
} |
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
//-read file-\\ | |
var openFile = function(file) { | |
var reader = new FileReader(); | |
reader.onload = function(){ | |
var f= csvToJson(reader.result); | |
echo(f); | |
}; | |
reader.readAsText(file.target.files[0]); | |
}; | |
//-convert from tab delimited to json array on js-\\ |
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 allElementsClassName = "m6ZEb"; | |
var buttonSendClass = "._35EW6"; | |
var inputMessageClassName = "_2S1VP"; | |
var timer = setInterval(general, 1000); | |
function general() { | |
if (document.getElementsByClassName(allElementsClassName)[0] != null) { | |
console.log("WS Spam: Found Div to inject ..."); | |
var item = document.getElementsByClassName(allElementsClassName)[0]; |
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
[user] | |
name = adalenv | |
email = adalenvladi@gmail.com | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true |
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
How to add 2 gateways and seperate clients by Chupaka | |
/ip firewall mangle add chain=prerouting src-address=198.54.15.0/24 action=mark-routing new-routing-mark=r_178 | |
/ip firewall mangle add chain=prerouting src-address=192.168.10.0/24 action=mark-routing new-routing-mark=r_178 | |
/ip firewall mangle add chain=prerouting src-address=192.168.11.0/24 action=mark-routing new-routing-mark=r_172 | |
/ip firewall mangle add chain=prerouting src-address=192.168.12.0/24 action=mark-routing new-routing-mark=r_172 | |
/ip route add gateway=178.242.0.200 routing-mark=r_178 | |
/ip route add gateway=172.16.0.200 routing-mark=r_172 |
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
find . -name "*.mp3" -newermt "2016-11-07" ! -newermt "2016-11-07" -exec ls -lh {} \; | |
dir ext from date to date command |
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 | |
function require_auth() { | |
$AUTH_USER = 'admin'; | |
$AUTH_PASS = 'admin'; | |
header('Cache-Control: no-cache, must-revalidate, max-age=0'); | |
$has_supplied_credentials = !(empty($_SERVER['PHP_AUTH_USER']) && empty($_SERVER['PHP_AUTH_PW'])); | |
$is_not_authenticated = ( | |
!$has_supplied_credentials || | |
$_SERVER['PHP_AUTH_USER'] != $AUTH_USER || | |
$_SERVER['PHP_AUTH_PW'] != $AUTH_PASS |
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
FOR BUILD 3176 | |
----- BEGIN LICENSE ----- | |
sgbteam | |
Single User License | |
EA7E-1153259 | |
8891CBB9 F1513E4F 1A3405C1 A865D53F | |
115F202E 7B91AB2D 0D2A40ED 352B269B | |
76E84F0B CD69BFC7 59F2DFEF E267328F | |
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4 |
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 python | |
# -*- encoding: utf-8 -*- | |
# Created on 2018-05-18 09:33:05 | |
# Project: test1 | |
from pyspider.libs.base_handler import * | |
class Handler(BaseHandler): | |
crawl_config = { |