Logo Vincent
Electron in Practice: Registering Shortcuts

Electron in Practice: Registering Shortcuts

Preface: This article introduces how to register keyboard shortcuts in an Electron app. Main Process: Registering shortcuts in the main process is straightforward — just make sure to do it after app ready. Common key mappings: https://www.electronjs.org/docs/latest/api/accelerator. Also remember to unregister all shortcuts when the app quits.

Electron
Electron in Practice: Update Strategies

Electron in Practice: Update Strategies

Preface: After developing a desktop app with Electron, the next question is how to update subsequent versions. This article introduces several update strategies. Electron Architecture: An Electron desktop app consists of several parts: the Electron runtime itself, the main process (Node.js and non-Node.js parts), and the renderer process.

Electron
Running Multiple WeChat Clients on Mac

Running Multiple WeChat Clients on Mac

Preface: Many people have multiple WeChat accounts. On mobile, you can use two phones or Android multi-app features. This article explains how to run multiple WeChat clients on Mac by creating aliases to the WeChat executable inside the app bundle.

Tools
docker-nginx

docker-nginx

Preface There are many Docker images for nginx. This article packages a business nginx into a Docker image. Choosing the nginx version alpine Alpine is a minimal Linux distribution, with an image size of only 7.73M. nginx also has an alpine-based version. This article uses the alpine-based version. stable ngi

DevOps
Docker Private Registry

Docker Private Registry

Preface After becoming proficient with Docker locally, the next step is to push local Docker images to a remote registry for easy access elsewhere. Common commands The previous section covered common Docker commands, see: https://blog.insistime.com/dockercmds Official Docker Hub Docker offici

DevOps
Installing MySQL on Mac

Installing MySQL on Mac

Introduction: This article covers how to install MySQL on Mac. Steps include downloading the DMG installer from the official website, installing it, and configuring the environment variables.

Tools

Grant MySQL Access to a Specific IP

Tools
Node.js Web Server in Practice: Using PM2 Cluster Mode to Boost API QPS

Node.js Web Server in Practice: Using PM2 Cluster Mode to Boost API QPS

Preface: pm2 is a Node.js process management tool. This article introduces pm2 cluster mode and uses it to boost Node.js API QPS.

Node.js
Common Docker Commands

Common Docker Commands

Docker official website: https://www.docker.com/ hub: https://www.docker.com/products/dockerhub/ Docker concepts image: a packaged snapshot container: a running instance of an image repository: a place to store images Docke

DevOps
Node.js Web Server in Practice: API Load Testing with autocannon

Node.js Web Server in Practice: API Load Testing with autocannon

Preface: AutoCannon is a Node.js-based API load testing tool. https://www.npmjs.com/package/autocannon

Node.js
AWS - Image Conversion with Lambda@Edge and CloudFront

AWS - Image Conversion with Lambda@Edge and CloudFront

Chinese cloud providers offer convenient image format and size conversion via URL parameters for their OSS/COS storage. AWS does not provide this out of the box — you need to write Lambda@Edge functions yourself. This article provides a complete guide on implementing image conversion with Lambda@Edge.

Tools
AWS-CodeArtifact

AWS-CodeArtifact

AWS CodeArtifact is a managed artifact repository that can host npm, Maven, and other packages.

Tools
© 2026 vincentqiao.com . All rights reserved.