#include <stdio.h> #include <conio.h> int main() { char *user; char *pass; char username[30]={0},pass_word[30]={0},password; int count = 0; //密码显示为 * ...
分类:
编程语言 时间:
2020-06-18 16:04:29
阅读次数:
84
在安装docker时候遇到很多问题,在这里分享一下, 1.在国内使用docker官方的源真的是慢, https://download.docker.com/linux/centos/#Docker官方源 [root@localhost ~]# cat /etc/yum.repos.d/Docker- ...
分类:
其他好文 时间:
2020-06-18 13:11:39
阅读次数:
47
select * from [dbo].[Contract_BaseInfor] as x join [dbo].[MaterialType] as a on x.RowGuid = a.ContractRowGuid join [dbo].[EquipmentEFile_Category] as ...
分类:
数据库 时间:
2020-06-18 11:22:12
阅读次数:
181
MongoDB中聚合(aggregate)主要用于处理数据(诸如统计平均值,求和等),并返回计算后的数据结果。有点类似sql语句中的count(*)。 MongoDB中聚合的方法使用aggregate()。 语法: >db.COLLECTION_NAME.aggregate(AGGREGATE_OP ...
分类:
数据库 时间:
2020-06-18 10:49:32
阅读次数:
60
先来看看以下问题 int count = 0; while (getline(ifs,temp)) { count++; } cout<<count <<endl; // 假设输出count为2 count = 0; // 重置 while (getline(ifs,temp)){count++;} ...
分类:
编程语言 时间:
2020-06-18 01:54:52
阅读次数:
100
一、Jmeter线程组有三个类型: Thread Group(线程组)、setUp Thread Group(setUp 线程组)、tearDown Thread Group(tearDown 线程组),如下图所示: 1、thread group(线程组): 这个就是我们通常添加运行的线程。通俗的讲 ...
分类:
编程语言 时间:
2020-06-17 12:46:46
阅读次数:
54
Mysql 聚合函数嵌套使用 目的:Mysql 聚合函数嵌套使用 聚合函数不可以直接嵌套使用,比如: max(count(*)) 思路:但是可以嵌套子查询使用(先分组取出count值, 再将count值倒序排列,取第一个值就是最大的) select max(total) from ( select ...
分类:
数据库 时间:
2020-06-17 11:11:28
阅读次数:
88
# -*- coding:utf-8 -*- def login(): # print('请完成登陆功能') count = 1 while count < 4: username = input('输入登陆用户名>>:').strip() password = input('输入登陆密码>>:') ...
分类:
编程语言 时间:
2020-06-17 01:54:15
阅读次数:
83
1 #-*- coding = utf-8 -*- 2 #@Time : 2020/6/16 20:52 3 #@Authur : Agur Zheng 4 #@File : loop_exercise.py 5 #@Software : PyCharm 6 7 # for循环,范围是包括起点不包括 ...
分类:
编程语言 时间:
2020-06-16 23:30:06
阅读次数:
77
优化后 # $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for ...
分类:
其他好文 时间:
2020-06-16 18:41:29
阅读次数:
65