新页面

新页面
隐藏注册用户 | 显示机器人 | 隐藏重定向
最新 | 最旧) 查看(较新50条 | )(20 | 50 | 100 | 250 | 500

2026年7月25日 (星期六)

2026年7月24日 (星期五)

  • 14:042026年7月24日 (五) 14:04 HDMI EDID历史 | 编辑[2,325字节] Riguz留言 | 贡献 (创建页面,内容为“<syntaxhighlight lang="bash"> ❯ ioreg -lw0 | grep IODisplayEDID | | | | "IODisplayEDID" = <00ffffffffffff0006102ea00000000004190104a5211578026fb1a7554c9e250c505400000001010101010101010101010101010101ef8340a0b0083470302036004bcf1000001a000000fc00436f6c6f72204c43440a20202000000010000000000000000000000000000000000010000000000000000000000000000000d0> | | | | | "IODisplayEDID" = <00ffffffffffff0012e50021502d31011c130103812f1a782e3585a6564…”) 标签2017年版源代码编辑

2026年7月15日 (星期三)

2026年5月7日 (星期四)

  • 03:522026年5月7日 (四) 03:52 Mac colima历史 | 编辑[402字节] Riguz留言 | 贡献 (创建页面,内容为“ <syntaxhighlight lang="bash"> sudo ports install docker mkdir -p ~/.docker/cli-plugins curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-darwin-$(uname -m | sed 's/x86_64/x86_64/;s/arm64/aarch64/') \ -o ~/.docker/cli-plugins/docker-compose chmod +x ~/.docker/cli-plugins/docker-compose docker compose version colima start </syntaxhighlight> Catgory:Linux/Unix”)

2026年3月24日 (星期二)

  • 15:132026年3月24日 (二) 15:13 Leetcode top75历史 | 编辑[645字节] Riguz留言 | 贡献 (创建页面,内容为“Array/String: * 1768. Merge Strings Alternately: use StringBuilder * 1071. Greatest Common Divisor of Strings: if str1 and str2 can be divided, then <math> str1 + str2 = str2 + str1 \gcd(a,b)=\gcd(b,a \bmod b) </math> just get the substring of gcd length”)

2025年11月4日 (星期二)

2025年10月6日 (星期一)

  • 01:452025年10月6日 (一) 01:45 Sphinx历史 | 编辑[259字节] Riguz留言 | 贡献 (创建页面,内容为“<syntaxhighlight lang="bash"> pip install sphinx myst-parser pip install sphinxcontrib-bibtex sphinx-design sphinx-copybutton sphinxext-opengraph pip install sphinx-mathjax-offline cd blog sphinx-quickstart </syntaxhighlight>”)

2025年10月5日 (星期日)

2025年9月8日 (星期一)

2025年8月17日 (星期日)

  • 13:402025年8月17日 (日) 13:40 Ystack历史 | 编辑[3,436字节] Riguz留言 | 贡献 (创建页面,内容为“ = Services and responsibilities == Auth / Identity (Keycloak) == Responsibility: Authentication, user identity, SSO, OIDC tokens. Data owned: Keycloak user record (sub), basic profile attributes. Notes: Other services store keycloak_id as foreign reference only. == Customer Service (customer profile / account)== Responsibility: canonical customer profile (name, emails, billing address, company, contact info), payment-customer mapping (e.g., providerCustomerId…”)

2025年8月13日 (星期三)

2025年8月1日 (星期五)

2025年7月30日 (星期三)

  • 03:112025年7月30日 (三) 03:11 DDD guide历史 | 编辑[9,905字节] Riguz留言 | 贡献 (创建页面,内容为“= Domain-Driven Design (DDD) Guide = This guide provides an overview of key concepts and best practices for implementing Domain-Driven Design (DDD), focusing on the separation of concerns between the domain model, repository, and persistence layer. == Key Principles of DDD == 1. **Focus on the Domain**: - The domain model represents the core business logic and rules. - It should be independent of technical concerns like persistence or frameworks. 2. **…”)
  • 01:222025年7月30日 (三) 01:22 Stackless and Stackful Coroutines历史 | 编辑[1,713字节] Riguz留言 | 贡献 (创建页面,内容为“=Stacked Coroutines= These are coroutines that rely on the program's call stack for managing their state. When a coroutine calls another coroutine, the caller's state is saved on the stack, and the callee's state is pushed onto the stack. This allows for a natural nesting of coroutine calls. Example: Traditional thread-based systems or languages like C++ with stackful coroutines. Advantages: Easier to implement and debug because they follow the natural call…”)

2025年7月29日 (星期二)

2025年7月24日 (星期四)

2025年7月1日 (星期二)

  • 06:362025年7月1日 (二) 06:36 Sqlite3 advanced feature历史 | 编辑[2,667字节] Riguz留言 | 贡献 (创建页面,内容为“<syntaxhighlight lang="sql"> CREATE TABLE Notes ( id UUID PRIMARY KEY, title TEXT, content JSON NOT NULL, content_checksum TEXT NOT NULL, content_plaintext TEXT NOT NULL, classification CHAR(1) NOT NULL CHECK (classification IN ('C', 'S', 'T')), -- C = Confidential, S = Secret, T = Top Secret created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP, d…”)

2025年6月27日 (星期五)

2025年6月13日 (星期五)

2025年6月5日 (星期四)

2025年5月7日 (星期三)

2025年5月6日 (星期二)

  • 16:062025年5月6日 (二) 16:06 Ubuntu let's encryt nginx历史 | 编辑[1,171字节] Riguz留言 | 贡献 (创建页面,内容为“ = Wild certificate = <syntaxhighlight lang="bash"> sudo certbot certonly --manual --preferred-challenges=dns -d *.fn.quillgen.com </syntaxhighlight> 600px To verify: https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.fn.quillgen.com Category:Linux/Unix”)
  • 13:242025年5月6日 (二) 13:24 Install knative历史 | 编辑[5,121字节] Riguz留言 | 贡献 (创建页面,内容为“=Knative Serving= == Install serving == <syntaxhighlight lang="bash"> kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.18.0/serving-crds.yaml kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.18.0/serving-core.yaml kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.18.0/kourier.yaml kubectl patch configmap/config-network \ --namespace knative-serving \ --type m…”)
  • 03:152025年5月6日 (二) 03:15 Interesting AI features历史 | 编辑[135字节] Riguz留言 | 贡献 (创建页面,内容为“ * smart head shot. https://headshot.wps.com/”) 最初创建为“Interesting AI”

2025年4月28日 (星期一)

2025年4月27日 (星期日)

  • 14:182025年4月27日 (日) 14:18 Kubernetes storage class历史 | 编辑[4,503字节] Riguz留言 | 贡献 (创建页面,内容为“=NFS = <syntaxhighlight lang="bash"> apt install nfs-common # try to mount it mount -t nfs -o vers=3,nolock,proto=tcp,noresvport 10.19.31.01:/cfs-xxx /mnt/tmpnfs </syntaxhighlight> <syntaxhighlight lang="bash"> sudo ctr images pull registry.k8s.io/sig-storage/nfsplugin:v4.6.0 sudo ctr images pull registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 sudo ctr images pull registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 sudo ctr images pull registry.k8s.io/sig-s…”)
  • 14:032025年4月27日 (日) 14:03 Ubuntu kubernetes installation历史 | 编辑[7,870字节] Riguz留言 | 贡献 (创建页面,内容为“=System preparation= <syntaxhighlight lang="python"> $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=24.04 DISTRIB_CODENAME=noble DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS" </syntaxhighlight> ==Updrage== <syntaxhighlight lang="bash"> sudo apt update sudo apt upgrade do-release-upgrade </syntaxhighlight> == Mount data disk (Optional) == <syntaxhighlight lang="bash"> mkfs.xfs /dev/vdb lsof /var mv /var/ /var0 mkdir /mnt/newvar/ mount /dev/vdb /mnt/newva…”)

2025年4月18日 (星期五)

  • 15:202025年4月18日 (五) 15:20 Monitor kubernetes历史 | 编辑[2,232字节] Riguz留言 | 贡献 (创建页面,内容为“=kube-prometheus-stack = To monitor your Kubernetes cluster (including Knative functions and OpenEBS storage), here's a lightweight yet comprehensive setup using ​Prometheus, ​Grafana, and ​Alertmanager via the ​kube-prometheus-stack. This stack is optimized for single-node clusters and includes preconfigured dashboards/alerts. <syntaxhighlight lang="python"> helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm re…”)

2025年4月16日 (星期三)

2025年4月13日 (星期日)

2025年4月9日 (星期三)

  • 08:462025年4月9日 (三) 08:46 Kafka data lose历史 | 编辑[1,881字节] Riguz留言 | 贡献 (创建页面,内容为“= Will kafka lose data? = Kafka’s event hubs are designed to be resilient. When certain failures occur, they should be able to recover. However, there are still risks that you have to consider. == Incorrect configuration == * Retention time too short: Kafka allows you to configure how long messages are kept before deletion. If the retention.ms (retention time in milliseconds) is set too short, messages will be deleted sooner than expected. A simple mistake…”)
  • 08:332025年4月9日 (三) 08:33 Kafka rebalance历史 | 编辑[2,382字节] Riguz留言 | 贡献 (创建页面,内容为“The concept of rebalancing is fundamental to Kafka's consumer group architecture. When a consumer group is created, the group coordinator assigns partitions to each consumer in the group. Each consumer is responsible for consuming data from its assigned partitions. However, as consumers join or leave the group or new partitions are added to a topic, the partition assignments become unbalanced. This is where rebalancing comes into play<ref>https://www.redpanda.c…”)

2025年4月6日 (星期日)

  • 13:402025年4月6日 (日) 13:40 ESP32 partition历史 | 编辑[1,642字节] Riguz留言 | 贡献 (创建页面,内容为“<syntaxhighlight lang="bash"> FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size cd /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py && /Users/riguz/.espressif/python_env/idf5.5_py3.12_env/bin/python /Users/riguz/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/riguz/Workspace/embedded/…”)

2025年4月5日 (星期六)

2025年4月3日 (星期四)

2025年4月1日 (星期二)

2025年3月30日 (星期日)

  • 12:062025年3月30日 (日) 12:06 ESP32 max98357a audio output历史 | 编辑[1,808字节] Riguz留言 | 贡献 (创建页面,内容为“= Hardware connection = 小智AI终端DIY面包板WIFI-LCD彩屏接线教程<ref>https://rcnv1t9vps13.feishu.cn/wiki/Zq62wST38iuNxZkwg9JcjkSSnSd</ref> 电源和地线: * 将MAX98357A的VCC引脚连接到ESP32-S3的3.3V输出。 * 将MAX98357A的GND引脚连接到ESP32-S3的GND。 ​I2S信号线: ​* BCLK:ESP32-S3的I2S位时钟引脚(如GPIO2)→ MAX98357A的BCLK。 ​* LRC/WS:ESP32-S3的I2S左右声道时钟引脚(如GPIO1)→ MAX98357A…”)

2025年3月29日 (星期六)

  • 15:512025年3月29日 (六) 15:51 ESP32 led blink历史 | 编辑[2,811字节] Riguz留言 | 贡献 (创建页面,内容为“<ref>https://github.com/espressif/esp-idf/tree/master/examples/get-started/blink</ref> Based on hello world project. = Add depndencies= Add gpio driver: <syntaxhighlight lang="cmake"> idf_component_register(SRCS "hello_world_main.c" PRIV_REQUIRES spi_flash REQUIRES driver INCLUDE_DIRS "") </syntaxhighlight> Add lib: <syntaxhighlight lang="cpp"> idf.py add-dependency espressif/led_strip i…”)
  • 13:552025年3月29日 (六) 13:55 Mac find process listening to port历史 | 编辑[425字节] Riguz留言 | 贡献 (创建页面,内容为“ <syntaxhighlight lang="bash"> $ lsof -P -i:6666 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME openocd 4228 riguz 3u IPv4 0x163b8cdfd65fd7d7 0t0 TCP localhost:6666 (LISTEN) $ netstat -vanp tcp | grep 6666 tcp4 0 0 127.0.0.1.6666 *.* LISTEN 131072 131072 4228 0 0x0100 0x00000006 </syntaxhighlight> Category:Linux Category:Mac”)
  • 02:092025年3月29日 (六) 02:09 ESP32 setup development environment历史 | 编辑[4,971字节] Riguz留言 | 贡献 (创建页面,内容为“<ref>https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html#get-started-prerequisites</ref> = Development on Mac= ==Install Prerequisites == <syntaxhighlight lang="cpp"> brew install cmake ninja dfu-util </syntaxhighlight> ==Get ESP-IDF== Need to install [https://github.com/espressif/esp-idf esp-idf] Category:ESP32”)

2025年3月27日 (星期四)

2025年3月26日 (星期三)

2025年3月24日 (星期一)

最新 | 最旧) 查看(较新50条 | )(20 | 50 | 100 | 250 | 500