Skip to content

Instantly share code, notes, and snippets.

@sutnistj
sutnistj / Compose
Created May 28, 2017 23:09
Standard Compose
@sutnistj
sutnistj / pl
Last active February 12, 2022 00:06
X11 keymap
default partial alphanumeric_keys
xkb_symbols "pl_my" {
name[Group1]= "Polish (my)";
key <AB01> { [ z, Z, zcaron, Zcaron ] };
key <AB02> { [ x, X ] };
key <AB03> { [ c, C, ccaron, Ccaron ] };
key <AB04> { [ v, V, downarrow ] };
key <AB05> { [ b, B, U2194 ] }; // ↔
key <AB06> { [ n, N ] };
@-moz-document domain("ukr.gg") {
textarea,
html {
font-family: sans-serif, 'Yu Gothic Medium' !important;
}
code, pre {
font-family: monospace !important;
}
}
@sutnistj
sutnistj / ua
Last active January 11, 2023 08:09
ua keyboard
default partial alphanumeric_keys modifier_keys
xkb_symbols "l_jurid" {
name[Group1]= "Ukrainian (L)";
// key <LSGT> { [ ] };
key <BKSL> { [ backslash, bar, brokenbar ] };
key <CAPS> {
type[Group1] = "TWO_LEVEL",
symbols[Group1] = [ Multi_key, Caps_Lock ],
@sutnistj
sutnistj / example.sh
Last active October 13, 2021 01:06
A script allows easy using multivideos and -subs at once (can be updated)
#!/bin/bash
# Variables
path='' # general path aka gp
videos='' # gp + folder for videos
subs='' # gp + folder for subs
# Regexs
## here for anime monster
@sutnistj
sutnistj / ccopy
Last active October 14, 2020 07:54
Copy file(s) from console into clipboard
#!/bin/bash
# clipboard-files - Copy files from the clipboard in a Linux terminal.
#
# Read more: https://replace.org.ua/topic/12326/
#
# By dot as know as pt
#
# Clipboard interfacing code inspired from:
# https://github.com/larspontoppidan/clipboard-files
// ==UserScript==
// @name fix-CDBstyle-AniDBstyle3-menu
// @author Jurid
// @description Fix logo area for theme CDBstyle-AniDBstyle3-menu
// @include https://anidb.net/*
// @version 25-Jul-2021
// ==/UserScript==
const falseLink = document.querySelector('ul#menu-main li.main')
falseLink.style.display = 'none'
@sutnistj
sutnistj / about: dictionaries.md
Last active January 13, 2023 09:23
onomatopoeia, sumordnilap

Here are:

  • o[nomatopoeia],
  • s[emordnilap], more info about it is at stackexchange,
  • l[etter] {letter}, positions: ^start, end$.

File names:

  • w[hat]: {theme} | s[ource]: {from}
  • c[ode] {function}.py
@sutnistj
sutnistj / main.md
Last active May 22, 2024 12:00
Latinka

Зроблено за проханнями.

Абетка

Кирилиця Латиниця Кирилиця Латиниця Кирилиця Латиниця
А а A a Я я Ja ja
Б б B b
В в V v
Г г H h