Cursor 代理配置

{
  "http.proxy": "http://127.0.0.1:10808",
  "http.proxyStrictSSL": false,
  "cursor.general.disableHttp2": true,
  "window.commandCenter": true,
  "cursor.general.disableHttp1SSE": true,
  "http.experimental.systemCertificatesV2": true
}
Read More

MyBatisPlus分页

在MyBatis-Plus中,自定义SQL分页可以通过使用Page类和自定义的Mapper方法实现。以下是一个简单的例子:

Read More

Ubuntu20.04设置定时任务

  • 设置定时任务
  • crontab -e
  • * * * * * command
  • 第1列表示分钟0~59 每分钟用*或者 */1表示
  • 第2列表示小时0~23(0表示0点)
  • 第3列表示日期1~31
  • 第4列表示月份1~12
  • 第5列标识号星期0~6(0,7都可表示星期天)
  • 第6列要运行的命令
Read More

Ubuntu20.04安装Tomcat9

  • 安装Tomcat9 sudo apt-get install tomcat9
  • Tomcat9二进制文件目录 /usr/share/tomcat9
  • Tomcat9资源文件目录 /var/lib/tomcat9
Read More

Ubuntu20.04安装MySQL8.0

安装MySQL8.0

sudo apt-get install mysql-server

执行安装脚本

sudo mysql_secure_installation ``` VALIDATE PASSWORD PLUGIN can be used to test passwords… Press y|Y for Yes, any other key for No: N (我的选项)

Read More

git配置代理

  • 设置socks代理
  • git config --global http.proxy 'socks5://127.0.0.1:1080'
  • git config --global https.proxy 'socks5://127.0.0.1:1080'
  • 设置https代理 git config --global https.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080
  • 取消代理
  • git config --global --unset http.proxy
  • git config --global --unset https.proxy
Read More

You're up and running!

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More