Spring Cloud Alibaba各组件版本关系 | Spring Cloud Alibaba Version | Sentinel Version | Nacos Version | RocketMQ Version | Dubbo Version | Seata Version | | | ...
分类:
编程语言 时间:
2020-05-08 09:33:23
阅读次数:
94
1.对基础类型进行排序 调用Sort()方法,如果需要降序 1 List<int> intList = new List<int>() { 1, 2, 3 }; 2 intList.Sort(); 3 foreach (int number in intList) 4 { 5 Console.Wri ...
分类:
编程语言 时间:
2020-05-08 09:31:58
阅读次数:
61
git作为一个vcs(version control system),是越用越香,那么还有哪些比较香的地方呢!? 1.远程仓库中拉取指定分支 一定遇到这种情况,github看到一个心仪的开源仓库,但是分支太多,我们只想要我们需要的分支。 2.递归克隆 项目里包含的一些库或者一些模块是存在了别的仓库, ...
分类:
其他好文 时间:
2020-05-08 00:27:10
阅读次数:
81
修改default.conf 文件如下: server { --站点1 listen 80; server_name txy.vcgo.vip; --站点域名 location / { proxy_pass http://111.229.75.253:5000; --站点端口 http://loca ...
分类:
系统相关 时间:
2020-05-07 23:00:36
阅读次数:
126
记录一下 1、在网上突然发现这个漏洞,就去尝试复现了一下,本次不记录漏洞形成原因,只记载复现 2、首先Fastjson百度了解一下只知道是一个java库,搜寻一下靶场环境搭建,网上大部分的都比较繁琐, 个人推荐可以使用Vulhub搭建是和docker一起使用的官网地址:https://vulhub. ...
分类:
Web程序 时间:
2020-05-07 20:11:46
阅读次数:
232
flink用户画像(Java) 一、youfanPortraitmain(后端) 一、项目架构 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="h ...
分类:
其他好文 时间:
2020-05-07 20:05:35
阅读次数:
242
需求:系统中有一个自增的合同编号,在满足并发情况下,生成的合同编号是自增的。 测试工具:Apache Jmeter 实现方法: 创建一个数据库表。编号最大值记录表 表结构类似 CREATE TABLE `project_number_record` ( `id` varchar(64) NOT NU ...
分类:
编程语言 时间:
2020-05-07 20:02:49
阅读次数:
466
参考 https://www.jianshu.com/p/5d67fb720ece pom引入 <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>3.0.3</ver ...
分类:
其他好文 时间:
2020-05-07 20:02:00
阅读次数:
78
#Centos6安装Git yum install -y epel-release rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm yum list git2u yum install -y git2u git --version ...
分类:
其他好文 时间:
2020-05-07 18:14:47
阅读次数:
77
//代码 public static void main(String[] args) throws Exception { String path = "f:/svn/t_dictionary.txt"; File file = new File(path);//源文件 Long fsize = ...
分类:
编程语言 时间:
2020-05-07 15:49:54
阅读次数:
185