sudo apt install fonts-noto-color-emojiFor themes, use https://github.com/adi1090x/kitty-cat. This modifies config a lot so do this first before applying any kitty config. Mostly it changes font properties and margin.
sudo apt install fonts-noto-color-emojiFor themes, use https://github.com/adi1090x/kitty-cat. This modifies config a lot so do this first before applying any kitty config. Mostly it changes font properties and margin.
| 'use script' | |
| function loadScript(filePath, cacheBuster = `?bust=${new Date().getTime()}`) { | |
| const scriptTag = document.createElement('script'); | |
| scriptTag.onload = () => console.log('loaded'); | |
| scriptTag.type = 'text/javascript'; | |
| scriptTag.src = `${filePath}${cacheBuster}`; | |
| document.querySelector('head').appendChild(scriptTag); | |
| } |
| export function isNumber(input: unknown): input is number { | |
| return Number.isFinite(input); | |
| } | |
| export function isString(input: unknown): input is string { | |
| return typeof input === 'string'; | |
| } | |
| export function isObject(input: unknown): input is object { | |
| return input !== null && typeof input === 'object'; |
Add no-unexpected-multiline rule in ESLint.
Further readings:
| [ | |
| { | |
| "caption": "Create an Empty Commit...", | |
| "command": "git", | |
| "args": { "argv": ["commit", "--allow-empty", "-m", "$text"] } | |
| }, | |
| { | |
| "caption": "Delete Remote Tag (origin)...", | |
| "command": "git", | |
| "args": { "argv": ["push", "--delete", "origin", "$text"] } |
| function butt | |
| if [ "$argv[1]" = "" ] | |
| echo "Please provide a dir name" | |
| return 1 | |
| end | |
| set -l up_times 0 | |
| set -l found 0 | |
| set -l path (string sub --start 2 $PWD) |
| interface TextToken { | |
| type: 'text'; | |
| text: string; | |
| } | |
| interface LinkToken { | |
| type: 'link'; | |
| name: string; | |
| link: string; | |
| } |
| function jqdoprocessoneach | |
| # https://stackoverflow.com/a/965106/7683365 | |
| set -l old_file_path $argv[1] | |
| set -l new_filename $argv[2]"."(echo $argv[1] | sed 's/.*\.//') | |
| echo $old_file_path | |
| # echo $new_filename | |
| # sleep 1 | |
| nvr --remote-send '<cmd>e '$old_file_path'<cr>' | |
| sleep 1 |