logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Maven 打包插件(2)—— maven-assembly-plugin 的使用方法

1、Assemblyhttps://maven.apache.org/plugins/maven-assembly-plugin/assembly.html2、How to use Maven assembly plugin with multi module maven projecthttps://stackoverflow.com/questions/24072384/how-t...

python 内置数据结构的基本操作 —— dict(2)

A mapping object maps hashable values to arbitrary objects. Mappings are mutable objects. There is currently only one standard mapping type, the dictionary. (For other containers see the built-in list

#python#数据结构
Python正则表达式学习(5)——re.findall()

re.findall(pattern,string,flags = 0)返回字符串中模式的所有非重叠匹配,作为字符串列表。 字符串从左到右扫描,并按照找到的顺序返回匹配项。 如果模式中存在一个或多个组,则返回组的列表; 如果模式有多个组,这将是一个元组的列表。 结果中包含空匹配,除非他们触及另一个匹配的开始。In [10]: re.findall("c","ccccabsdbdfskdvc")Ou

#python#正则表达式
Maven 打包插件(1)—— maven-dependency-plugin 的使用方法

1、利用maven-dependency-plugin插件使用及场景https://www.cnblogs.com/lianshan/p/7350614.html2、dependency:unpackhttps://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html3、Unpacking specifi...

基于枚举类 Enum 实现的单例模式

参考资料:1、https://www.cnblogs.com/cielosun/p/6596475.htmlJava枚举enum以及应用:枚举实现单例模式2、https://blog.csdn.net/yy254117440/article/details/52305175Java 利用枚举实现单例模式public enum Singleton_3 {INST...

报错 org.apache.http.ProtocolException: Target host is not specified

org.apache.http.ProtocolException: Target host is not specified对于httpClient4.3访问指定页面,对于URL必须使用 http://开始,否则会有报错信息:org.apache.http.ProtocolException: Target host is not specified形如在下面的uriBuilde...

基于双重检查锁定和类初始化(静态内部类)的单例模式

基于 双重检查锁定 的单例模式:public class DoubleCheckedLockingSingleton{public static volatile DoubleCheckedLockingSingleton instance;public static DoubleCheckedLockingSingletongetInstance(){...

ElasticSearch 配置文件 elasticsearch.yml 详解

1、elasticsearch-.yml(中文配置详解)https://www.cnblogs.com/zlslch/p/6419948.html2、分布式搜索elasticsearch配置文件详解http://blog.csdn.net/laigood/article/details/7421197...

git 报错 You are not allowed to push code to this project 的解决办法

You are not allowed to push code to this projectPlease make sure you have the correct access rightsand the repository exists.昨天往自己的项目分支上 push 代码的时候,出现了上面的提示。说我不允许往这个项目上推送代码,请确定我有相应的权限并且该仓库存在。

JUnit 单元测试启动 Spring 容器

http://blog.csdn.net/qq_18416057/article/details/53409722介绍在spring的框架下,做单元测试的两种办法。    一、使用spring中对Junit框架的整合功能    除了junit4和spring的jar包,还需要spring-test.jar。引入如下依赖: [html] view plain copy print?<depen

#spring#junit#html +1
    共 49 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 请选择