A hilarious program that translates text to Google’s bork bork bork language

A hilarious program that translates text in a file to Google’s “bork bork bork’ language. How to use Download the main.py file. Change the name of the file from demofile.txt to the file name you want. Run the program. How was this made? This Easter egg can be viewed in Google. Go to Settings icon > Languages and select Bork, bork, bork! The translation dictionary, visible at code/dictionary.py is a reference. Here’s an example: original-text = “Your preferences have been […]

Read more

A Python Perforce package that doesn’t bring in any other packages to work

P4CMD 🌴 A Python Perforce package that doesn’t bring in any other packages to work.Relies on p4cli installed on the system. p4cmd The p4cmd module holds the P4Client class that allows you to interact with the P4 server. To instantiate a new client, you either pass it the root path of you Perforce workspace or if the “P4ROOT” system variable is set, you can use the from_env class function from p4cmd import p4cmd client = p4cmd.P4Client(“~/nisse/projects/raw”)

Read more

Encrypt/Decrypt with ChaCha20-Poly1305

Vaulty Encrypt/Decrypt with ChaCha20-Poly1305 Vaulty is an extremely lightweight encryption/decryption tool which uses ChaCha20-Poly1305 to provide 256-bit authenticated encryption (AEAD) using Scrypt as the password based key derivation function. It can be used to encrypt/decrypt files, or stdin if you don’t specify any files – it is written in Python and requires Python 3. If encrypting stdin then the output will be Base64 encoded whereas if encrypting a file then it won’t and it will have a .vlt extension added […]

Read more

Multipurpose, modern, fast and loyal Discord bot

Баунти – современный бот созданный с целью сделать ваш сервер лучше! В кратце В нем присутствует множество основных и интересных функций, таких как: Кастомизация Система уровней Модерация Управление никнеймами Приватки И многое другое Описание команд Список всех команд с информацией о том для чего они нужны: Название Сокращения и переводы level Уровень и опыт участника toplvl Рейтинг самых активных участников achievement Создать ачивку nick Запросить смену ника user Информация о пользователе server Информация о сервере link Проверка безопасности ссылки zalgofy […]

Read more

Vehicle registration using Python, Django and SQlite3

Cadastro de veículos utilizando Python, Django e SQlite3 Para acessar o deploy no Heroku: https://pycrud.herokuapp.com/ Para abrir no LocalHost: Com o django instalado baixe o projeto utilizando o cmd vá até a pasta raiz e execute o comando: Depois execute o comando: Navegue novamente até a pasta raiz e digite: python manage.py runserver Abra o navegador e digite: GitHub View Github    

Read more

A model checker for verifying properties in epistemic models

This is a model checker for verifying properties in epistemic models.The goal of the model checker is to check for Pluralistic Ignorace in complex scenarios and to probe its robustness.The motivation is based on the content of the paper [1]. Run the model checker by running run.py file using your favorite Python interpreter.This file takes two arguments, a model file and an epistemic logic formula: python run.py model_file.em “(~p) / p” Model file format: {states} {agents} {agent}:({state}

Read more

ServerStatus with node management and monitor

项目基于cppla版本ServerStatus, 增加如下功能: 更方便的节点管理, 支持增删改查 上下线通知(telegram) Agent机器安装脚本改为systemd, 支持开机自启 由于未改动cppla版的任何代码,所以,我愿意把这个项目称为ServerStatus的小插件, 理论上它可以为任何版本的ServerStatus服务 在服务端复制以下命令,一键到底。请记得替换成你自己的YOUR_TG_CHAT_ID和YOUR_TG_BOT_TOKEN。 其中,Bot token可以通过@BotFather创建机器人获取, Chat id可以通过@getuserID获取。 mkdir sss && cd sss && wget –no-check-certificate https://raw.githubusercontent.com/lidalao/ServerStatus/master/sss.sh && chmod +x ./sss.sh && sudo ./sss.sh YOUR_TG_CHAT_ID YOUR_TG_BOT_TOKEN 安装成功后,web服务地址:http://ip:8081 更多信息请移步 https://lidalao.com/archives/87 +1ip 挺好用的?送作者一杯可乐?-> GitHub View Github    

Read more
1 384 385 386 387 388 976