Skip to content

Instantly share code, notes, and snippets.

@clonn
clonn / 刺绣材料包、或者定制二次元周边徽章
Created September 28, 2026 01:58
刺绣材料包、或者定制二次元周边徽章
模型:Omni flash
图生提示词——
Extreme macro shot of woven cotton shirt fabric, empty at first. Colored embroidery threads rise from the surface and weave themselves into place, laying down tight satin stitches row by row, tracing out the logo. The stitched area grows steadily across the frame, thread pulling taut and raising into dimensional embroidered texture, until the full logo is complete. Camera holds steady, slow satisfying timelapse pace. Soft natural side light, shallow depth of field, visible fabric fibers and realistic thread sheen. No hands, thread moves on its own. One shot no scene change.

提示词:

帮我做一个原创的手游「高光时刻」动效:[主体,例如:开宝箱 / 段位晋升 / 成就解锁 / Boss 掉落 / 角色升级]。 做成一个可以直接打开的单文件网页(HTML + CSS + JS),点一下就能完整播放,效果对标商业手游的结算 / 奖励演出。

【世界观与风格】

  • 原创美术,不要模仿任何现有游戏的 IP、角色或 Logo。
  • 卡通手游风:高饱和配色,统一的深色描边(例如 #1A1033),圆润厚重的造型。
  • 配色随等级升级:[等级阶梯,例如:普通绿 → 稀有蓝 → 史诗紫 → 传说金]。每升一级都要切换主色、光效颜色和背景色调。
  • 标题用圆胖的游戏字体(如 Titan One / Lilita One),描黑边,加投影;文字逐字「砸」进画面,带回弹。
brew install wget
brew install yt-dlp
brew install ffmpeg
brew install --cask iterm2
brew install --cask visual-studio-code
brew install --cask rectangle
brew install --cask clipy
brew install --cask appcleaner
brew install --cask the-unarchiver
@clonn
clonn / openclaw-gpt5-4_update_promt.md
Last active April 12, 2026 08:08
OpenClaw Configuration for GPT-5.4 Execution Bias

A practical guide for adapting OpenClaw’s core bootstrap files and runtime settings to better suit GPT-5.4, with a focus on execution-first behavior, completion discipline, concise outputs, and better tool-use convergence.

This time I changed the approach to: keep OpenClaw’s original structure, then add the execution tendencies that GPT-5.4 needs, instead of rewriting everything from scratch.

The basis for this adjustment is:

OpenClaw officially defines AGENTS.md as operating instructions plus memory, SOUL.md as persona, boundaries, and tone, and TOOLS.md as tool usage instructions. These files are injected directly in the first round of a new session. MEMORY.md is for long-term memory and is recommended only for the main session. BOOT.md is a startup checklist and should remain very short. The official documentation also clearly states that at session start, it should first read SOUL.md, USER.md, and the memory files for today and yesterday, while the main session should al

@clonn
clonn / x.com xurl auth update
Last active March 2, 2026 03:16
x.com xurl auth update
## X OAuth Local Development Lesson (Important)
I was stuck on this for a long time, so documenting it clearly:
### 1️⃣ You must use `localhost` exactly
The default redirect URI:
```
http://localhost:8080/callback
@clonn
clonn / clawdbot-moltbot.sh
Last active January 28, 2026 13:16
molt bot (clawdbot) installation script for ubuntu 24.04
#!/bin/bash
# ==============================================================================
# Moltbot Deployment Script for Ubuntu 24.04
# Optimized for: 4GB Swap, Node v24, Google DNS, and Custom Port Access
# ==============================================================================
# Exit immediately if a command exits with a non-zero status
set -e
@clonn
clonn / clawdbot_system_flow-zh-hant.md
Last active February 16, 2026 13:26
clawdbot system flow analytics

Clawdbot System Architecture Analysis

本文檔詳細解析 Clawdbot 的 Prompt Flow、System Prompt、框架、工具系統、整體流程,以及任務完成的定義。


1. 整體架構概覽

┌─────────────────────────────────────────────────────────────────┐
@clonn
clonn / cli.sh
Last active December 20, 2025 15:26
claude code to max token setup
# https://github.com/anthropics/claude-code/issues/4002
# Error: File content (28375 tokens) exceeds maximum allowed tokens (25000).
# You have to prepare to max account before
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=100000
export MAX_MCP_OUTPUT_TOKENS=1000000
# 設定之後再重新跑 claude code
# After configuring the settings, rerun Claude Code.
@clonn
clonn / printEyes.js
Created October 6, 2024 06:04
print a big eyes, how big you want ( . )( . )
function printEyes(space = 2) {
// Determine if we should use dot or star based on space size
const symbol = space > 3 ? "*" : ".";
// Create one eye with proper spacing
const innerSpace = " ".repeat(space);
const eye = "(" + innerSpace + symbol + innerSpace + ")";
// Combine both eyes
console.log(eye + eye);