Skip to content

Instantly share code, notes, and snippets.

@causeitskey
causeitskey / vimium_cyrillic.txt
Last active August 31, 2023 21:47 — forked from pik4ez/gist:6914108
Cyrillic support for Vimium
" map cyrillic
map о scrollDown
map л scrollUp
map р scrollLeft
map д scrollRight
map пп scrollToTop
map П scrollToBottom
map в scrollPageDown
map г scrollPageUp
map к reload
@causeitskey
causeitskey / sexkbmapoptions.txt
Last active July 8, 2021 11:11 — forked from jatcwang/gist:ae3b7019f219b8cdc6798329108c9aee
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@causeitskey
causeitskey / scrcpy_shortcut.md
Created August 10, 2021 14:42 — forked from csarron/scrcpy_shortcut.md
Scrcpy Shortcuts

Scrcpy Shortcuts

Action Shortcut
switch fullscreen mode Ctrl+f
resize window to 1:1 (pixel-perfect) Ctrl+g
resize window to remove black borders Ctrl+x | Double-click¹
click on HOME Ctrl+h | Middle-click
click on BACK Ctrl+b | Right-click²
click on APP_SWITCH Ctrl+m
@causeitskey
causeitskey / Correct_GnuPG_Permission.sh
Created April 10, 2022 13:15 — forked from oseme-techguy/Correct_GnuPG_Permission.sh
This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg .
#!/usr/bin/env bash
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error
# Make sure that the .gnupg directory and its contents is accessibile by your user.
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg