yuminstall-yzsh#安装zshsh-c"$(curl-fsSLhttps://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"#安装ohmyzshorsh-c"$(wgethttps://raw.githubusercontent.com/robbyrussell/oh-my-zsh/m
分类:
其他好文 时间:
2020-07-31 19:20:37
阅读次数:
76
在MySQL安装目录的 bin 目录下执行命令时出现警告: mysqld --initialize --console 警告信息: 解决方法: 修改my.ini文件,之前这里写的是UTF8,查了一下mysql建议使用utf8mb4 这个警告还是蛮重要的,虽然不影响建表,但如果忽视可能会后续数据存储上 ...
分类:
数据库 时间:
2020-07-31 19:16:55
阅读次数:
89
参考:https://my.oschina.net/ccLlinux/blog/1859116基本命令:rsync[OPTION]…SRC(需要备份的原文件)DEST(Push的位置)example:download:rsync-avuser@hostip:/scratch/test/test_sh.sh/Users/username/test/test.sh上传:rsync-av/Users/u
分类:
其他好文 时间:
2020-07-30 22:22:12
阅读次数:
96
安装很多次mysql,linux,windows版本的都有遇到的问题,总是不总结,结果就是走很多弯路,所以此次记录一下。 1.首先安装完mysql8.0.21 后,发现无my.ini,解决办法 1)默认安装到c盘会自动隐藏,记得打开隐藏文件找到他 2)找不到的情况下,在mysql的安装目录下新建my ...
分类:
数据库 时间:
2020-07-30 18:17:41
阅读次数:
163
文章首发:xmoon.info 任务说明:编写一个钱币定位系统,其不仅能够检测出输入图像中各个钱币的边缘,同时,还能给出各个钱币的圆心坐标与半径。 效果 代码实现 Canny边缘检测: # Author: Ji Qiu (BUPT) # filename: my_canny.py import cv ...
分类:
编程语言 时间:
2020-07-30 14:22:37
阅读次数:
64
一般这个错误是由密码错误引起,解决的办法自然就是重置密码。 假设我们使用的是root账户。 1.重置密码的第一步就是跳过MySQL的密码认证过程,方法如下: root 00:22:26~$ vim /etc/my.cnf (注:windows下修改的是my.ini) 2.在文档内搜索mysqld定位 ...
分类:
数据库 时间:
2020-07-29 12:37:00
阅读次数:
109
一、Reading My girlfriend and I are going to get married this year. We are going to have a big wedding party. All our friends and relatives are going to ...
分类:
其他好文 时间:
2020-07-29 10:36:23
阅读次数:
74
#ifndef MY_BIGN_H#define MY_BIGN_H 1#pragma GCC system_header#include<cstring>#include<algorithm>#include<iostream>using std::max;using std::istream;u ...
分类:
其他好文 时间:
2020-07-28 16:52:02
阅读次数:
67
使用文档 # -*- coding:utf-8 -*- #! python2 import shutil a=0 readDir = r"D:\pycharm-project\my-project\test\thefile2018-11-27.sh" writeDir = r"D:\pycharm- ...
分类:
其他好文 时间:
2020-07-28 14:00:53
阅读次数:
62
yield 是产出的意思,就是返回一个值,这一点有点像return,但是不会结束函数的执行。那它什么时候继续执行呢?等待下一次迭代器被调用时候返回上次中断的地方, 利用这个特性可以实现range函数: def my_range(max_num): i = 0 while i < max_num: y ...
分类:
其他好文 时间:
2020-07-27 23:43:11
阅读次数:
103