Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
#!/bin/bash | |
# Перекодирует рекурсивно в текущем каталоге имена | |
# файлов и каталогов в транслит. | |
# | |
# Источник: http://www.ubuntu.sumy.ua/2011/03/translit.html | |
shopt -s nullglob | |
for NAME in * ; do | |
TRS=`echo $NAME | sed "y/абвгдезийклмнопрстуфхцы/abvgdezijklmnoprstufxcy/"` | |
TRS=`echo $TRS | sed "y/АБВГДЕЗИЙКЛМНОПРСТУФХЦЫ/ABVGDEZIJKLMNOPRSTUFXCY/"` |
from __future__ import absolute_import, division, print_function, unicode_literals | |
import sqlite3 | |
import logging | |
import time | |
__version__ = "0.1.0" | |
initial_sql = """CREATE TABLE IF NOT EXISTS log( |
#!python3 | |
class TypedDict(dict): | |
keytype = valtype = keymap = valmap = valid_keys = typemap = None | |
def __init__(self, mapping=None, **kwargs): | |
if self.typemap is not None and self.valid_keys is None: | |
self.valid_keys = set(self.typemap) | |
super(TypedDict, self).__init__() | |
if mapping is None: |
#!/bin/bash | |
set -ve | |
lxc-create -n vpn -t ubuntu | |
# ln -s /var/lib/lxc/vpn/config /etc/lxc/auto/vpn.conf | |
perl -i -ple 's/#lxc.aa_profile = unconfined/lxc.aa_profile = unconfined/' /etc/lxc/auto/vpn.conf | |
perl -i -ple 's/^exit 0/# exit 0/' /etc/rc.local | |
cat >>/etc/rc.local <<hello | |
mkdir -p /var/lib/lxc/vpn/rootfs/dev/net/ |
taskkill /f /im rdpclip.exe /fi "username eq %USERNAME%" | |
start rdpclip.exe | |
exit |