Skip to content

Instantly share code, notes, and snippets.

View KotRikD's full-sized avatar
😱
OMG

Mikhail Babynichev KotRikD

😱
OMG
View GitHub Profile
@KotRikD
KotRikD / executeme.java
Created June 5, 2018 19:48
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
*/
@KotRikD
KotRikD / screen_dialog.py
Last active September 30, 2018 14:00
Скрин диалога, аля ВК.
from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont
from PIL import ImageOps
import datetime, io
f_s = 13
font1 = ImageFont.truetype("roboto.ttf", f_s)
@KotRikD
KotRikD / vk_im_sticker_clean.js
Last active November 20, 2018 18:37
Tampermonkey VK IM clear sticker messages
// ==UserScript==
// @name Sticker Remover VK IM
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Remove sticker messages in IM VK
// @author KotRik
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @match https://vk.com/im*
// @grant none
// ==/UserScript==
@KotRikD
KotRikD / editor.js
Created December 10, 2019 18:54
Dnevnik.mos.ru hw editor
// ==UserScript==
// @name Dnevnik.mos.ru Homework editor
// @namespace http://dnevnik.mos.ru/
// @version 0.1
// @description Просто давайте редактировать домашку
// @author KotRik
// @match https://dnevnik.mos.ru/student_diary/student_diary/*
// @grant none
// @require http://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==
@KotRikD
KotRikD / simple_streams_irc_bancho_chat.py
Created April 17, 2022 18:03
simple asyncio streams api
'''
original script was written by @lenforiee
'''
import asyncio, time
import re
import traceback
from typing import TYPE_CHECKING, Union
NAME = "kuriso!irc"
WHITE_SPACE = re.compile(r"\r?\n")