sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| { | |
| "printWidth": 100, | |
| "tabWidth": 2, | |
| "useTabs": false, | |
| "semi": true, | |
| "singleQuote": true, | |
| "trailingComma": "es5", | |
| "bracketSpacing": true, | |
| "jsxBracketSameLine": false, | |
| "arrowParens": "avoid", |
Choosing a CSS framework can be a hassle. Some people choose to stick to Bootstrap, but sometimes changing is good. One of the alternatives that I love is Bulma.
Bulma is 100% CSS only, no Javascript, light-weight and beautiful. The lack of Javascript is frustrating in some cases, like the tabs. To overcome this problem, you can check BulmaJS. It is an unofficial extension, but it's great.
But one of its weakness is its simplicity. Some fabulous Bootstrap components like the Carousel are missing. To add such features, you can use one or more extension for Bulma.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Who are you?</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap" rel="stylesheet"> |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.
| #!/bin/bash | |
| input=$(cat) | |
| # 1. Directory — just current folder, with ../ prefix | |
| raw="$PWD" | |
| if [ "$raw" = "$HOME" ]; then | |
| dir_out="~" | |
| else | |
| dir_out="../$(basename "$raw")" | |
| fi |
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.
| // iced.version = "0.13" # iirc | |
| use std::collections::BTreeMap; | |
| use std::time::Duration; | |
| use iced::theme::Palette; | |
| use iced::widget::{button, center, container, horizontal_space, row, text}; | |
| use iced::{time, window, Center, Element, Fill, Subscription, Task, Theme}; | |
| struct App { | |
| windows: BTreeMap<window::Id, Window>, |