Sankgao Technical Notes

website·Indexed 29 days ago

http://sankgao.dpdns.org/

A collection of technical tutorials and references covering frontend development (HTML5, CSS3, Vue 3), Python 3 programming, and DevOps tools. Content includes Python built-in functions, data structures, sorting algorithms, Pygame, wxPython GUI, and command sets for Docker and Jenkins.

Tokens
329.7K
Snippets
1.7K
Records
2.4K
Agent score
49%

What's inside Sankgao

  1. Overview of Sonatype Nexus Repository Manager

    Sonatype Nexus Repository is a repository management software used to host private repositories for various dependency managers. While commonly used as a Maven private server (Maven repository manager), it also supports other formats including Docker, npm, and yum. It is available in two versions: OSS (Open Source Software) and Pro.
  2. Overview of the Windows net command

    The net command is a Windows CLI tool used to manage network services, configure network environments for local or remote computers, manage system users and groups, and interact with NetBIOS. It provides a wide range of functions for administration, including service control, session management, and resource sharing.
  3. Overview of git stash

    git stash allows users to temporarily save uncommitted changes in the current working directory and staging area. This is useful when you need to switch branches, interrupt current work to handle urgent tasks, or resolve code conflicts without committing incomplete work.
  4. Overview of Jenkins Continuous Integration

    Jenkins is an open-source continuous integration (CI) tool written in Java. It is used by teams of various sizes across multiple languages and technologies, including Java, .NET, Ruby, Groovy, Grails, and PHP. Key advantages include a simple and intuitive user interface, a smooth learning curve, and a vast ecosystem of hundreds of open-source plugins covering version control, build tools, code quality metrics, and external system integrations.
  5. Overview of Python web crawler frameworks

    Several frameworks provide pre-built functionality for structured data extraction and pipeline management:

    1. Scrapy: A mature, open-source framework for efficiently crawling web pages and extracting structured data.
    2. Crawley: A high-speed framework based on Eventlet. Supports various databases (Postgres, MySQL, MongoDB, Couchdb), JSON/XML export, and Cookie-based authentication.
    3. PySpider: A distributed framework with a WebUI for script editing, task monitoring, and result viewing. Supports JavaScript page crawling and multiple message queues (RabbitMQ, Redis, etc.).
  6. Overview of netsh Network Shell

    netsh (Network Shell) is a command-line scripting utility used to display or modify the network configuration of a computer. It can be executed locally or remotely via the Command Prompt or Windows PowerShell.
  7. Overview of the reg command-line utility

    The reg command is used to manipulate registry subkeys and values. It allows users to view or configure registry entries on the local machine or a remote computer. Note that when configuring a remote computer, certain parameters may be restricted depending on the specific operation being performed.
  8. Overview of git worktree for multiple working directories

    git worktree allows a developer to maintain multiple working directories associated with a single Git repository. Each directory has its own .git metadata but shares the same object database. This enables working on different branches or workflows simultaneously without needing to clone the repository multiple times. Note: To avoid filesystem conflicts, avoid making concurrent changes across multiple worktrees that you intend to merge; instead, complete changes in one worktree and merge them into others.
  9. Overview of Web Workers

    Web Workers allow JavaScript to run in the background, independent of other scripts. This prevents the browser UI from becoming unresponsive during CPU-intensive tasks, allowing users to continue interacting with the page (e.g., clicking or selecting text) while the worker processes data.
  10. Overview of Distributed Version Control Systems (DVCS)

    Unlike Centralized Version Control Systems (CVCS) which rely on a single server, Distributed Version Control Systems like Git, Mercurial, and Darcs mirror the entire repository—including the full history—on every client machine.

    Key Advantages:

    • Redundancy: Every clone acts as a full backup; if the main server fails, the repository can be restored from any local mirror.
    • Flexibility: Supports complex collaboration workflows, such as hierarchical models, and allows interaction with multiple remote repositories.
  11. Overview of common sorting algorithms by time complexity

    Sorting algorithms are generally categorized by their average time complexity and stability (whether they preserve the relative order of elements with equal values).

    • O(n²) Complexity: Bubble Sort, Selection Sort, Insertion Sort, Shell Sort (performance is between O(n²) and O(n log n)).
    • O(n log n) Complexity: Quick Sort, Merge Sort, Heap Sort.
    • Linear Complexity: Counting Sort, Bucket Sort, Radix Sort.

    Other specialized variants include Cocktail Sort, Monkey Sort, and Sleep Sort.