摘要: my.ini配置文件 [mysqld] log_bin = "D:\Software\phpstudy_pro\Extensions\MySQL8.0.12\data" server-id = 1 或集成环境中开启 查看binlog状态 show variables like '%log_bin%' 阅读全文
posted @ 2024-06-25 00:01 悬剑丶 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 安装Apache后,进入bin目录,运行ab.exe ab -c 500 -n 5000 site.com-c 并发量-n 总请求数site.com 请求域名 阅读全文
posted @ 2023-10-16 17:32 悬剑丶 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 一、新增部署公钥 二、同步代码 三、更新目录权限 四、创建WebHook #!/bin/bash echo "" #输出当前时间 date --date='0 days ago' "+%Y-%m-%d %H:%M:%S" echo "Start" #git项目路径 gitPath="/www/www 阅读全文
posted @ 2023-07-20 16:09 悬剑丶 阅读(187) 评论(0) 推荐(0) 编辑
摘要: table { text-align: left; position: relative; border-collapse: collapse; } thead th { text-align: center; } th { position: sticky; background-color: # 阅读全文
posted @ 2023-06-06 16:33 悬剑丶 阅读(132) 评论(0) 推荐(0) 编辑
摘要: var cc = 0 var my = 20, you = 2000; for (var i = 0; ; i++) { if (cc != 'mywin') { cc = this.jisuan(my, you) } else { console.log(i) if (i < (you / my) 阅读全文
posted @ 2023-03-27 21:41 悬剑丶 阅读(27) 评论(0) 推荐(0) 编辑
摘要: theme = { // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’, // 默认色板 color: ['#ff7f50', '#87cefa', '#da70d6', '#32cd32', '#6495ed', '#ff69b4', '#ba55d3', 阅读全文
posted @ 2023-02-24 16:26 悬剑丶 阅读(23) 评论(0) 推荐(0) 编辑
摘要: /*! * jquery.base64.js 0.1 - https://github.com/yckart/jquery.base64.js * Makes Base64 en & -decoding simpler as it is. * * Based upon: https://gist.g 阅读全文
posted @ 2022-08-02 17:24 悬剑丶 阅读(483) 评论(0) 推荐(1) 编辑
摘要: win10 C:\Users\user\.ssh.ssh目录下(user为本机名称) eval `ssh-agent` ssh-add "rsa_absolute_path" 例: ssh-add "C:\Users\悬剑\.ssh\coding" 新建config文件 #coding Host c 阅读全文
posted @ 2022-07-25 18:09 悬剑丶 阅读(187) 评论(0) 推荐(0) 编辑
摘要: go版本 go version go本地配置 go env 开启GOSUMDB go env -w GO111MODULE=on 写入配置-设置代理 go env -w GOPROXY=https://goproxy.io,direct 初始化包管理模块 go mod init projectNam 阅读全文
posted @ 2022-07-17 18:00 悬剑丶 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 安装Python https://www.python.org/downloads/PyPI包https://pypi.org/project/imageio/ 查看版本 python -V或 pip -V 查看安装位置 where python 设置国内源 pip config set globa 阅读全文
posted @ 2022-07-12 23:59 悬剑丶 阅读(46) 评论(0) 推荐(0) 编辑