This file contains hidden or 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
| Plug 'kana/vim-textobj-entire' | |
| set surround | |
| set clipboard+=unnamed | |
| set ideajoin | |
| set multiple-cursors | |
| set visualbell | |
| let mapleader = " " | |
| set noh |
This file contains hidden or 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
| for_window [class=".*"] border pixel 2 | |
| set $mod Mod4 | |
| set $alt Mod1 | |
| font pango:monospace 10 | |
| exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork | |
| exec --no-startup-id nm-applet | |
| set $refresh_i3status killall -SIGUSR1 i3status |
This file contains hidden or 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
| #!/usr/bin/env zx | |
| import Emails from "./templates.js"; | |
| const readFile = async (filePath) => fs.readFile(filePath, "utf8"); | |
| const populateTemplate = (template, card = "", footer = "") => | |
| template.replace("__CARD__", card).replace("__FOOTER__", footer); | |
| const writeFile = (path, data) => fs.writeFile(path, data, "utf8"); | |
| const outputFolder = "./out/"; |
This file contains hidden or 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
| { | |
| "[go]": { | |
| "editor.formatOnSave": true, | |
| "editor.tabSize": 4 | |
| }, | |
| "[html]": { | |
| "editor.defaultFormatter": "vscode.html-language-features" | |
| }, | |
| "[json]": { | |
| "editor.defaultFormatter": "richie5um2.vscode-sort-json", |
This file contains hidden or 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
| [ | |
| { | |
| "command": "-workbench.action.gotoLine", | |
| "key": "ctrl+g" | |
| }, | |
| { | |
| "command": "-extension.vim_ctrl+g", | |
| "key": "ctrl+g", | |
| "when": "editorTextFocus && vim.active && vim.use<C-g> && !inDebugRepl" | |
| }, |
This file contains hidden or 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
| Plug 'kana/vim-textobj-entire' | |
| set surround | |
| set clipboard+=unnamed | |
| set ideajoin | |
| set multiple-cursors | |
| set visualbell | |
| set sneak | |
| let mapleader = " " |
This file contains hidden or 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
| import { type Duration } from "date-fns"; | |
| // RedisClientType is super chonky and I can't be bothered to lug that around everywhere | |
| export type RedisClient = { | |
| get: (key: string) => Promise<string | null>; | |
| set: (key: string, value: string) => Promise<void>; | |
| mSet: (records: Record<string, string>) => Promise<void>; | |
| del: (key: string) => Promise<void>; | |
| mGet: (keys: string[]) => Promise<string[]>; |
This file contains hidden or 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
| import { | |
| Queue, | |
| Worker, | |
| type ConnectionOptions, | |
| type Job, | |
| type QueueOptions, | |
| type RedisConnection, | |
| type WorkerOptions, | |
| } from "bullmq"; | |
| import { partial } from "ramda"; |
This file contains hidden or 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
| bind 0.0.0.0 ::1 | |
| protected-mode yes | |
| port 6379 | |
| tcp-backlog 511 | |
| timeout 0 | |
| tcp-keepalive 300 | |
| supervised no | |
| pidfile /var/run/redis/redis-server.pid | |
| loglevel notice | |
| logfile /var/log/redis/redis-server.log |
This file contains hidden or 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
| exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh,secrets,pkcs11 | |
| exec --no-startup-id remaps | |
| set $super Mod4 | |
| floating_modifier $super | |
| for_window [class="^.*"] border pixel 1 | |
| font pango:Fira Mono 14 |