CuterCorley CuterCorley
4年前
Python matplotlab库使用方法及注意事项
1.Python使用Matplotlib模块时坐标轴标题中文及各种特殊符号显示方法pythonimportmatplotlib.pyplotasplttarange(4pi,4pi,0.01)ysin(t)/tplt.plot(t,y)plt.title('www.jb51.nettest')plt.xlabe
Easter79 Easter79
3年前
ThreadPoolTaskExecutor使用详解
当我们需要实现并发、异步等操作时,通常都会使用到ThreadPoolTaskExecutor,现对其使用稍作总结。配置ThreadPoolTaskExecutor通常通过XML方式配置,或者通过Executors的工厂方法进行配置。XML方式配置代码如下:<beanid"taskExecutor"class"org.springf
Stella981 Stella981
3年前
Spring Cloud Eureka 全解 (6)
本文基于SpringCloudDalston.SR5(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fcloud.spring.io%2Fspringcloudstatic%2FDalston.SR5%2F)Eureka服务实例启动时,是否会立刻向EurekaServer注册?
Easter79 Easter79
3年前
TASK 5 AlexNet与VGG
1\.AlexNet1.1卷积层尺寸计算全0填充时!(https://uploadimages.jianshu.io/upload_images/7547741ff4b9b5c0c9ad0c8.png?imageMogr2/autoorient/strip|imageView2/2
Wesley13 Wesley13
3年前
JAVA常用编程代码块
转Map时要考虑Map的key是否重复List<Entity转为Map<keyField,valueField将一个List实体集合转换为以Entity某一个字段为key,另一字段为value映射的Map/
Stella981 Stella981
3年前
SpringBoot测试Service或者Dao层
!(https://oscimg.oschina.net/oscnet/3617716e29864749803145ac057d5c11f0c.gif)使用SpringBoot进行单元测试时,发现使用@Autowired注解的类无法自动注入,当使用这个类的实例的时候,报出NullPointerException,即空指针
Stella981 Stella981
3年前
GitHub入门与实践——Git的导入
!(https://oscimg.oschina.net/oscnet/884ab09fd7534beb8898bf70519ce7df.gif)!(https://oscimg.oschina.net/oscnet/99903d99b4f14faaa4456606f2191a87.png)Git仓库管理功能时GitHub的核
Stella981 Stella981
3年前
Linux锐速当前连接数等状态查询,service serverSpeeder status 服务,帮助信息
使用serverSpeeder服务进行锐速的启动,停止,以及重新加载配置等操作;各参数说明如下:1.serviceserverSpeederstart:启动锐速,加载加速模块;使用/serverspeeder/etc/config文件中的配置作为模块加载时的初始化参数;1.serviceserverSp
Wesley13 Wesley13
3年前
TCP报文结构和长短连接
参考博文:https://www.cnblogs.com/onlysun/p/4520553.htmlhttps://blog.csdn.net/zxy987872674/article/details/52653101一、报文结构介绍  在开始讲TCP连接过程时,还是先看看TCP报文的格式如图1所示。IP数据
Wesley13 Wesley13
3年前
Vert.x HTTP 服务器与客户端
编写HTTP服务器与客户端Vert.x让编写非阻塞的HTTP服务器与客户端变得非常轻松。创建HTTP服务器缺省状况:HttpServerserververtx.createHttpServer();配置HTTP服务器创建时也可以传入HttpServerOptions