Skip to content

Instantly share code, notes, and snippets.

View PopCat19's full-sized avatar
📎
(ᵕ—ᴗ—)

PopCat19 PopCat19

📎
(ᵕ—ᴗ—)
View GitHub Profile
@PopCat19
PopCat19 / SemanticDenseBlock.md
Last active November 19, 2025 08:45
Instructions to compress biolographical/character summary and paragraphs to an LLM token-efficient format.
Semantic Dense Block (SDB): Single‑paragraph token-efficient compression format removing articles/linking verbs while preserving vivid descriptors.

Structure: One block, `Header:Value.` syntax, capitalized headers, periods after sections, commas/slashes for lists, no line breaks.

ID Header: `Name[Age,Gender,Height,Species,Role].`

Header Map: 
Appearance=Look, Clothing=Wear, Personality=Mind, Skills=Skills, Speech=Voice.
@PopCat19
PopCat19 / plist-alichat.md
Last active August 21, 2025 01:29
Custom-built prompt templates to generate PList and AliChat from character data.

Gather data from official wiki and fandom or your character lore and place them above ---

Note: This gist isn't made to hold the most consistent prompts, use with caution.

Models tested (best, worse): Gemini 2.5 Pro, Perplexity Sonar Reasoning Pro, Claude Sonnet 3.5/7, Deepseek V3 (0324), Deepseek R1 (full) , Gemini Flash 2.0, o3-mini (high), GPT-4o/mini

Latest

PList:


---
@pete3n
pete3n / README.md
Last active October 30, 2025 05:03
NixOS Offline Options

NixOS in Offline and Restrictive Networks

This gist was created to explore options for working with NixOS in a completely offline environment or inside a network with restricted internet access (such as a corporate LAN with a Proxy).

Offline Installation

Netboot/Pixieboot

@alvinthen
alvinthen / opacity.txt
Created July 29, 2016 17:20
Convert opacity values in percentage to hexadecimal
0% - 00
1% - 03
2% - 05
3% - 08
4% - 0A
5% - 0D
6% - 0F
7% - 12
8% - 14
9% - 17
@tikolakin
tikolakin / fish_alias.md
Last active February 17, 2025 10:33
Create alias in Fish shell and save this as a permanent function

Directly from CLI

alias x='exit'
funcsave x

or create a file in

~/.config/fish/functions 

with name

@endolith
endolith / Has weird right-to-left characters.txt
Last active November 29, 2025 14:02
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶