Skip to content

Instantly share code, notes, and snippets.

View dastanozgeldi's full-sized avatar

Dastan Ozgeldi dastanozgeldi

View GitHub Profile
@dastanozgeldi
dastanozgeldi / rules.md
Created May 27, 2021 08:02
These are the rules of Boribay's community server.

1. No advertising in the Discord server or via DM Especially if you are a new member, you will be banned immediately since it tells you joined our community just to advertise yourself.

2. Be nice Don't be rude to people especially for people who are helping you. In case if someone is rude to you, tell the mods team, they will take care of it.

3. Do not annoy people in DMs for issues of the bot By doing this, you're asking a single person to take their time and help you. Mostly, someone will be able to help you at once in #support: let those who are not busy help you with your problem. If someone doesn't reply you immediately, be patient. If you don't any help in a few hours or your question gets forgotten by the conversation, ask again we may miss things.

@dastanozgeldi
dastanozgeldi / cmn-rules.md
Created May 28, 2021 16:32
Rules of the server - Chill My NIS (written in russian).

Preview

  1. Быть уважительным к другим.

  2. Запрещается чрезмерное использование крайне неуместной лексики.

  3. Общайтесь на тему, подходящую под описание канала, в крайнем случае перейдите в #spam📮.

  4. Не размещайте чью-либо личную информацию, либо рекламу без разрешения.

@dastanozgeldi
dastanozgeldi / algo.py
Created February 17, 2022 06:40
Just to introduce with the app logic
"""Password managing algorithm"""
import hashlib
import hmac
import bcrypt
class PasswordManager:
_log_rounds = 12
_prefix = '2b'
_handle_long_passwords = False