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
# Template nginx config | |
# https://notes.rootiest.dev | |
# Define the server IP and ports here. | |
upstream notes { | |
# Name the upstream and zone after the service | |
zone notes 64k; | |
# Define the server IP and port | |
server 100.73.247.145:5230; | |
# Or path | |
# server /notes/index.html; |
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
-- ╭─────────────────────────────────────────────────────────╮ | |
-- │ FUNCTION DATA │ | |
-- ╰─────────────────────────────────────────────────────────╯ | |
local M = {} | |
-- Check if the terminal is kitty | |
function M.is_kitty() | |
local term = os.getenv("TERM") or "" | |
local kit = string.find(term, "kitty") |
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
-- stylua: ignore | |
local function setup_buffer_keymaps(bufnr) | |
-- Create buffer-local keymaps for 'h', 'j', 'k', 'l' | |
local opts = { noremap = true, silent = true, buffer = bufnr } | |
vim.keymap.set('n', 'h', '<cmd>echo "Pressed h"<CR>', opts) | |
vim.keymap.set('n', 'j', '<cmd>echo "Pressed j"<CR>', opts) | |
vim.keymap.set('n', 'k', '<cmd>echo "Pressed k"<CR>', opts) | |
vim.keymap.set('n', 'l', '<cmd>echo "Pressed l"<CR>', opts) |
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
--- | |
meta-date: 2025-06-21 | |
meta-name: Chris | |
--- | |
# Search within People Notes | |
Pick Date: `INPUT[datePicker(title(Choose date)):meta-date]` | |
Pick Name: `INPUT[text(placeholder(Enter name..)):meta-name]` |
OlderNewer