Skip to content

Instantly share code, notes, and snippets.

@mitry
mitry / Dark-important.css
Created November 16, 2022 11:22
Universal Dark theme CSS
html {
background:#333 !important;
}
html * {
background:none !important;
color:#bbb !important;
border-color:#333 !important;
border-width:0 !important;
}
@mitry
mitry / music-history.md
Last active February 13, 2025 21:41
Music History timeline

Music History timeline

@mitry
mitry / .mkshrc
Last active April 19, 2025 05:00
my customized mksh startup script
# @(#) ~mitry/mkshrc for MkSh on Android
# @url https://termbin.com/b8fn -- 2023-04-28 version
# @url https://snippet.host/hzhrsr
# If not running interactively, don't do anything
[[ -o interactive ]] || return
# [[ $- != *i* ]] && return
# Prettify error messages:
(( ${#0} > 10 )) && exec -a mksh $0 "$@"
@mitry
mitry / DarkIntrovert.user.js
Last active January 14, 2025 02:55
Dark Introvert UserScript
// ==UserScript==
// @name Dark Introvert
// @namespace https://viayoo.com/
// @version 0.3
// @description fastest and simplest dark theme invertor.
// @author mitry
// @run-at document-start
// @grant GM_addStyle
// @match https://ru.m.wiktionary.org/w/*
// @match https://pda.tv.yandex.ru/*
@mitry
mitry / turndown.bookmarklet.js
Last active December 13, 2025 11:11
Bookmarklet: save webpage as clean Markdown file.
javascript: Promise.all([
import('https://esm.run/turndown'),
import('https://esm.run/@mozilla/readability'),
import('https://esm.run/turndown-plugin-gfm')
]).then( ([
{default: Turndown},
{Readability},
{gfm}]) => {
const a=document.createElement('a'),
options = {classesToPreserve: ['block-code',]},
@mitry
mitry / Hacking-Tools-Cheat-Sheet.md
Created March 7, 2025 03:07
Hacking Tools Cheat Sheet, v2.0
@mitry
mitry / translate-deepseek.user.js
Last active April 21, 2025 23:29
Умный Переводчик (Via)
// ==UserScript==
// @name Умный Переводчик (Via)
// @namespace http://tampermonkey.net/
// @version 6.2.1
// @description Фикс позиционирования над панелью браузера
// @match *://*/*
// @grant GM_xmlhttpRequest
// @connect *
// ==/UserScript==
@mitry
mitry / guy-fawkes-mask.svg
Last active November 30, 2025 22:14
Guy Fawkes anonymous mask
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/awk -f
#
# AWK script to convert dircolors configuration file
# to LS_COLORS environment variable.
#
# Reads a dircolors-style file (e.g., ~/.dir_colors or /etc/DIR_COLORS)
# and outputs an 'export LS_COLORS="..."' command.
#
# Can be used as an alternative to the 'dircolors' utility for `busybox`.
#
@mitry
mitry / mysku-dark.css
Created January 7, 2026 06:22
Dark theme for MySKU site (by Qwen-coder)
/* mysku-dark.css (by Qwen-coder) */
@media (prefers-color-scheme: dark) {
:root {
color-scheme: light dark;
/* Основные цвета темной темы */
--bg-body: #1e1e1e; /* Основной фон страницы */
--fg-text: #dcdcdc; /* Основной цвет текста */
--fg-muted: #a0a0a0; /* Приглушенный текст */
--border: #444; /* Цвет границ */
--bg-card: #2d2d2d; /* Фон карточек, блоков */