拆包、交换变量的值 <1> 对返回的数据直接拆包 def get_my_info(): high = 178 weight = 100 age = 18 return high, weight, age # result = get_my_info() # print(result) my_high ...
分类:
其他好文 时间:
2020-05-05 23:15:19
阅读次数:
65
2. shiro 记住我 在用户认证的基础上修改shiroConf, 添加 AES加密 修改SecurityManager 修改login.html 修改对应的api ...
分类:
其他好文 时间:
2020-05-05 23:10:22
阅读次数:
80
一步一步搞定Kubernetes二进制部署(三)——组件安装(单节点)
分类:
Web程序 时间:
2020-05-05 21:49:31
阅读次数:
88
lstm网络进行股票预测 pytorch 1. generate_dataset.py 2. neural_network_modeling.py 3. train.py 4. predict.py 参考文献 "[1] pytorch上手模板" "[2] pytorch中LSTM的细节分析理解" " ...
分类:
其他好文 时间:
2020-05-05 19:46:24
阅读次数:
53
IdentityServer document is not write clear on this part. so it really confuse me and put me on several hours to resovle this problem. 1. 我的Identity Se ...
分类:
其他好文 时间:
2020-05-05 17:37:21
阅读次数:
89
Collections public class Collectionsextends Object 此类仅由静态方法组合或返回集合。它包含对集合进行操作的多态算法,“包装器”,返回由指定集合支持的新集合,以及其他一些可能的和最终的。 如果提供给它们的集合或类对象为null,则此类的方法都抛出一个N ...
分类:
其他好文 时间:
2020-05-04 00:26:19
阅读次数:
82
实际项目中,可能正要构建一个大型的系统,但又不想一遍又一遍的重复同样的依赖元素,这种情况是经常出现的。不过还好,maven提供了继承机制,项目可以通过parent元素使用继承,可以避免这种重复。当一个项目声明一个parent的时候,它从父项目的POM中继承信息。它也可以覆盖父POM中的值,或者添加一 ...
分类:
其他好文 时间:
2020-05-03 20:45:52
阅读次数:
64
http://myslide.cdn.myslide.cn/lv74v-nyef3x_ESM0yprkUzahKe2?attname=%E8%9A%82%E8%9A%81%E9%87%91%E6%9C%8D+%E5%BC%A0%E5%A4%A9%E7%BF%BC+%E8%9A%82%E8%9A%81 ...
分类:
其他好文 时间:
2020-05-02 11:53:33
阅读次数:
126
Github下载源码地址https://github.com/square/okhttp 我们今天来看看拦截器里的CallServerInterceptor 来看CallServerInterceptor类的intercept方法 1)源码: Exchange exchange = realChai ...
分类:
Web程序 时间:
2020-04-30 18:57:40
阅读次数:
82
原文链接:https://www.cnblogs.com/sunshineliulu/p/8984704.html 1、查看当前操作系统内核信息 uname -a $ uname -a Linux vm-web 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 ...
分类:
系统相关 时间:
2020-04-29 18:30:44
阅读次数:
121