Stella981 Stella981
3年前
Angular单元测试的spyOn使用一例
待测试的Component里有一个Observable数组:!(https://oscimg.oschina.net/oscnet/up61a1b192b6e91b74f749958443bfb1e8.png)通过下面的代码赋值:this.checkoutDeliveryService.getSupportedDeliveryMod
Easter79 Easter79
3年前
Spring中Resource(资源)的获取
1.通过Resource接口获取资源Resource接口的实现类有:!(https://oscimg.oschina.net/oscnet/0cc3fc90abb031f2f5a2202ceee4bafac62.png) Resource接口继承了InputStreamSource接口,Input
Stella981 Stella981
3年前
Python真是什么都能干!今天实现一下自动打开和运行电脑软件!
最近做项目,要用到软件自动化的操作,正好更大家分享一下!!(https://img2018.cnblogs.com/blog/1627425/201909/1627425201909112053284151196306902.png)先看看Python操作:!都说了Python很牛逼!教大家用Pytho
Wesley13 Wesley13
3年前
Java中传值和传址
本文用一下代码说明:Java代码!收藏代码(http://static.oschina.net/uploads/img/201305/24084923_UHpC.png)(http://my.oschina.net/u/1012289/admin)简单字符串String:1.packageluojing;2.public
Wesley13 Wesley13
3年前
voltdb 优化数据库使用方法
方法一、partitioning!(http://static.oschina.net/uploads/space/2016/0608/155940_ZDmx_2308739.png)此图是一个通过patitioning方法,按照相关列,将数据分发到集群当中不同的partition上面。然后通过存储过程,去
Stella981 Stella981
3年前
IntelliJ IDEA 方法注释教程
首先CtrlAltS,打开Settings,找到LiveTemplate,然后点击右侧的绿色的“”,选择TemplateGroup!(https://oscimg.oschina.net/oscnet/6048719b4e459057272bea2fad99bc547ae.png) 然后给新建的Group随便命个名!(h
Stella981 Stella981
3年前
Python游戏开发——2D小游戏
一、序列应用——猜单词游戏代码:!(https://oscimg.oschina.net/oscnet/up06ce88a4a69332474dd81698407c39e716e.png)运行结果:!(https://oscimg.oschina.net/oscnet/upe946d71b5ee8018
Stella981 Stella981
3年前
SpringBoot 学习 博客+SpringBoot项目源码
SpringBoot学习博客地址:https://blog.csdn.net/h356363/category\_8916551.html!(https://oscimg.oschina.net/oscnet/42b516798b5482acb22a04e04f6c5c6cd8c.png)
Easter79 Easter79
3年前
TypeScript 之父:”开源是赢得 JavaScript 开发人员的唯一途径“
!(https://oscimg.oschina.net/oscnet/8df5a9e949fd469891feb541144b0bab.png"AndersHejlsberg")作者:LiamTung编译:王治治丨发布自:思否编辑部原文链接:https://www.zdnet.com/article/types
Wesley13 Wesley13
3年前
#华为推送# 游戏类应用如何利用推送能力实现用户运营精细化
!在这里插入图片描述(https://imgblog.csdnimg.cn/20201120153835244.png?xossprocessimage/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDcwODI