var assemblies = new List<Assembly>() { typeof(OEAppHost).Assembly }; var types = assemblies.SelectMany(x => x.GetTypes()) .Where(x => (x.GetInterface ...
分类:
其他好文 时间:
2019-11-19 15:32:02
阅读次数:
68
17.嵌套循环 # 嵌套循环 nested loop # 在一个循环中使用另外一个循环 num_list1 = [1, 2, 3, 4] num_list2 = [6, 7, 8, 9] # 组合list1和list2 # (1,6) (1,7) (1,8) (1,9) # 第一次循环 1 , 2 ...
分类:
编程语言 时间:
2019-11-18 18:30:53
阅读次数:
108
php7新特性 太空船操作符 <=> echo 1<=>1; //0 echo 1<=>2: //-1 echo 2<=>1;//1 类型声明: declare (strict_types=1) // strict_types=1表示开启严格模式 function sum(int...$ints): ...
分类:
Web程序 时间:
2019-11-18 13:09:30
阅读次数:
102
微服务是现在比较流行的技术,对于程序猿而言,了解并搭建一个基本的微服务框架是很有必要滴。 微服务包含的内容非常多,一般小伙伴们可以根据自己的需求不断添加各种组件、框架。 一般情况下,基本的微服务框架包含:框架:注册中心、负载均衡、声明式服务(feign)、容错(hystrix)、网关(权限)gate ...
分类:
编程语言 时间:
2019-11-18 12:43:53
阅读次数:
87
第一道题是模板题,下面主要是两种模板,但都用的是Dinic算法(第二个题也是) 第一题: 题意就不需要讲了,直接上代码: vector代码: 1 //invalid types 'int[int]' for array subscript :字母重复定义 2 #include<stdio.h> 3 ...
分类:
其他好文 时间:
2019-11-16 21:55:43
阅读次数:
96
使用方式: - 导入模块 from django.db import models from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import Ge ...
分类:
其他好文 时间:
2019-11-16 19:23:12
阅读次数:
56
Type helloType = typeof(Hello); //Hello是一个接口 List<Type> types = new List<Type>(); //遍历程序集 foreach (var assembly in AppDomain.CurrentDomain.GetAssembli ...
原文:Elasticsearch入门教程(五):Elasticsearch查询(一) 版权声明:本文为博主原创文章,遵循 CC 4.0... ...
分类:
其他好文 时间:
2019-11-15 14:20:10
阅读次数:
79
下载地址: https://neo4j.com/download-center/#releases 1.下载:Neo4j 分社区版(Community Edition)和企业版(Enterprise Edition),社区版本为免费版本。 Default login is username 'neo ...
分类:
其他好文 时间:
2019-11-13 10:57:14
阅读次数:
80
私有CA建立和证书申请CA在创建时有规定的格式,详细需要参考/etc/pki/tls/openssl.cnf此文件存放了CA相关的一些配置信息。以下为比较重要的2个相关配置:1.此段为CA的详细目录结构####################################################################[ca]default_ca=CA_default#Thede
分类:
其他好文 时间:
2019-11-13 09:18:31
阅读次数:
85