background picture of the home page

黎明之前总有一段时间特别黑。

electron 问题

electron 打包出错 • Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+ ⨯ Exit code: 1. Command failed: whic

thumbnail of the cover of the post

fnm 安装 (Windows)

Fnm(Fast Node Manager)🚀 一个快速而简单的 Node.js 版本管理工具,使用 Rust 编写。 FNM_DIR E:\other\fnm\node FNM_MULTISHELL_PATH E:\other\fnm\fnm_multishells E:\other\fnm E

thumbnail of the cover of the post

获取当前用户的sid

获取当前用户的sid !macro _GSID_Func_CALL System::Call "user32::FindWindow(i0,tProgram Manager)p.r1" System::Call user32::GetWindowThreadProcessId(pr1

thumbnail of the cover of the post

NSIS中系统特殊路径变量基础知识(修正)

前言 在多年交流 NSIS 技术中,发现很多用户对 Windows 系统特殊文件夹路径方面的知识点还比较欠缺。大多用户只了解几个常用路径,比如 $INSTDIR、$WINDOWS、$DESKTOP、$SMPROGRAMS 等文件夹,对于其他不常用的路径就无从所知了,通常会采用截取和拼接字符串的方式来

thumbnail of the cover of the post

Brew 安装

Brew 安装 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 显示隐藏文件 defaults write com.apple.finder AppleShowAllFil

thumbnail of the cover of the post

node 相关配置

Node配置全局和缓存路径 # 设置全局模块的安装路径到 "node_global" 文件夹 npm config set prefix "E:\other\fnm\catch\node_global" # 设置缓存到"node\_cache"文件夹 npm config set cac

thumbnail of the cover of the post

rustdesk-api-server 安装

rustdesk-api-server 安装 docker-compose 方式 version: "3.8" services: rustdesk-api-server: container_name: rustdesk-api-server image: ghcr.io/ki

thumbnail of the cover of the post

ubuntu20.04安装nginx并配置反向代理

1、安装nginx、查看版本 apt install nginx nginx -v 2、配置serve 1、进入配置文件 cd /etc/nginx/sites-enabled #编辑sites-enabled目录下的default文件 sudo vim default 2、编辑defa

thumbnail of the cover of the post

node常用命令

node 删除文件 第一种(好用的在后面) 1.使用rimraf: //使用rimraf可以完全删除目标文件夹(包括目录和文件),比普通的rm -rf node_modules/ 更可靠。 npm install -g rimraf rimraf node_modules 2.使用npx: npm

thumbnail of the cover of the post