简化12306接口,规范属性名称,用于数据库设计,数据接口定义
命名规则
| #!/bin/sh /etc/rc.common | |
| START=95 | |
| start() { | |
| # shadowsocks rules | |
| iptables -t nat -N SHADOWSOCKS | |
| # START |
| #!/bin/bash | |
| ### Google Domains provides an API to update a DNS "Syntheitc record". This script | |
| ### updates a record with the script-runner's public IP, as resolved using a DNS | |
| ### lookup. | |
| ### | |
| ### Google Dynamic DNS: https://support.google.com/domains/answer/6147083 | |
| ### Synthetic Records: https://support.google.com/domains/answer/6069273 | |
| USERNAME="" |
| # Holds repositories directory | |
| sudo chown -R -v git:root /var/opt/gitlab/git-data | |
| sudo chmod -R -v 0700 /var/opt/gitlab/git-data | |
| # Holds git repositories | |
| sudo chown -R -v git:git /var/opt/gitlab/git-data/repositories | |
| sudo chmod -R -v 2770 /var/opt/gitlab/git-data/repositories | |
| # Holds large object directories | |
| sudo chown -R -v git:gitlab-www /var/opt/gitlab/gitlab-rails/shared |
AmbientCapabilities support (usually kernel >= linux4.3) [Unit]
Description=FRP Server Daemon
| #!/bin/bash | |
| # Jenkins Configuraitons Directory | |
| cd $JENKINS_HOME | |
| # Add general configurations, job configurations, and user content | |
| git add -- *.xml jobs/*/*.xml userContent/* ansible/* | |
| # only add user configurations if they exist | |
| if [ -d users ]; then | |
| user_configs=`ls users/*/config.xml` |
Apple restricted the access to Xcode LLM (Predictive code completion) feature on China models of Mac. This guide provides a way to bypass that restriction. It's verified on macOS 15.0 Beta (24A5264n), but there is no guarentee that it will always work on later macOS versions.
csrutil enable --without debug command in recovery mode).Modern conversational AI systems often split functionality into multiple tools or sub-agents, each specialized for a task (e.g. search, booking, math, etc.). When a user sends a query, the system must interpret intent and dispatch it to the right tool/agent. There are two broad approaches: letting a general-purpose LLM handle intent detection itself, or using a dedicated router component. In practice, many practitioners use a hybrid: an initial “router” classifies the intent and then a specialized agent or tool handles the task. Below we survey best practices and examples of each approach, referencing frameworks like LangChain and Semantic Router.
A common approach is to have the LLM itself decide which tool or chain to invoke. For example, one can prompt the model to output a JSON field indicating the desired “tool” or “function” (using OpenAI’s function-calling or ChatGPT Pl