Skip to content

Instantly share code, notes, and snippets.

View qwertyadrian's full-sized avatar
🎓
Studying and working

Adrian Polyakov qwertyadrian

🎓
Studying and working
View GitHub Profile
@qwertyadrian
qwertyadrian / random_photo.py
Last active July 16, 2020 17:54
Set random Telegram profile photo
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pyrogram import Client
from random import choice
import os
CHAT_ID = -1001234567890
app = Client(
"my_account",
@qwertyadrian
qwertyadrian / design.py
Created September 11, 2018 17:07 — forked from nikolak/design.py
Files for http://nikolak.com/pyqt-threading-tutorial/ PyQt Threading tutorial
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'threading_design.ui'
#
# Created: Thu Aug 6 13:47:18 2015
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
@qwertyadrian
qwertyadrian / autoresponder.py
Last active September 14, 2019 19:02
A script for responding to user messages with a specific message in VKontakte.
# DEPRECATED
# See: https://vk.com/wall-1_389441
from vk_api import VkApi
login = ''
password = ''
whitelist = [100]
message = """ """