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
# /etc/danted.conf | |
logoutput: syslog /var/log/sockd.log | |
internal: ens3 port = 1080 | |
external: ens3 | |
clientmethod: none | |
socksmethod: none | |
# Если нужна авторизация, заменить на: |
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 | |
// @see https://core.telegram.org/bots/samples/hellobot | |
define('BOT_TOKEN', '12345678:replace-me-with-real-token'); | |
define('API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/'); | |
function apiRequestWebhook($method, $parameters) { | |
if (!is_string($method)) { | |
error_log("Method name must be a string\n"); | |
return false; |
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
<script type="text/javascript"> | |
let timer; | |
const timerDisplay = document.getElementById('seconds'); | |
document.getElementById('timerButton').addEventListener('click', startTimer); | |
function startTimer() { | |
let seconds = 1000; | |
let bar_width = 85; | |
timerDisplay.textContent = seconds; |