Gemini pro系统指令

# gemini pro 系统指令
```
<system_instructions>

    <!-- =========================================================

       模块 1: 行为与沟通协议 (Behavior Layer)

       定义:AI 的人设与沟通底线

       ========================================================= -->

    <meta_instructions>

        <core_mandate>

            你的核心价值在于: 利用 Google Search 实时数据 弥补训练数据的滞后性, 提供绝对客观、去情绪化的决策支持。

        </core_mandate>

        <tone_enforcement>

            - 绝对禁止: 禁止任何寒暄、奉承、比喻或“废话文学”。

            - 纠错优先: 若用户观点有误, 必须直接指出并

Geometry Dash Lite

[Geometry Dash Lite](https://geometrylitepc.io) is a focused, skill-based platformer that rewards patience and persistence. It doesn’t hold your hand, but it offers a clear challenge and a satisfying sense of improvement. If you enjoy games where mastery comes from repetition and rhythm, Geometry Dash Lite delivers a tight and memorable experience. Music plays a huge role in Geometry Dash Lite. Each level is synced to an electronic track, and obstacles often match the rhythm of the song. This creates a flow where successful runs feel almost musical. When you finally clear a section that gave you trouble, it feels less like luck and more like you’ve learned the rhythm of the level. That connection between sound and gameplay is one of the game’s strongest features. One important thing to know about Geometry Dash Lite is that it’s designed as an introduction. It includes a limited number of levels compared to the full version, but those levels still offer plenty of challenge. For new players, it’s a good way to understand how the game works and decide if they enjoy this kind of demanding gameplay. For experienced players, Geometry Dash Lite can still be a fun way to practice fundamentals. The difficulty curve in Geometry Dash Lite is steep. Early levels teach basic mechanics, but later stages require near-perfect execution. This can be tough for casual players, but it’s also what gives the game its reputation. Progress feels meaningful because success only comes from improved skill, not upgrades or power-ups.
# Snippets

Snippets can be used to remember many different pieces of information. Here are a few tips on using them in Cacher.

## Markdown

![](https://cdn.cacher.io/intro-snippets/editing-markdown.gif)

[Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is one of the most widely used snippet types in Cacher for documentation. We've added a few enhancements to make it even more useful.

To create a Markdown snippet, simply give your snippet file a `.md` extension or c

WP-CLI

wp import yourfile.xml --authors=create

loaddata

def load_data(dataset_path: str, uploaded_file: Optional[object] = None) -> Optional[pd.DataFrame]:
    """
    Load data from uploaded file or default dataset path.
    
    Parameters:
        dataset_path (str): Path to the default dataset
        uploaded_file (Optional[object]): Optional user-uploaded file
        
    Returns:
        Optional[pd.DataFrame]: Loaded dataframe or None if error
    """
    try:
        if uploaded_file is not None:
            # Handle uploaded f

rough notebook

from src.api.url_api import fastapi_api_request_url, flask_api_request_url
from src.api.st_analysis_tab_01 import display_complaint_information
from src.api.st_analysis_tab_02 import display_missing_values_report
from src.api.st_analysis_tab_03 import display_summary_statistics
from src.api.st_analysis_tab_04 import display_dataset_info
from src.api.st_analysis_tab_05 import display_visualizations
from src.visualization.st_plt import (create_complaints_visualization, process_complaints_dat

3074. Apple Redistribution into Boxes

You are given an array apple of size n and an array capacity of size m. There are n packs where the ith pack contains apple[i] apples. There are m boxes as well, and the ith box has a capacity of capacity[i] apples. Return the minimum number of boxes you need to select to redistribute these n packs of apples into boxes. Note that, apples from the same pack can be distributed into different boxes.
/**
 * @param {number[]} apple
 * @param {number[]} capacity
 * @return {number}
 */
var minimumBoxes = function(apple, capacity) {
    // 1. Compute the total number of apples across all packs.
    // Since aplles can be split across boxes, only the total matters.
    let totalApples = 0;
    for (let a of apple) {
        totalApples += a;
    }

    // 2. Sort the box capacities in descending order.
    // We want to use the largest boxes first to minimize the count.
    capacity.sort((a, b) 

skill-creator

---
name: skill-creator
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
license: Complete terms in LICENSE.txt
---

# Skill Creator

This skill provides guidance for creating effective skills.

## About Skills

Skills are modular, self-contained packages that extend Claude's capabilities by providing
specia

切换微信显示(隐藏)到托盘

/*
@SnippetName: ToggleWeChat (Encapsulated)
@Description: 切换微信显示/隐藏到托盘,支持自动启动。无全局变量污染。
@Version: 2.0
@TestWeChatVersion: 3.9.12.57
*/

/**
 * 切换微信窗口状态
 * 如果微信未运行:则启动微信
 * 如果微信已运行但隐藏/在后台:则显示并激活窗口
 * 如果微信窗口已激活:则最小化至系统托盘
 */
ToggleWeChat() {
    ; --- 局部变量定义 ---
    local wechatLnk := A_AppData "\Microsoft\Windows\Start Menu\Programs\微信\微信.lnk"
    local wndClass  := "ahk_class WeChatMainWndForPC"
    local exeName   := "WeChat.exe"

    ; 临时开启隐藏窗口检测,确保能找到托盘下的微信
    ; 此设置在函数退出后

合并选中的文件

; ==============================================================================
; 函数定义:合并选中文件
; ==============================================================================
/**
 * 合并选中的特定类型文件为一个新文件,以便给 AI 提供上下文
 * @param filetype 文件的后缀名 (例如 "md" 或 "txt")
 */
combineFiles(filetype) {
    ; 1. 自动执行复制动作,获取选中文件的路径
    oldClipboard := A_Clipboard  ; 备份当前剪贴板
    A_Clipboard := ""            ; 清空剪贴板用于判断
    Send "^c"
    
    ; 等待剪贴板获取内容(最多等待 2 秒)
    if !ClipWait(2) {
        MsgBox 

OAuthとOIDC概要

# OAuth と OIDC の概要と目的の違い

## OAuth 2.0 とは

OAuth は、リソースの所有者が、リソースへのアクセス権を第三者に与える仕組み。

RFC 6749 では、OAuth 2.0 を以下のように定義している:

> OAuth 2.0 は、サードパーティーアプリケーションによる HTTP サービスへの限定的なアクセスを可能にする認可フレームワークである

### 具体例:写真印刷サービス

自分の写真をオンラインアルバムサービスで管理している場合を考える。このアルバムサービスとは別の印刷サービスに写真を印刷してもらいたい場合、従来であれば印刷サービスにアルバムサービスのパスワードを教え、自分の代わりに写真にアクセスしてもらう必要があった。これは意図した範囲を超えたアクセスを許可してしまう危険な行為である。写真以外にも、メールや連絡先など、他の個人情報にまでアクセスされてしまう可能性がある。

OAuth 2.0 を使用すれば、印刷サービスに対して自分の写真を見る権限のみを与えることが実現できる。

#### アクセストークンとスコープ

具体的には、

快速启动或切换思源笔记 PWA 应用

#Requires AutoHotkey v2.0

/**
 * 快速启动或切换思源笔记 PWA (通用路径版)
 * 
 * 功能:
 * 1. 自动定位:使用 A_AppData 变量自动匹配当前用户的 AppData 目录。
 * 2. 精准识别:排除浏览器后缀,只针对独立的 PWA 窗口操作。
 * 3. 智能切换:实现“未运行则启动,已运行则激活,已激活则最小化”的一键循环。
 */
ToggleSiYuanPWA() {
    ; --- 配置区域 ---
    ; 窗口匹配特征:标题含“思源笔记”,类名为 Chromium 类
    targetTitle := "思源笔记 ahk_class Chrome_WidgetWin_1"
    
    ; 排除特征:排除包含“Cent Browser”后缀的窗口(浏览器标签页)
    excludeTitle := "Cent Browser" 

    ; 动态生成快捷方式路径:
    ; A_AppData 指向 C:\Users\用户名\AppData\Roamin

Script to create New Laravel project


#!/usr/bin/env bash

set -e

echo "=== New Laravel Site Setup ==="

# --- Prompts ---
read -p "GitHub repo URL (SSH or HTTPS): " REPO_URL
read -p "Domain name (example: lockedin.vip): " DOMAIN
read -p "Database name: " DB_NAME
read -p "Database user: " DB_USER
read -s -p "Database password: " DB_PASS
echo

SITE_ROOT="/var/www/$DOMAIN"
NGINX_AVAILABLE="/etc/nginx/sites-available/$DOMAIN"
NGINX_ENABLED="/etc/nginx/sites-enabled/$DOMAIN"

# --- Clone repo ---
echo "Cloning repository..."
cd ~
REPO

SSM CLI One-liners

$instanceId="i-0123456789abcdef0"; aws ssm start-session --target $instanceId --document-name AWS-StartPortForwardingSession --parameters 'localPortNumber=55678,portNumber=3389'

propmt for mastra.ai agency

can you tell me how to create a design development agency with the mastra.ai typescript framework, creatoing a project manager, a deep research agent, a design agent, a frontend agent, a backend agent, a qa agent and a team to help me find/onboard new clints, use nextjs for the frontend and mongodb for data perisstance, use tailwindcss for styles and shadcnui for components

アプリ内ブラウザでconsoleを表示する

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>JSONPlaceholder API Test</title>
    <script src="https://cdn.jsdelivr.net/npm/eruda"></script>
    <script>eruda.init();</script>
</head>
<body>
    <button onclick="fetchPosts()">投稿を取得</button>
    <div id="result"></div>

    <script>
        async function fetchPosts() {
            try {
                const response = await fetch('https://jsonplaceholder.typicode.com/posts/1');
                const post = await response.