Skip to content

Instantly share code, notes, and snippets.

Elderly hog

Elderly Hog ingria

Elderly hog
Block or report user

Report or block ingria

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ingria / hellobot.php
Last active Apr 12, 2020
Simple PHP Telegram Bot
View hellobot.php
// @see
define('BOT_TOKEN', '12345678:replace-me-with-real-token');
define('API_URL', ''.BOT_TOKEN.'/');
function apiRequestWebhook($method, $parameters) {
if (!is_string($method)) {
error_log("Method name must be a string\n");
return false;
View danted.conf
# /etc/danted.conf
logoutput: syslog /var/log/sockd.log
internal: ens3 port = 1080
external: ens3
clientmethod: none
socksmethod: none
# Если нужна авторизация, заменить на:
You can’t perform that action at this time.