引用概念: 如果变量代表一个数组,比如a,我们把a叫做引用 与基本类型不同 int c = 5; 这叫给c赋值为5 声明一个引用 int[] a; a = new int[5]; 让a这个引用,指向数组 ...
分类:
编程语言 时间:
2019-12-15 16:53:31
收藏:
0 评论:
0 赞:
0 阅读:
85
转载自: "博客1" 、 "博客2" 、 "博客3" 步骤 第一步: 下载所需gcc安装包(.deb格式) 手动:老版本gcc下载地址:http://old releases.ubuntu.com/ubuntu/pool/universe/g/ ; http://archive.ubuntu.com ...
分类:
系统服务 时间:
2019-12-15 16:53:04
收藏:
0 评论:
0 赞:
0 阅读:
280
先看构造器: 其他的构造参数也就类似以上四种,就不再一一列举。 然后就是比较常用的equals 截取字符串substring ...
分类:
其他 时间:
2019-12-15 16:52:39
收藏:
0 评论:
0 赞:
0 阅读:
94
The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F ...
分类:
其他 时间:
2019-12-15 16:52:17
收藏:
0 评论:
0 赞:
0 阅读:
97
http://blog.yuanzhaoyi.cn/2018/06/27/golang_python.html python3-ctypes: https://docs.python.org/3.5/library/ctypes.html#ctypes.c_wchar_p golang-cgo: h ...
分类:
编程语言 时间:
2019-12-15 16:51:46
收藏:
0 评论:
0 赞:
0 阅读:
232
一、读取Excel 1.打开excel表格 readbook = xlrd.open_workbook('D:\\automation--interface\\data\\testdata.xls') 2.获取表格中所有sheet sheets = readbook.sheet_names() #返 ...
分类:
其他 时间:
2019-12-15 16:51:30
收藏:
0 评论:
0 赞:
0 阅读:
94
听说写博客是个好习惯 读报机项目从开始到现在已经经历的一个半月的漫长时间,也总体有了大致雏形,虽然核心的看报模块还没开始,但是资源获取方面也都逐渐完成,按正常进度来说这点工作一个月完成应该是绰绰有余的,但为什么拖了这么久,我做出几点总结: ①:需求描述不清晰,在产品需求方面,只了解到是读报机项目,架 ...
分类:
其他 时间:
2019-12-15 16:51:10
收藏:
0 评论:
0 赞:
0 阅读:
77
写在前边 本文对Spring Security OAuth2的token使用Redis保存,相比JWT实现的token存储,Redis可以随时吊销access_token,并且Redis响应速度很快,没有加密解密的过程 本文源代码在redis token saved模块中,仓库地址:https:// ...
分类:
编程语言 时间:
2019-12-15 16:50:34
收藏:
0 评论:
0 赞:
0 阅读:
133
Given two strings S?1?? and S?2??, S=S?1???S?2?? is defined to be the remaining string after taking all the characters in S?2?? from S?1??. Your task ...
分类:
其他 时间:
2019-12-15 16:50:19
收藏:
0 评论:
0 赞:
0 阅读:
78
详细编译安装nginx请参考【Nginx目录结构与配置文件详解】以及【Nginx安装部署】,在这里就进行简单安装安装Nginx环境介绍操作系统:[root@localhost~]#cat/etc/redhat-releaseCentOSLinuxrelease7.6.1810(Core)[root@localhost~]#uname-aLinuxlocalhost.localdomain3.10.
分类:
其他 时间:
2019-12-15 16:30:49
收藏:
0 评论:
0 赞:
0 阅读:
99
 环境 操作系统:Ubuntu 18.04 MongoDB: 4.0.3 服务器 首先部署3台服务器,1台主节点 + 2台从节点 3台服务器的内容ip分别是: 10.140.0.5 (主节点) 10.140.0.6 (从节点01) 10.140.0.7 (从节点02 ...
分类:
数据库技术 时间:
2019-12-15 16:23:43
收藏:
0 评论:
0 赞:
0 阅读:
91
每一个springboot工程都可以看做一个服务,这也是微服务的基础,使用RestTemplate访问springboot提供的web服务。如下: String BASE_URL="http://127.0.0.1:8080"; RestTemplate res=new RestTemplate() ...
分类:
编程语言 时间:
2019-12-15 16:23:23
收藏:
0 评论:
0 赞:
0 阅读:
62
网络配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0 DNS配置文件:/etc/tesolve.conf 用户信息:/ect/passwd 用户密码:/etc/shadow 组配置文件: /etc/group . 配置yum :删除/etc/yum.rep ...
分类:
系统服务 时间:
2019-12-15 16:23:03
收藏:
0 评论:
0 赞:
0 阅读:
96
``` #include #include #include #include #define INF 0x3f3f3f3f using namespace std; typedef long long ll; const int maxn = 1000000 + 5; int n,m,be,en;... ...
分类:
其他 时间:
2019-12-15 16:22:49
收藏:
0 评论:
0 赞:
0 阅读:
95
HTTP包体:承载的消息内容 两种传输HTTP包体的方式 定长包体: 不定长包体: ...
分类:
Web开发 时间:
2019-12-15 16:22:33
收藏:
0 评论:
0 赞:
0 阅读:
80