Skip to content

Instantly share code, notes, and snippets.

@luxplanjay
luxplanjay / visually-hidden.css
Last active August 20, 2026 10:12
Visually hidden CSS pattern
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
@CGuichard
CGuichard / bulma-extensions.md
Last active August 20, 2026 10:09
Bulma extensions list. Don't waste time searching.

Bulma extensions

Intro

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.

@byteab
byteab / hand-drawn-character-creator.html
Created August 17, 2026 15:28
Seeded procedural animated hand drawn like characters, Canvas2D brush strokes on a Three.js rig.
<!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">
@huntrar
huntrar / full-disk-encryption-arch-uefi.md
Last active August 20, 2026 10:05
Arch Linux Full-Disk Encryption Installation Guide [Encrypted Boot, UEFI, NVMe, Evil Maid]

Arch Linux Full-Disk Encryption Installation Guide

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.

Preface

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.

@dili91
dili91 / my-statusline.sh
Created July 18, 2026 13:16
My Claude Code statusbar
#!/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

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.

@airstrike
airstrike / main.rs
Last active August 20, 2026 09:56
Multi-window iced example with custom theme palette
// 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>,