git clone https://gitee.com/GreatSQL/GreatSQL.gitwget https://gitee.com/GreatSQL/GreatSQL/repository/archive/master.ziphttps://gitee.com/GreatSQL/Grea ...
分类:
数据库 时间:
2021-04-21 12:01:14
阅读次数:
0
查看所有用户任务计划 cat /etc/passwd | cut -f 1 -d : |xargs -I {} crontab -l -u {} 查看设备的挂载情况 lsblk lsblk -f 查看rhel或centos版本 cat /etc/redhat-release 查看最后登陆信息 las ...
分类:
系统相关 时间:
2021-04-20 15:45:36
阅读次数:
0
前文 之前的随笔中,已经通过相机或相册获取到了我们想要的图片,接下来进行识图api的配置工作。我使用的是百度的api,利用python获取信息,并在MainActivity中进行调用来输出信息。 一、首先我们需要申请创建一个应用(管理控制台->产品服务->图像识别),百度智能云,得到api key和 ...
分类:
移动开发 时间:
2021-04-20 15:32:06
阅读次数:
0
docker 要开放2376等端口,必须设置安全证书,否则容易遭到攻击挖矿等恶意行为 根据文章 https://segmentfault.com/a/1190000022023393 配置 配置完成后,使用docker info 或者 netstat -anp|grep 2376 或者netstat ...
分类:
其他好文 时间:
2021-04-20 15:31:50
阅读次数:
0
一.Ubuntu环境搭建 1. 安装.NET SDK or .NET Runtime 先为Ubuntu安装运行时,一般情况下安装运行时即可 .NET版本Snap包 5.0 dotnet-runtime-50 3.1(LTS) dotnet-runtime-31 3.0 dotnet-runtime- ...
分类:
Web程序 时间:
2021-04-20 15:09:49
阅读次数:
0
SQL注入 一、LOW难度SQL注入 1.判断注入类型 1.输入1 2.输入 1' and 1=2,报错 3.输入 1' and 1=2 #,无报错 得知为字符型注入 2.猜字段数 方法有两种: ① 1' order by N # ② 1' union select 1, 2, ... # 采用第一 ...
分类:
Web程序 时间:
2021-04-20 15:02:48
阅读次数:
0
删除数组中的重复项2 1、题目描述 给你一个有序数组 nums ,请你 原地 删除重复出现的元素,使每个元素 只出现一次 ,返回删除后数组的新长度。 不要使用额外的数组空间,你必须在 原地 修改输入数组 并在使用 O(1) 额外空间的条件下完成。 说明: 为什么返回数值是整数,但输出的答案是数组呢? ...
分类:
编程语言 时间:
2021-04-20 14:33:41
阅读次数:
0
Gogs私有git仓库 + Drone构建CI/CD平台 参考便捷搭建教程:https://github.com/alicfeng/gogs_drone_docker 前提 安装有docker、docker-compose 安装有git 安装有mysql 使用docker-compose安装gogs ...
分类:
其他好文 时间:
2021-04-20 14:32:57
阅读次数:
0
1、关闭MySQL [root@mysql ~]# /etc/init.d/mysqld stopShutting down MySQL.. SUCCESS! 2、修改参数文件/etc/my.cnf [root@mysql ~]# cat /etc/my.cnf[mysqld] port=3306 ...
分类:
数据库 时间:
2021-04-20 14:29:49
阅读次数:
0
1、 dat <- data.frame(v1=sample(1:15,15),v2=sample(1:15,15)) dat$cat[dat$v1 <= 8] <- "SMALL" dat$cat[dat$v1 > 8 ] <- "BIG" 2、 dat <- data.frame(v1=samp ...
分类:
编程语言 时间:
2021-04-20 14:08:55
阅读次数:
0