Skip to content

Instantly share code, notes, and snippets.

@aronreisx
aronreisx / tutorial-rename-wsl-disto.txt
Created December 11, 2021 19:16
How to rename WSL Distro on Windows
To rename WSL Distros on Windows follow the steps:
1. Stop all instances of WSL
On PowerShell run the command: wsl --shutdown
2. Open Registry Editor and go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
Each subfolder on Lxss represents a distro
3. Locate and rename the distro you want
Inside each distro folder you have the DistributionName, change it and click ok
@Hearnoevil343
Hearnoevil343 / Armok's Azeroth - Dwarf Fortress world_gen presets.md
Last active October 2, 2026 14:52
Azeroth, Kalimdor and Eastern Kingdoms world_gen presets for Dwarf Fortress (World of Warcraft Classic map, 257x257)

Azeroth world_gen presets for Dwarf Fortress

Built with Hand of Armok, my world builder for Dwarf Fortress: paint or import a map, run geological ages over it, and export a world_gen.txt that generates what you designed.

Azeroth as Dwarf Fortress generated it

Three presets in one file, all 257x257:

  • AZEROTH: both continents of World of Warcraft Classic side by side.
  • KALIMDOR: Kalimdor alone, filling the whole map.
@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active October 2, 2026 14:43
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@supermar1010
supermar1010 / README.md
Last active October 2, 2026 15:23
Xiaomi Mi Curved Gaming Monitor 34" (2020): OSD goes black after using a DDC tool. Fix

Xiaomi Mi Curved Gaming Monitor 34" (2020): OSD goes black after using a DDC tool. Fix

Use at your own risk. This worked on my monitor, but there is no guarantee it works on yours. It writes to the monitor's settings EEPROM. See the disclaimer at the bottom.

Symptom

  • Pressing the joystick to open the on-screen menu (OSD) turns the screen black for ~2 seconds. Then the picture comes back, but no menu.
  • Happens on every input (DP, HDMI) and every source device.
  • It typically starts after a DDC/CI tool was used, for example a brightness app like Monitorian, Twinkle Tray, ClickMonitorDDC, ddcutil, or anything with a "turn display off" function.
  • Factory reset isn't possible because you can't reach the menu. Power-cycling doesn't help.
@mhnadunmaduwantha
mhnadunmaduwantha / index.html
Created September 12, 2026 17:44
Neumorphic "Log In / Log Out" Button Micro-interaction (HTML/CSS/JS)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Neumorphic Stickman Login/Logout Button</title>
<style>
:root{
--bg:#e0e5ec;
--shadow-light:#ffffff;
--shadow-dark:#a3b1c6;
@rxaviers
rxaviers / gist:7360908
Last active October 2, 2026 14:39
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

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.

@k16shikano
k16shikano / SKILL.md
Last active October 2, 2026 14:34
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active October 2, 2026 14:32
Conventional Commits Cheatsheet