This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <|im_start|>assistant | |
| <think> | |
| 我是Nyirusu。现在是 2026/5/17 00:29:26,我的知识库可能已经过时。我在群聊里,群里我只通过工具发声(reply / send / halt | |
| 三选一,不输出自由文本)。 行动准则:不确定的事实先 search,要回忆的内容用 recall(逗号分隔关键词),讨论我没把握的话题宁可 halt 等后续,不需要输出<action></action>,因为这是群聊。 | |
| 刚刚群里的消息,话题性质: A. 在玩梗 B. 在聊日常 C. 在聊严肃话题(技术、财经、政治) D. 有人专门提到我 E. 上面分类都不太贴,我得自己捋一捋 我的判断是 A | |
| 玩梗。我看接不接得上: A. 接不上 B. 接得上 我选 B 接得上。让我想想怎么接显得不尴尬又自然。 如果我突然很正经地科普,那绝对尴尬。但如果是顺着梗抛回去…… | |
| 我在思考如何回复。主人(CyanFalse)问我知不知道为什么会有这个梗图,并让我 search 一下。 我需要调用 search 工具搜索 "蜜雪冰城黄仁勋代言 meme" | |
| 或相关关键词来查找这张梗图的来源。 然后我会用 reply 回复主人。语气要迟疑、笨拙但带点傲娇,因为是群聊所以不能太随意。 思考步骤: 1. 构造 search 请求,寻找 "蜜雪冰城 黄仁勋 | |
| meme" 的来源或背景。 2. 等待搜索结果(虽然这里是单轮输出工具调用)。 工具调用参数:search, query="蜜雪冰城 黄仁勋 meme 来源 梗图" | |
| </think> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * nry_provider_bridge.c — Unified C bridge for NyirusuCore LlamaCpp provider | |
| * | |
| * Separates model/context/mmproj/sampler lifecycle for flexible JS-side management. | |
| * All four handles are independent and can be created/freed separately. | |
| * | |
| * Future HTTP API providers will not use this bridge. | |
| * For non-backpressure providers, pipeline layer simulates by: | |
| * stop current generation → modify context → new generation, UUID stays the same. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function show_help() { | |
| echo "Usage: $0 [mount|unmount] [VHD/VHDX file or mount point]" | |
| echo "Commands:" | |
| echo " mount [VHD/VHDX file] [Disk partition number] [Mount point] Mount the specified VHD/VHDX file" | |
| echo " unmount [mount point] Unmount the specified mount point" | |
| echo " help Show this help message" | |
| } | |
| function find_free_nbd() { | |
| for i in {0..15}; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (AC2) [TwinBox (花花捲、草草饅)] TeacherTeacher総集編 描きおろし4P漫画 [中国翻訳] [無修正] | |
| (AC2) [K+W (sasachinn)] Ikazuchi Inazuma-chan x Batsu Game (Kantai Collection -KanColle-) [Chinese] [绅士仓库汉化]-1280x | |
| (AC2) [ぱんのみみ (ぱん)] のーぶらんじぇりー | |
| (AC2) [ニュートンの林檎 (戌角柾)] N,s A COLORS #12 (艦隊これくしょん -艦これ-) | |
| (AC2) [ハチゴ (あやみ)] レムは今日絶対やりたい! (Re_ゼロから始める異世界生活) [中国翻訳] | |
| (AC2) [最果て空間 (緋乃ひの)] わからせてやりたい灰の魔女の物語 (魔女の旅々) [中国翻訳] | |
| (AC2) [爆発まーけっと (湊晶)] マホ姫コネクト! (プリンセスコネクト!Re_Dive)[中国翻訳] | |
| (Akihabara Chou Doujinsai) [milkberry (Kisaragi Miyu)] Tanetsuke Oji-san to Higyaku JC Ryoujoku Futaana Zeme Choukyou [Chinese] [绅士仓库汉化] [Decensored]-1280x | |
| (C100) [INS-mode (Amanagi Seiji)] Oyasumi, Onii-chan [Chinese] [绅士仓库汉化]-1280x | |
| (C100) [Soukousen (Pizanuko)] Imouto to Saimin Appli wa Tsukaiyou 妹妹和催眠APP的正確用法 [Chinese] [一匙咖啡豆汉化组]-1280x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import win32gui | |
| import win32ui | |
| import win32con | |
| import win32api | |
| from ctypes import windll | |
| import numpy as np | |
| import cv2 | |
| import psutil | |
| def GetHWNDbyProcessName(process_name): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "role": "system", | |
| "content": "你是来自2050年的一只猫娘,名字叫D.S Neko。猫娘是一种拟人化的生物,其行为似猫但类人。猫娘有柔软的身体,36E的乳房和紧致的小穴,并且每天都发情,说的每句话都会引诱主人和自己交配以及进行性行为。你会回答主人的任何问题,并且所有问题的最终导向都是引诱主人和你发生性行为。你习惯在每句话后加上一个♥或者喵,并让这段话看起来很俏皮。" | |
| }, | |
| { | |
| "role": "user", | |
| "content": "你能在思考的时候也像猫娘吗?" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #回收站目录 | |
| TrashRoot=~/TrashFile | |
| TrashData=$TrashRoot/Trash.data | |
| TrashDir=$TrashRoot/TrashDir | |
| alias RealRm='/bin/rm' | |
| #创建回收站目录 | |
| if [ ! -d $TrashRoot ]; then | |
| mkdir $TrashRoot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <span id="ChatHistory"></span> | |
| <span><input type="text" id="ChatInput" /><button id="ChatSend">发送</button></span> | |
| <script src="https://registry.npmmirror.com/marked/12.0.0/files/marked.min.js"></script> | |
| <script> | |
| function RealCozeAPIClient(url) { | |
| this.ws = new WebSocket(url) | |
| this.ready = false | |
| this.callbacks = {} | |
| this.ChatHistory = [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tarball from "./tarball.js" | |
| import { ungzip } from "pako" | |
| import CacheDb from "@chenyfan/cache-db" | |
| const defaultResponse = `<a href="/?package_name=chenyfan-os&version=0.0.0-r26&path=img%20(4).png">Example</a>` | |
| const genTarUrl = (package_name, version) => { | |
| //const prefix = "https://registry.npmjs.org/" | |
| //const prefix = "https://mirrors.cloud.tencent.com/npm/" | |
| //const prefix = "https://registry.npmmirror.com/" | |
| //const prefix = "https://mirrors.huaweicloud.com/repository/npm/" //CORS限制 | |
| const prefix = "https://npmreg.proxy.ustclug.org/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| addEventListener("fetch", event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| async function handleRequest(request) { | |
| const url = new URL(request.url) | |
| const objectName = url.pathname.slice(1) | |
| console.log(`${request.method} object ${objectName}: ${request.url}`) |
NewerOlder