解决 Windows 环境中 git log 命令中文编码问题
· One min read
在Windows系统中使用git命令,如果想正确显示UTF-8字符,需要执行以下命令设置环境变量:
DOS/cmd
set LC_ALL=C.UTF-8
PowerShell
$env:LC_ALL='C.UTF-8'
在Windows系统中使用git命令,如果想正确显示UTF-8字符,需要执行以下命令设置环境变量:
set LC_ALL=C.UTF-8
$env:LC_ALL='C.UTF-8'
从Windows 95开始, 只需要将程序的快捷方式拖到Windows的“启动”文件夹即可。
下面介绍几个常用基础镜像(Alpine,Ubuntu,Debian 和 CentOS)如何设置时区。
今天在项目里执行 npm i 出现以下错误:
git tag your_tag_name
git tag -a your_tag_name -m "tag describe"
通过修改Docker的/etc/docker/daemon.json配置文件里的 registry-mirros 配置节,可是设置Docker的镜像服务:
国内开源镜像加速站点
原文 - Deploying to GitHub Pages
记录一下我是如何利用 GitHub Action,自动发布我的 Docusaurus(以下简称Doc) 博客的。
Ref: linux下查看指定进程的所有连接信息
On Linux, you must be root or the owner of the process to get the information you desire. As such, for processes running as another user, prepending sudo is most of what you need. In addition to that, on modern Linux systems, ss is tool to use to do this:
配置Maven使用阿里云镜像:
程序执行之前先执行以下代码, 设置环境变量:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
下面简单介绍一下NPM淘宝镜像使用: