yqqy.top Technical Blog

website·Indexed 32 days ago

https://yqqy.top

A technical knowledge base and blog covering a wide range of development topics, including Go (Golang), Python, PHP, and Uni-App. The site features guides on reverse engineering JavaScript, system configurations for macOS and Ubuntu, DevOps tools like Docker, Nginx, and 1Panel, as well as custom software utilities for GPT session management and email automation.

Tokens
43K
Snippets
214
Records
269
Agent score
58%

What's inside yqqy.top

  1. Overview of GPT SessionID Extraction and Account Validation Software

    This paid, authorization-required software is designed to automate the extraction and refreshing of session_id and refresh_token for OpenAI accounts, as well as performing account activity checks (validation).
  2. Overview of Go Context

    The context package is used to simplify the management of data, cancellation signals, and deadlines across multiple goroutines. It is essential for web programming to handle request-scoped data and timeout control. A key principle is that incoming requests should create a context, and outgoing calls should accept one; the function call chain must propagate the context. When a parent context is cancelled, all derived contexts are also cancelled.
  3. Overview of Email Search and Delete Assistant

    The Email Search and Delete Assistant is a paid tool (requiring authorization) designed to quickly search for and delete specific emails (such as refund notifications) across various providers, including Mail, GMX, Outlook, Hotmail, and self-hosted email servers. If a refund email is identified, the tool can automatically save a copy of the refund bill locally for verification purposes.
  4. Overview of rocket-nginx for WordPress

    rocket-nginx is a configuration for Nginx that complements the WP-Rocket WordPress plugin. It allows Nginx to serve cached files directly, bypassing the need to call WordPress or PHP (changing the flow from NGINX → PHP-FPM → PHP → Static File to simply NGINX → Static File). It also adds headers to cache CSS, JS, and media files to reduce server requests.
  5. Understand Redis architecture and performance

    Redis is an open-source, in-memory NoSQL key-value database. It provides five primary data structures: strings, hashes, sets, sorted sets (zset), and lists. It is commonly used as a distributed cache middleware between applications and databases to improve I/O efficiency. Its high performance is attributed to:

    • Pure memory access (no disk interaction for primary operations).
    • Single-threaded execution to avoid context switching overhead.
    • Efficient data structures.
    • Use of the epoll network model for I/O multiplexing.
    • Design choices like incremental ReHash and cached timestamps.
  6. Apply MySQL table design principles

    Follow these fundamental relationship mapping principles for table design:

    1. One-to-One: Associate via primary keys.
    2. One-to-Many: Set a foreign key on the 'many' side.
    3. Many-to-Many: Create an intermediate table containing foreign keys from both sides.

    Additionally, consider using denormalization (adding redundant fields to necessary query tables) to convert multi-table joins into single-table queries for better performance. For primary keys, prefer using a surrogate primary key (an auto-incrementing integer) over a natural primary key (e.g., ID card number) to minimize B+Tree insertion overhead.

  7. Analyze JD.com mobile login slider captcha flow

    The JD.com mobile login slider captcha involves a sequence of API calls to obtain the captcha image and submit the verification. The primary endpoints and their roles are:

    1. jcapsid: Used to initialize the captcha session. Requires parameters like st (from new_login_entrance response), risk_jd[token] (found in m.html), and calculated values for risk_jd[fp], risk_jd[jstub], and risk_jd[fpstep] (nb + timestamp).
    2. fp: Used to generate fingerprint-related data. Requires si (the jcap_sid returned by the jcapsid interface) and a calculated ct parameter.
    3. check: Used to retrieve the slider image and submit the final slider data. It requires tk and ct parameters. If the submitted slider data is incorrect, this interface returns an error.
  8. Install iKuai as a main router on Proxmox VE

    To use iKuai as a main router for PPPoE dialing and network management in PVE: download the ISO image from the official site, upload it to pve-local storage, and create a new virtual machine. Key configuration steps include setting up the OS, system, disk, CPU, and memory, and performing NIC passthrough for network performance.
    Firmware Download: https://www.ikuai8.com/component/download
  9. Apply Zsh plugin and theme configurations

    To enable installed plugins or change themes, edit the .zshrc configuration file. After saving the changes, reload the configuration to apply them to the current session.
    # Edit the config file
    vim ~/.zshrc
    
    # Apply changes
    source ~/.zshrc
  10. Execute custom monitoring scripts using Categraf in Nightingale v8

    Nightingale v8 (n9e) can use Categraf to execute custom scripts (bash, python, shell, or compiled binaries) to collect metrics. The scripts must output data in a format compatible with the configured data_format (typically InfluxDB line protocol) to be stored in VictoriaMetrics.
  11. Activate software using a paid license

    To activate the software, follow these steps:

    1. Open the software.
    2. Copy the authorization key provided in the app.
    3. Send the key to the author.
    4. Receive the authorization certificate from the author.
    5. Place the certificate file into the software directory.
    6. Restart the software to complete the authorization.
  12. Install Homebrew using a Chinese mirror

    Install Homebrew on macOS using the HomebrewCN mirror script to improve download speeds within China. Run the installation script and follow the on-screen prompts.
    /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"