Skip to content

Instantly share code, notes, and snippets.

@mitry
mitry / guy-fawkes-mask.svg
Created June 8, 2025 11:36
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.
@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 / Hacking-Tools-Cheat-Sheet.md
Created March 7, 2025 03:07
Hacking Tools Cheat Sheet, v2.0
@mitry
mitry / turndown.bookmarklet.js
Last active February 8, 2025 15:34
Bookmarklet: save webpage as clean Markdown file.
javascript:
!function(){
const
base64 = x => btoa(unescape(encodeURIComponent(x))),
onload = x => {
if (!Readability || !TurndownService) return;
const content = new Readability(document.cloneNode(true)).parse().content,
text = new TurndownService().turndown(content)
+ `\n\n[original]: ${document.location.href} "${document.title}"\n`,
@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 / .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 / music-history.md
Last active February 13, 2025 21:41
Music History timeline

Music History timeline

@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 / echo-n.cmd
Created August 26, 2017 19:05
echo string without trailing CRLF on Windows CMD
@<NUL set /p="%*"
@mitry
mitry / md.php
Last active August 23, 2017 00:54
markdown apache handler
<?php
/**
* @usage:
* .htaccess or Apache httpd.conf file:
* ```
* AddType text/markdown .md .markdown .mrd
* Action markdown /cgi-bin/md.php
* AddHandler markdown .md .markdown .md.txt
* ```
*/