会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
打赏
苍山落暮
版权所有,违者必究 联系我:tomtellyou@163.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
54
下一页
2020年11月24日
git Commitizen工具安装使用
摘要: Commitizen工具安装使用 npm install -g commitizen commitizen init cz-conventional-changelog --save --save-exact //在项目目录下执行 //提交代码 git add . git cz //所有的git c
阅读全文
posted @ 2020-11-24 10:19 苍山落暮
阅读(1312)
评论(0)
推荐(0)
2020年11月18日
git merge tools
摘要: git merge tools 1.window下设置 (1.)配置全局的merge工具 git config --global merge.tool p4merge git config --global mergetool.p4merge.cmd p4merge '$BASE $LOCAL $R
阅读全文
posted @ 2020-11-18 16:53 苍山落暮
阅读(624)
评论(0)
推荐(0)
Redis安装
摘要: Redis安装 (1.)安装 $ sudo apt update $ sudo apt install redis-server (2.)修改配置 sudo vi /etc/redis/redis.conf supervised systemd //系统启动监控 requirepass 123456
阅读全文
posted @ 2020-11-18 16:52 苍山落暮
阅读(60)
评论(0)
推荐(0)
2020年11月10日
docsite使用
摘要: docsite使用 环境搭建 (1.)安装Npm apt install npm # npm版本号 npm -v sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose # cnpm版本号 cnpm
阅读全文
posted @ 2020-11-10 15:04 苍山落暮
阅读(1366)
评论(0)
推荐(0)
2020年11月9日
gofmt 代码格式化
摘要: gofmt 代码格式化 goimports使用 goimports - w file (这里可以指定文件夹,也可以指定单个文件) goimports - w directory (指定的是整个项目) gofmt 使用 gofmt -w xx.go
阅读全文
posted @ 2020-11-09 16:18 苍山落暮
阅读(486)
评论(0)
推荐(0)
2020年11月5日
mysql创建只读用户
摘要: mysql创建只读用户 -- 创建用户 用户名:readonly 密码:123456 可自行更改 -- CREATE USER 'readonly'@'%' IDENTIFIED BY '123456'; -- 赋予用户只读权限 库名:mydb 用户:readonly -- GRANT SELECT
阅读全文
posted @ 2020-11-05 15:09 苍山落暮
阅读(5667)
评论(0)
推荐(0)
2020年11月2日
Mysql IP类型转换
摘要: Mysql IP类型转换 inet_aton:将ip地址转换成数字型 (ip_net_address_to_number) inet_ntoa:将数字型转换成ip地址 (ip_net_number_to_address) 使用示例: SELECT INET_ATON('254.161.167.28'
阅读全文
posted @ 2020-11-02 10:40 苍山落暮
阅读(485)
评论(0)
推荐(0)
2020年10月29日
gin validator验证
摘要: gin validator验证 package main import ( "fmt" "net/http" "github.com/gin-gonic/gin" ) type RegisterRequest struct { Username string `json:"username" bin
阅读全文
posted @ 2020-10-29 21:00 苍山落暮
阅读(826)
评论(0)
推荐(0)
2020年10月27日
Mysql慢查询日志分析
摘要: 1.开启慢查询日志 vim /etc/my.cnf slow-query-log = On #开启慢查询 slow_query_log_file = /data/mysql/mysql_slow_query.log #定义慢查询日志的路径 log_output = FILE #设置日志输出到文件,默
阅读全文
posted @ 2020-10-27 14:28 苍山落暮
阅读(352)
评论(0)
推荐(0)
2020年10月25日
佳能G3800打印机驱动下载
摘要: 佳能G3800打印机驱动下载 在该界面,输入型号:G3800 https://www.canon.com.cn/supports/download/sims/search/index 选择对应的操作系统下载即可 安装完驱动后,添加打印机 无法下载时,可选择以下的网址下载 http://www.win
阅读全文
posted @ 2020-10-25 22:24 苍山落暮
阅读(6681)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
54
下一页
公告