Skip to content

Instantly share code, notes, and snippets.

@seraphicfae
seraphicfae / screwdiscord.md
Last active November 23, 2026 16:10
How to make Discord not display Quest tab on startup

Sooo, what's going on..?

Discord has decided to make the default page when you open the app to be the Quest home page, and we're not going to let them. Only a few users are experiencing this, so you may not be affected. (yet)

Linux and other *nix:

desktop-file-edit --set-key Exec --set-value "/usr/bin/discord discord://-/channels/@me" /usr/share/applications/discord.desktop

Your desktop file might also be in ~/.local/share/applications/discord.desktop

@lzlrd
lzlrd / wslg-guide.md
Last active November 23, 2026 16:07
How to get WSLg working with OpenGL, Vulkan, and CUDA on (Official) Arch Linux and Ubuntu WSL Instances.

WSLg with OpenGL, Vulkan, and CUDA on (Official) Arch Linux and Ubuntu WSL Instances

Note: I haven't documented CUDA here. I'm lazy (and haven't tested on Arch). See https://documentation.ubuntu.com/wsl/en/latest/howto/gpu-cuda for that on Ubuntu.

Context

microsoft/wslg#1312:

So I got this working on both Ubuntu, and Arch. First, start with a fresh install (of archlinux from https://gitlab.archlinux.org/archlinux/archlinux-wsl or Ubuntu from wsl --install Ubuntu or https://apps.microsoft.com/detail/9pdxgncfsczv).

Arch

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.

@qwwiwi
qwwiwi / happ-vpn-setup-guide.md
Created May 9, 2026 11:25
VLESS Reality + Happ VPN -- универсальный гайд с роумингом для РФ

Личный VPN за 15 минут -- VLESS Reality + Happ

Гайд по настройке персонального VPN-сервера с протоколом VLESS Reality и клиентом Happ. Включает роуминг -- российские сайты идут напрямую, остальной трафик через VPN.


Архитектура

Устройство (iPhone / Mac / Android)
@karthiks
karthiks / wsl-cheatsheet.ps1
Last active November 23, 2026 15:43
WSL 2 CLI Cheat-sheet To Be Run In Powershell
# wsl Help
wsl --help
# Check WSL status
wsl --status
# Check WSL version
wsl --version
# Update WSL
@huihut
huihut / Windows10-professional-activation.md
Created August 2, 2018 09:32
Windows10 专业版 激活方法
  1. 以管理员身份运行CMD
  2. slmgr.vbs /upk
  3. slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
  4. slmgr /skms zh.us.to
  5. slmgr /ato
@codinginflow
codinginflow / next-self-hosting-instructions.md
Last active November 23, 2026 15:38
Deploy & secure a Next.js app + Postgres DB on a VPS

Self-Hosting Next.js Tutorial

Follow the instructions below to deploy a Next.js app with a local PostgreSQL database to a VPS, secure it, and connect it to a custom domain with free SSL. Watch the accompanying tutorial on YouTube: https://www.youtube.com/watch?v=2T_Dx7YgBFw

Instructions & commands:

  1. Get your VPS server on Hostinger (Use code CODINGINFLOW for 10% off). Install Ubuntu 24 as the OS and set a root password.
  2. Log into your server as root: ssh root@<your-server-ip>
  3. Update Linux packages: apt update && apt upgrade -y
  4. Create a new user: adduser
@ffeldner
ffeldner / GUIDE.md
Last active November 23, 2026 15:37
Running a modern MATLAB under Arch in 2026

MATLAB R2026a under Arch Linux in 2026

using Podman with Distrobox and Debian stable

Podman is similar to Docker - it is a daemonless engine designed to run containers.

Distrobox is a wrapper (collection of scripts) to tightly integrate Podman containers with your host OS.

tl;dr this basically sets up MATLAB within a Debian inside a container and forwards the GUI windows to the host. Thanks to Distrobox, we also share the home directory, and can thus smoothly work within directory of the host OS.

But why?

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 23, 2026 15:36
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest