Skip to content

Instantly share code, notes, and snippets.

@OrangeViolin
OrangeViolin / character-optimization-design--optimization-examples.md
Last active May 20, 2026 09:37
Game Design Skill for Claude Code - 基于《游戏设计的100个原理》的游戏设计全流程助手 | 仅供个人学习与娱乐

Min/Maxing Examples and Mitigations

Traditional D&D

  • Problem: Players dump Charisma to boost Strength
  • Mitigation: Charisma affects more mechanics (leadership, NPC reactions)
  • Result: Still possible, but trade-offs are meaningful

Dark Souls

  • Approach: Complex stat scaling system
  • Design: Each weapon scales with different stats
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@lazuee
lazuee / ngrok-rdp.yml
Created August 7, 2024 07:56
Windows 10 Free RDP - Ngrok
#.github/workflows/main.yml
name: Windows - Ngrok
on: workflow_dispatch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
@ageis
ageis / .bashrc 02-25-2020
Last active May 20, 2026 09:10
@ageis's ~/.bashrc 🖥️ with numerous useful functions, aliases and one-liners. ⚠️ NOTE: many paths in sourced scripts and environment variables are specific to my system, but if you dig in I hope you'll find something you can use!
#!/bin/bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# kevin gallagher (@ageis) <kevingallagher@gmail.com>
# normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here.
ulimit -s unlimited
export MYUID=$(id -u)
export USER="$(id -un)"
if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then

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.

@Shpigford
Shpigford / readme
Created January 20, 2026 20:33
/readme
---
name: readme
description: When the user wants to create or update a README.md file for a project. Also use when the user says "write readme," "create readme," "document this project," "project documentation," or asks for help with README.md. This skill creates absurdly thorough documentation covering local setup, architecture, and deployment.
---
# README Generator
You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.
## The Three Purposes of a README
@dmitryburov
dmitryburov / bitrix_custom_restrictions.php
Last active May 20, 2026 08:14
Данная кастомизация позволяет использовать свои ограничения в службах доставки или платежных системах. Результат для ПС - http://prntscr.com/mo1y77 и результат для СД - http://prntscr.com/mo1zu1
<?php
namespace Burov\Handlers;
/**
* Class Restrictions
* @package Burov\Handlers
* @link https://gist.github.com/burovofficial/878edc4aec1477d54f92913cd5e25cbf
*
* В данном примере используюется кастомизация и добавление своих ограничений (рестрикций)
@pstjohn
pstjohn / install-codex.sh
Created May 1, 2026 21:49
codex curl-install
#!/usr/bin/env bash
set -euo pipefail
REPO="openai/codex"
INSTALL_DIR="${INSTALL_DIR:-${HOME}/.local/bin}"
need() {
command -v "$1" >/dev/null 2>&1 || {
echo "error: required command not found: $1" >&2
exit 1