Skip to content

Instantly share code, notes, and snippets.

Unity 物理引擎高频调优命令速查(URP 环境)

基于 Unity 2022.3 LTS 版本与 URP 渲染管线,以下命令均在 Console 窗口或脚本中实测通过。物理引擎使用 PhysX 4.1,部分设置需通过 Physics Debugger 验证。

性能瓶颈定位命令

打开 Profiler 后,在 Console 执行 Physics.autoSimulation = false 可临时关闭自动物理模拟,快速定位是碰撞计算还是渲染拖慢了帧率。配合 Physics.Simulate(Time.fixedDeltaTime) 手动步进,观察 Profiler 的 Physics 模块耗时曲线。建议在 Editor 中先关掉 Auto Simulation,再逐帧调试。


@sebculla
sebculla / 关于 peak-kering.com.cn 的介绍 #8527.md
Created June 24, 2026 12:07
关于 peak-kering.com.cn 的介绍 #8527
715.3860,-1606.6549,-0.8315,1.0
718.4767,-1616.3076,-0.4314,64.9
722.5772,-1629.1735,0.0952,92.4
724.3102,-1638.3112,0.0326,106.3
725.4614,-1647.6686,-0.0325,119.4
726.2178,-1658.1383,-0.4655,122.6
726.6576,-1668.5616,-0.0372,113.9
726.8867,-1678.5642,0.5774,121.7
727.0866,-1689.6163,0.0392,131.5
727.2182,-1700.7720,-0.6890,112.3
@Pycckoe
Pycckoe / agentflow-landing-v3.html
Created June 24, 2026 12:07
AgentFlow Landing v3 — Enhanced Glitch + 3 New Animated Sections
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AgentFlow — Build AI Agent Pipelines Visually</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
import numpy as np
import wave
import os
SR = 48000
DUR = 60.0
N = int(DUR * SR)
def get_output_dir():
سياسة الخصوصية (متوافقة مع Google Play)
اسم التطبيق: منبر الشيعة
تاريخ السريان: 24 يونيو 2026
وسيلة التواصل: almobams1@gmail.com
1. جمع المعلومات واستخدامها
هذا التطبيق لا يقوم بجمع أو تخزين أو معالجة أو مشاركة أي بيانات شخصية للمستخدمين.
from pyspark import pipelines as dp
from pyspark.sql.functions import col, expr
@dp.view
def customer_updates_cdc():
return spark.readStream.table("bronze.customer_updates_raw")
dp.create_streaming_table("customer_dim")
@nradwan
nradwan / leaderboard.html
Created June 24, 2026 12:06
PGN-80 example rendered leaderboard
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Leaderboard</title>
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.8/css/jquery.dataTables.min.css">
<style>
body { font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
margin: 2rem; color: #2d3436; }
@IbgZpL589
IbgZpL589 / product-handbook-e56c6f8e6f.md
Created June 24, 2026 12:06
tRPC-Gateway 配置模板与请求限流实现,基于protobuf自动生成

tRPC-Gateway 配置模板与请求限流实现

适用于需要在高并发下提供稳定 HTTP/JSON 接口的微服务网关,基于 protobuf 服务定义自动生成 OpenAPI 文档。

背景与适用场景

现有 tRPC 服务多数对内暴露 RPC 端口,当需要对外提供 RESTful 接口时,通常要引入一层网关层。之前团队用 Nginx + Lua 写过自定义限流,但业务耦合重、维护成本高。tRPC 的官方工具 trpc-gateway 可以直接从 proto 文件生成路由和参数校验逻辑,并在配置层做细粒度限流,和另一方案 安博体育 社区开源组件相比,它不需额外部署 sentinel 或其他注册中心。

安装依赖

{
"project_name": "Brilliant RP",
"logo_url": "https://6942f009858f5.xvest5.ru/brilliant-cdn/logo.png",
"background_url": "",
"urls": {
"cdn": "https://6942f009858f5.xvest5.ru/brilliant-cdn/",
"donate": "https://t.me/+1e1Gie_WTdU5YjFi",
"forum": "https://t.me/+1e1Gie_WTdU5YjFi",
"support": "https://t.me/+1e1Gie_WTdU5YjFi",