This file contains hidden or 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
| [Desktop Entry] | |
| Version=1.0 | |
| Encoding=UTF-8 | |
| Name=Popcorn Time | |
| Name[en_US]=Popcorn Time | |
| GenericName=BitTorrent Stream Player | |
| GenericName[en_US]=BitTorrent Stream Player | |
| Comment=Run the Popcorn Time application | |
| Comment[en_US]=Run the Popcorn Time application | |
| Type=Application |
This file contains hidden or 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
| # coding: utf-8 | |
| """ | |
| This module contains a simple integration with django. | |
| To install on your django project, you need to register all bots on settings, add one line on | |
| your urls and create a register method it will received a dispatcher to add all handlers of | |
| your bot. | |
| ///////// settings.py | |
| TELEGRAM_BOT_WEBHOOK_PATH = 'telegram_webhook' # it's default | |
| TELEGRAM_BOT = [{ | |
| 'token': '{YOUR_BOT_TOKEN}', |
This file contains hidden or 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/python | |
| # импортирование необходимых модулей | |
| from BrickPi import * | |
| import time | |
| import sys | |
| import logging | |
| ################### CUSTOMIZABLE ########################### | |
| # Все что может изменить пользователь. Это глобальные константы | |
| FORMAT = "[%(asctime)s] %(message)s" |
NewerOlder