Skip to content

Instantly share code, notes, and snippets.

View ewerybody's full-sized avatar
🐍

Eric Werner ewerybody

🐍
View GitHub Profile
@ewerybody
ewerybody / main.py
Last active January 28, 2021 13:35 — forked from itarozzi/main.py
Frame
# built-in imports should be at the top
# but sys is not even needed! See last block.
# import sys
# Module imports are preferred! Unneeded items should not be imported
from PySide2 import QtCore, QtWidgets
# numbers that are used multiple times or are key to the functionality
# should be in 1 place so one doesn't need to dig for the settings.
SIZE_SMALL = 70
@ewerybody
ewerybody / telegram_dark_mode.user.js
Last active April 3, 2019 16:10 — forked from digitalheir/telegram_dark_mode.user.js
Tampermonkey / Greasemonkey script for night mode / dark theme in Telegram web (scroll down for instructions)
// ==UserScript==
// @name Telegram dark theme / night mode
// @namespace https://github.com/digitalheir/
// @version 1.0
// @description Dark theme / night mode for Telegram Web
// @author Maarten Trompper <maartentrompper@freedom.nl>
// @match https://web.telegram.org/*
// ==/UserScript==
// Since GM removed it (https://wiki.greasespot.net/GM_addStyle)