常用 git 操作手册 分支操作 查看分支&当前分支 git branch oh-my-zsh 中 git 插件简写 gb 切换分支 git checkout $your_branch oh-my-zsh 中 git 插件简写 gco $your_branch 查看工作区状态 git status ...
分类:
其他好文 时间:
2020-04-24 21:39:04
阅读次数:
79
一、Cypress理解 End-to-End 基于js 二、安装 1 npm install cypress --save-dev 打开 用VScode打开目录文件 在examples目录下新建baidu.js文件 1 describe('My First Test', function () { ...
分类:
其他好文 时间:
2020-04-24 19:49:00
阅读次数:
1213
原文:CentOS7.7下二进制部署MySQL多版本多实例实战目录第一章 需求说明第二章 环境准备1.虚拟机环境2.虚拟机优化3.清理环境①卸载已安装的mysql②删除mysql的配置文件③删除MariaDB的文件④删除my.cnf⑤检查端口是否被占用4.准备软件包5.准备目录第三章 部署MySQL... ...
分类:
数据库 时间:
2020-04-24 13:07:06
阅读次数:
94
获取图片 http://my.cnki.net/elibregister/CheckCode.aspx 每次刷新该网页可以得到新的验证码进行测试 以我本次查看的验证码图片为例,右键保存图片为image.jpg 下面用代码来对该图片验证码进行识别: import tesserocr from PIL ...
分类:
编程语言 时间:
2020-04-24 12:55:09
阅读次数:
81
``` void* my_memcpy(void* dst, void* src, int n) { if (dst == nullptr || src == nullptr || n psrc&& pdst < psrc + n) //{ // pdst = pdst + n - 1; // ps... ...
分类:
其他好文 时间:
2020-04-24 09:15:26
阅读次数:
53
1、下载镜像 docker pull mysql 5.7.29 2. 启动 docker run --restart=always --privileged=true -d -v /root/mysql/data/:/var/lib/mysql -v /root/mysql/conf:/etc/my ...
分类:
数据库 时间:
2020-04-24 01:29:16
阅读次数:
95
最近在Github上整了个Repository来保存打过的比赛的代码,包括Codeforces,Google Code Jam和Google Kick Start等,之后应该也会搞一点刷题的代码。 之后这个博客上可能会只写解题思路,代码就放到这个repo里。 虽然已经退役了,但是还是会经常更新。 " ...
分类:
其他好文 时间:
2020-04-23 12:42:04
阅读次数:
107
1.官网下载.zip格式的MySQL Server的压缩包,选择x86或x64版,并解压。 2. 创建 data文件夹 及 my.ini文件,并编辑 [mysqld] # 设置为自己MYSQL的安装目录 basedir=D:\program-files\mysql-8.0.19-winx64 # 设 ...
分类:
数据库 时间:
2020-04-22 16:08:17
阅读次数:
96
总结:1、查询时用 not in 效率极其低下,因此结合left join改为in查询,效率很快 原语句: select * from my_test_table where id not in (select b.id as id from ( SELECT MAX(a.`ModifyAt`)Mo ...
分类:
数据库 时间:
2020-04-22 13:26:47
阅读次数:
77
一、获取Mysql YUM源 ① 打开网址:https://dev.mysql.com/downloads/repo/yum/,选择对应linux版本(这里为CentOS7,选择Linux7) ② 点击“No thanks, just start my download.”,进行下载 ③ 将下载地址 ...
分类:
数据库 时间:
2020-04-22 09:51:32
阅读次数:
85