--- actions ---
$copy <c-c> <c-ins>
$cut <c-x> <s-del>
$delete <del>
$lru
$paste <c-v> <s-ins>
$redo <c-s-z> <a-s-bs>
$searchweb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local strdisplaywidth = require("plenary").strings.strdisplaywidth | |
local rightAlignFormat = function(diagnostic) | |
local msg = diagnostic.message | |
local line = diagnostic.lnum | |
local line_length = strdisplaywidth(vim.api.nvim_buf_get_lines(0, line, line + 1, false)[1] or "") | |
local msg_length = strdisplaywidth(msg) | |
local wininfo = vim.fn.getwininfo(vim.api.nvim_get_current_win())[1] | |
-- https://github.com/neovim/neovim/issues/17229 | |
local textoff = wininfo.textoff | |
local wwidth = wininfo.width |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ cat /etc/fstab | |
# Static information about the filesystems. | |
# See fstab(5) for details. | |
# <file system> <dir> <type> <options> <dump> <pass> | |
# /dev/nvme0n1p2 | |
UUID=3df8cb11-5973-4153-aba6-14f433c4f18d / ext4 rw,relatime 0 1 | |
# /dev/nvme0n1p1 | |
UUID=317D-B426 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install act | |
brew install age | |
brew install aom | |
brew install apr | |
brew install apr-util | |
brew install argocd | |
brew install aria2 | |
brew install asciinema | |
brew install atool | |
brew install autoconf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "web", | |
"version": "0.0.0", | |
"scripts": { | |
"dev": "vite", | |
"build": "tsc && vite build", | |
"serve": "vite preview" | |
}, | |
"dependencies": { | |
"@fontsource/source-code-pro": "^4.5.4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nft rules for notsodeep services | |
# Translated by iptables-restore-translate v1.8.7 on Wed Jul 28 02:23:24 2021 | |
add table ip raw | |
add chain ip raw PREROUTING { type filter hook prerouting priority -300; policy accept; } | |
add chain ip raw OUTPUT { type filter hook output priority -300; policy accept; } | |
add rule ip raw PREROUTING tcp sport 80 tcp flags & (syn|ack) == syn|ack counter queue num 200 bypass | |
add table ip mangle | |
add chain ip mangle PREROUTING { type filter hook prerouting priority -150; policy accept; } | |
add chain ip mangle INPUT { type filter hook input priority -150; policy accept; } |