IConfiguration configuration = new ConfigurationBuilder() .SetBasePath(Environment.CurrentDirectory) .AddJsonFile("AppSettings.json", true, true) .Add ...
分类:
Web程序 时间:
2020-08-03 17:18:37
阅读次数:
149
前面我们都是直接通过集成sentinel的依赖,通过编码的方式配置规则等。对于集成到SpringCloud中阿里已经有了一套开源框架spring-cloud-alibaba,就是用于将一系列的框架成功的整合到SpringCloud中。我这边SpringCloud的版本是Finchley.SR2,SpringBoot的版本是2.0.6.RELEASE,下面开始集成步骤。1.整合步骤1.1添加Mave
分类:
编程语言 时间:
2020-08-02 10:03:26
阅读次数:
91
# -*- coding: UTF-8 -*- ''' @Project -> File :CMDB -> collect_windows_info.py @IDE :PyCharm @Author :XuMou @Date :2020/7/30 12:57 ''' import platform ...
分类:
编程语言 时间:
2020-07-30 14:20:21
阅读次数:
80
Collections工具类 Collections是一个操作Set、List和Map等集合的工具类(类似于Arrays操作数组的工具类) 提供了一系列的静态方法(static) 排序操作的相关方法 reverse(List) 反转List中元素的顺序 List list = new ArrayLi ...
分类:
其他好文 时间:
2020-07-30 01:24:21
阅读次数:
67
效果图: 1.XAML部分 <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft ...
分类:
其他好文 时间:
2020-07-29 00:46:25
阅读次数:
110
MongoDB DBA常用的NoSQL语句 查看帮忙命令 > hlep --server级别 > db.help() --db级别 > db. collectionname . help() --集合级别 查看所有数据库 >show dbs --新建的数据库并不在数据库的列集合中,要显示它,我们需要 ...
分类:
数据库 时间:
2020-07-27 13:56:18
阅读次数:
83
question: A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edge ...
分类:
其他好文 时间:
2020-07-26 23:09:33
阅读次数:
68
package com.jeesite.modules.jiQiao.web;import com.google.common.collect.Lists;import java.util.ArrayList;import java.util.Collections;public class Dem ...
分类:
编程语言 时间:
2020-07-26 22:57:16
阅读次数:
89
package cn.burce.iterator; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; /* * 集合中的迭代器 获取集合中的元素 * 接口Iterator:两个抽象 ...
分类:
编程语言 时间:
2020-07-26 16:04:04
阅读次数:
86
1.三层架构: 1.视图层:主要功能是接受用户的数据,显示请求的处理结果,使用web页面和用户交互;可以理解为(JSP,HTML,servlet等等...) 2.业务逻辑层:接收表示传递过来的数据,进行业务逻辑,调用数据访问层获取数据 3.数据访问层:就是访问数据库2.三层对应的包 1.视图层:co ...
分类:
其他好文 时间:
2020-07-26 15:17:10
阅读次数:
63