Suzm QuickRef Cheat Sheets

website·Indexed 29 days ago

https://suzm.cn

A comprehensive collection of technical cheat sheets and quick reference guides covering a wide range of tools and languages, including Node.js (Express, NestJS, Koajs, pnpm), Python (FastAPI, Flask, PyTorch, uv), Adobe Creative Cloud shortcuts, and system tools like FFmpeg, NGINX, OpenSSL, and Git.

Tokens
505K
Snippets
3.5K
Records
3.8K
Agent score
50%

What's inside Suzm QuickRef

  1. Overview of Subversion components and protocols

    Subversion consists of several key components for different roles: svn (main CLI), svnadmin (repository management), svnserve (SVN protocol server), and svnsync (repository mirroring). It supports multiple protocols for accessing repositories: file:// (local), http:// and https:// (Apache/SSL), svn:// (svnserve), and svn+ssh:// (SSH).
  2. Overview of ChatGPT and AI Alternatives

    ChatGPT is an AI chatbot released by OpenAI in 2022, based on models like GPT-3.5 and GPT-4. It supports text generation, Q&A, summarization, and programming tasks.

    Official URL: https://chatgpt.com/

    Similar platforms available in China include:

    • Wenxin Yiyan (Baidu)
    • Tongyi Qianwen (Alibaba)
    • Hunyuan (Tencent)
    • Doubao (ByteDance)
    • Tiangong AI
    • Xunfei Xinghuo
  3. Overview of DM-Database-Recovery Toolset

    DM-Database-Recovery is a professional recovery toolset for Dameng Database (V8+) designed for production environments. It automates the detection of backup chains and selects optimal recovery strategies to ensure fast and reliable database restoration. Key capabilities include one-click recovery to the latest state or a specific point-in-time, visualization of recovery progress, and support for both dmrman (offline) and disql (online) backup modes.
  4. Overview of taskset command

    The taskset command is used to set or retrieve the CPU affinity of a running process (given its PID) or to launch a new command with a specific CPU affinity. CPU affinity binds a process to a specific set of CPU cores, restricting it from running on others.
  5. Overview of Kubernetes (K8s) Core Capabilities

    Kubernetes is an open-source container orchestration platform used for cloud-native computing. It provides the following core operational capabilities:

    • Automated Deployment and Scaling: Manages the application lifecycle via declarative configurations.
    • Service Discovery and Load Balancing: Utilizes built-in DNS and Service mechanisms to manage traffic.
    • Self-healing: Automatically restarts failed containers and replaces crashed Pods.
    • Storage Orchestration: Supports various storage backends to provide persistent storage for applications.
  6. Overview of VMware vSphere Virtualization Components

    VMware vSphere is a server virtualization platform that abstracts physical servers into compute resource pools. Its core architecture consists of:

    • ESXi: A bare-metal Hypervisor that runs directly on physical hardware.
    • vCenter Server: A centralized management platform that enables advanced features such as High Availability (HA), Distributed Resource Scheduler (DRS), and vMotion.
    • vSphere Client: The HTML5-based web management interface used for administration.
  7. Overview of Automation Operations Tooling

    Automation operations in the cloud era focus on configuration management, CI/CD pipelines, monitoring, and scripting. Key tools and their typical use cases include:

    • Ansible: Used for configuration management, batch deployment, configuration synchronization, and application release.
    • Jenkins: Used for CI/CD, including code building, testing, and deployment pipelines.
    • Prometheus: Used for monitoring and alerting, specifically for container monitoring, service discovery, and multi-dimensional alerts.
    • Zabbix: Used for enterprise-level monitoring of traditional servers and network devices.
    • rsync: Used for file synchronization, backups, and distribution (often combined with inotify for real-time sync).
  8. Overview of rsync + inotify real-time synchronization

    This tool enables real-time file synchronization by monitoring file changes on a source server and automatically pushing them to a backup server. It operates in two distinct roles:

    • Local Server (Data Source): Monitors file changes and pushes updates to the backup server (Mode 1).
    • Backup Server (Receiver): Provides the rsync service and receives pushed files (Mode 2).
  9. GitHub Actions core concepts overview

    GitHub Actions uses four primary concepts to automate software development workflows:

    • Workflow: A single continuous integration run.
    • Job: A workflow consists of one or more jobs that can run in parallel or sequence.
    • Step: Each job consists of multiple steps executed in order.
    • Action: A step can execute one or more commands or reusable actions.
  10. Use basic layout widgets (Container, Column, Row, Wrap)

    Flutter provides several fundamental widgets for arranging children:

    • Container: Used for styling, sizing, and padding a single child.
    • Column: Arranges children vertically.
    • Row: Arranges children horizontally.
    • Wrap: Arranges children horizontally but automatically wraps to the next line when space is insufficient.
    // Container for styling
    Container(
      width: 100,
      height: 100,
      color: Colors.blue,
      alignment: Alignment.center,
      child: Text('Hello world'),
    ),
    
    // Column for vertical layout
    Column(
       children: [
         Container(width: 100, height: 100, color: Colors.blue, child: Text('Hello')),
         ElevatedButton(onPressed: () {}, child: Text('Button')),
       ],
    ),
    
    // Row for horizontal layout
    Row(
      children: [
        ElevatedButton(onPressed: () {}, child: const Text('1')),
        ElevatedButton(onPressed: () {}, child: const Text('2')),
      ],
    ),
    
    // Wrap for auto-wrapping content
    Wrap(
      children: [FlutterLogo(), FlutterLogo(), FlutterLogo()],
    ),
  11. Configure package metadata and searchability

    Use these fields to provide information about the package to users and package managers.
    {
      "description": "A short summary of what the package does",
      "keywords": [
        "short",
        "relevant",
        "keywords"
      ]
    }
  12. Retrieve Redis server information and statistics

    Use the INFO command to get detailed information about the Redis server, including version, OS, and various performance statistics.
    redis> INFO