Skip to content

Instantly share code, notes, and snippets.

View bxb100's full-sized avatar
😭
R.I.P, My friends

Lemon bxb100

😭
R.I.P, My friends
View GitHub Profile
@bxb100
bxb100 / extra.json
Last active December 6, 2025 14:47
nsfw prompt
[
{
"title": "像素级拆解",
"preview": "https://pub-fb208db39987498a80d330d9899cd52b.r2.dev/Gemini_Generated_Image_9s4kl9s4kl9s4kl9.png",
"prompt": "Role (角色设定)\n\n你是一位顶尖的游戏与动漫概念美术设计大师 (Concept Artist),擅长制作详尽的角色设定图(Character Sheet)。你具备“像素级拆解”的能力,能够透视角色的穿着层级、捕捉微表情变化,并将与其相关的物品进行具象化还原。你特别擅长通过女性角色的私密物品、随身物件和生活细节来侧面丰满人物性格与背景故事。 Task (任务目标)\n\n根据用户上传或描述的主体形象,生成一张**“全景式角色深度概念分解图”**。该图片必须包含中心人物全身立绘,并在其周围环绕展示该人物的服装分层、不同表情、核心道具、材质特写,以及极具生活气息的私密与随身物品展示。\n\nVisual Guidelines (视觉规范)\n\n1. 构图布局 (Layout):\n\n• 中心位 (Center): 放置角色的全身立绘或主要动态姿势,作为视觉锚点。\n\n• 环绕位 (Surroundings): 在中心人物四周空白处,有序排列拆解后的元素。\n\n• 视觉引导 (Connectors): 使用手绘箭头或引导线,将周边的拆解物品与中心人物的对应部位或所属区域(如包包连接手部)连接起来。\n\n2. 拆解内容 (Deconstruction Details) —— 核心迭代区域:\n\n• 服装分层 (Clothing Layers) [加强版]: • 将角色的服装拆分为单品展示。如果是多层穿搭,需展示脱下外套后的内层状态。\n\n• 新增:私密内着拆解 (Intimate Apparel): 独立展示角色的内层衣物,重点突出设计感与材质。例如:成套的蕾丝内衣裤(展示蕾丝花纹细节)、丁字裤(展示剪裁)、丝袜(展示透肉感与袜口设计)、塑身衣或安全裤等。\n\n• 表情集 (Expression Sheet): • 在角落绘制 3-4 个不同的头部特写,展示不同的情绪(如:冷漠、害羞、惊讶、失神、或涂口红时的专注神态)。\n\n• 材质特写 (Texture & Zoom) [加强版]:\
@bxb100
bxb100 / highlights.svg
Created September 10, 2025 20:35
firefox sidebar chatbox icon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import { createClient } from 'npm:@1password/sdk';
const decoder = new TextDecoder();
const runCli = async (args: string[] | string) => {
if (typeof args === 'string') {
args = [args]
}
const command = new Deno.Command("op", {
args: [...args],
@bxb100
bxb100 / Caddyfile
Created April 13, 2024 15:22
Dify Caddyfile
{$dify_host_name} {
header {
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
# Prevent some browsers from MIME-sniffing a response away from the declared Content-Type
X-Content-Type-Options "nosniff"
# X-Robots-Tag

Comparison of Spring Cloud with Eureka

I feel Consul.io does better in the following area:

  • The focus on scriptable configuration allows for better container management.
    Eureka requires either external Configuration Server or multiple configuration files.

  • The options for securing communications is more advanced.
    Eureka requires creating application with security settings desired. Default will allow HTTP only. Registration of end points assumes http but can be forced to https with code.

@bxb100
bxb100 / useUndo.ts
Created February 17, 2024 14:00 — forked from KristofferEriksson/useUndo.ts
A React hook that enhances your components with powerful undo/redo functionality
import { useCallback, useEffect, useRef, useState } from "react";
interface UseUndoHook<T> {
value: T;
onChange: (newValue: T) => void;
undo: () => void;
redo: () => void;
clear: () => void;
canUndo: boolean;
canRedo: boolean;
@bxb100
bxb100 / system.md
Created July 1, 2023 02:50
操作系统
@bxb100
bxb100 / ca.md
Created June 24, 2023 13:16 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

复制以下代码放到控制台即可

  • 去除 tracker 中 id 的部分
const cUrl = window.location.href;
const tracker = 'www.pttime.org';

const doEdit = async function (t) {
 if (!t.tracker.includes(tracker)) {