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
# .clang-format | |
BasedOnStyle: LLVM | |
# —— 缩进用 Tab,对齐用空格(更稳妥)—— | |
UseTab: ForIndentation # 缩进使用 Tab,水平对齐仍用空格 | |
TabWidth: 4 # 一个 Tab 等于 4 列 | |
IndentWidth: 4 # 每一级缩进 = 1 个 Tab(= TabWidth) | |
# —— 紧凑度/可读性:更像竞赛模板 —— | |
ColumnLimit: 0 # 不自动换行(模板/长宏更安全) |
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
/** | |
* 个人备份使用,该脚本适用与Mihomo Party和 Clash Verge Rev | |
* Clash Verge Rev 全局扩展脚本(懒人配置)/ Mihomo Party 覆写脚本 | |
* | |
* V6: Applied modern DNS and performance optimizations. | |
* - Replaced old DNS structure with a robust nameserver/fallback model to prevent leaks. | |
* - Enabled DNS over QUIC (prefer-h3) for faster lookups. | |
* - Removed default-nameserver to eliminate startup leaks. | |
* - Added experimental tcp-concurrent for latency reduction. | |
* V5: Added proxy node preprocessing to rename nodes conflicting with group names. |
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
// ==UserScript== | |
// @name 全局脚本 - 3D视野组件 (单 Canvas v10.8 Bbox Fixed) | |
// @version 10.8 | |
// @description 实现遮挡物半透明效果,当模型包裹另一个时,外层模型自动透视,支持玩家显示开关。已优化移动端触摸支持和性能。新增并修复了bbox格式兼容。 | |
// @author Codeboy, 优化 by AI | |
// @match */* | |
// @grant none | |
// ==/UserScript== | |
(function () { |
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
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
#include <filesystem> // Requires C++17 | |
#include <sstream> | |
#include <stdexcept> | |
#include <algorithm> | |
#include <windows.h> // For Windows Clipboard API |
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
Begin by enclosing all thoughts within <thinking> tags, exploring multiple angles and approaches. | |
Break down the solution into clear steps within <step> tags. Start with a 20-step budget, requesting more for complex problems if needed. | |
Use <count> tags after each step to show the remaining budget. Stop when reaching 0. | |
Continuously adjust your reasoning based on intermediate results and reflections, adapting your strategy as you progress. | |
Regularly evaluate progress using <reflection> tags. Be critical and honest about your reasoning process. | |
Assign a quality score between 0.0 and 1.0 using <reward> tags after each reflection. Use this to guide your approach: | |
0.8+: Continue current approach | |
0.5-0.7: Consider minor adjustments | |
Below 0.5: Seriously consider backtracking and trying a different approach |
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
<artifacts_info> | |
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity. | |
# Good artifacts are... | |
- Substantial content (>15 lines) | |
- Content that the user is likely to modify, iterate on, or take ownership of | |
- Self-contained, complex content that can be understood on its own, without context from the conversation | |
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations) | |
- Content likely to be referenced or reused multiple times |
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
ffmpeg -y -f lavfi -i " | |
color=white@0.0:1700x520:d=<SECONDS>, | |
format=rgba, | |
drawtext= | |
fontcolor=black: | |
fontsize=600: | |
fontfile=<FONT>.ttf: | |
text='%{eif\:(<SECONDS>-t)/60\:d\:1}\:%{eif\:mod(<SECONDS>-t, 60)\:d\:2}': | |
x=(w-text_w)/2: | |
y=(h-text_h)/2: |
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
#ifndef CARYON_H | |
#define CARYON_H | |
#ifndef _GLIBCXX_NO_ASSERT | |
# include <cassert> | |
#endif | |
#include <cctype> | |
#include <cerrno> | |
#include <cfloat> | |
#include <ciso646> | |
#include <climits> |
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
[General] | |
tab_width=4 | |
cursor_width=1 | |
geometry=@Rect(1468 225 813 600) | |
editor_font=@Variant(\0\0\0@\0\0\0\x1c\0J\0\x65\0t\0\x42\0r\0\x61\0i\0n\0s\0 \0M\0o\0n\0o@0\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) | |
use_custom_application_font=true | |
custom_application_font=@Variant(\0\0\0@\0\0\0\fe\xb9kc|\x97W\x6{\x80OS@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) | |
default_language=C++ | |
format_on_manual_save=false | |
format_on_auto_save=false |
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
#include <algorithm> | |
#include <bitset> | |
#include <complex> | |
#include <deque> | |
#include <exception> | |
#include <fstream> | |
#include <functional> | |
#include <iomanip> | |
#include <ios> | |
#include <iosfwd> |
NewerOlder