Open post Go Scripts

使用脚本整合指定文件/文件夹,执行定制化 ESLint 命令

背景

最近面对一个庞大的项目,但是只需要修改某个模块,每次都手搓命令太麻烦了,于是就想着能不能写个脚本来辅助处理这些事情。

解决方案

定制化一键 ESLint,执行文件下载地址:

https://github.com/mazeyqian/go-gin-gee/releases/tag/v1.4.0

"使用脚本整合指定文件/文件夹,执行定制化 ESLint 命令"继续阅读

解决 `Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'`

Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'
Offending key for IP in /root/.ssh/known_hosts:5
Matching host key in /root/.ssh/known_hosts:9
Are you sure you want to continue connecting (yes/no)?

You can add the RSA host key for github.com to your server's known_hosts file to avoid seeing this warning every time you run git pull. Here's how to do it:

"解决 `Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'`"继续阅读