Skip to content

Instantly share code, notes, and snippets.

@QWxleA
QWxleA / Readme.md
Last active August 13, 2026 08:22
Obsidian zotero template for use with "obsidian-zotero-integration" plugin

QWxlea's over-engineered zotero template

Faq

What are these %% begin id-pn2xitti%% and %% end id-pn2xitti %% and ^pn2xitti? These are the persistance-markers of the indivual highlights, and the reference-id to that highlight.

The markers are meant for the importer. It will skip all text within those markers, so they stay when updating a zotero-import. Removing a marked block does not work well, it will not be reimported. Don't know how to fix that. If you want to reimport a highlight-block, best is to change the highlight in zotero (for example change the color). This will update the id, and on the next import the new highlight will be imported.

The reference-id is used like this: [[@name-of-the-note#^pn2xitti]]

@Speyll
Speyll / atk-linux-hid-setup.sh
Last active August 13, 2026 08:20
Robust udev rule generator for ATK/VXE mice and keyboards on Linux. Enables WebUSB access for ATK HUB (hub.atk.pro) and generic raw HID access. Supports multiple Vendor IDs (373b, 3554) and automates group permissions.
#!/usr/bin/env bash
set -euo pipefail
RULE_FILE="/etc/udev/rules.d/99-atk-mouse.rules"
ATK_VIDS=("373b" "3554" "25a7")
echo "🚀 Launching Clean ATK Setup (Group-Free)..."
# 1. Root check
if [[ $EUID -ne 0 ]]; then
@phenomen
phenomen / shadcn-flexoki.css
Created October 8, 2023 06:30
Flexoki theme for shadcn/ui and shadcn-svelte
@layer base {
:root {
--flexoki-bg: 48 100% 97%;
--flexoki-bg-2: 51 33% 92%;
--flexoki-ui: 51 21% 88%;
--flexoki-ui-2: 50 14% 83%;
--flexoki-ui-3: 55 10% 79%;
--flexoki-tx: 0 3% 6%;

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@pkdiv
pkdiv / .zshrc
Created August 8, 2026 18:34
Shell Configs
```zsh
# ~/.zshrc - Cleaned & Optimized
# Command execution time printed RIGHT-ALIGNED between prompts (seconds with ms precision)
# -------------------------------------------------
# 0. REQUIRED MODULES
# -------------------------------------------------
# Needed for $EPOCHREALTIME
@Hona
Hona / code-like-luke.md
Created August 13, 2026 01:44
OpenCode slash command for happy-path-first, use-case-oriented software design
description Implement with clear orchestration, strong interfaces, and happy-path-first design

Code like Luke.

Implement the requested change, but optimize the design for the normal user flow. If the happy path is 95% of runtime behavior, it should be approximately 95% of the code readers see.

Start with context:

  • inspect the existing code, callsites, data flow, and nearby conventions
@Mohammad-Sherif
Mohammad-Sherif / README.md
Last active August 13, 2026 08:05 — forked from ocombe/README.md
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@nalakawula
nalakawula / README.md
Last active August 13, 2026 08:03
Waybar for Niri

Location: ~/.config/waybar/

Result

image

Hover the most left icon will show monitoring (cpu, ram, temperature, and disk)

image