config sublime essentials as a old emacs users.
...
分类:
其他好文 时间:
2019-06-01 21:08:10
阅读次数:
228
报错信息:UnboundLocalError: local variable referenced before assignment 在函数内部修改全局变量时报错。 因为:在python里,如果在函数内部试图去修改一个全局变量,那么实际上的操作是 Python会创建一个新的名字一模一样的局部变量, ...
分类:
编程语言 时间:
2019-06-01 14:06:59
阅读次数:
120
Dockerfile参数简介:https://docs.docker.com/engine/reference/builder/ 指令 含义解释 FROM : FROM debian:stretch表示以debian:stretch作为基础镜像进行构建 MAINTAINER: 维护者信息RUN : ...
分类:
其他好文 时间:
2019-05-31 16:16:55
阅读次数:
108
1.pass-by-value的情况: 缺省情况C++以pass-by-value(继承C的方式)传递对象至(或来自)函数。函数参数都是以实际参数的复件为初值,调用端所获得的也是函数返回值的一个复件,复件由对象的拷贝构造函数产出,可能使pass-by-value成为耗时的操作。 2.耗时的原因 类的 ...
分类:
其他好文 时间:
2019-05-31 10:26:50
阅读次数:
112
参考官方文档:https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html ...
分类:
编程语言 时间:
2019-05-31 00:54:44
阅读次数:
129
Linux-nftables https://netfilter.org/https://netfilter.org/projects/iptables/index.htmlhttps://netfilter.org/projects/nftables/index.htmlhttps://www.n ...
分类:
系统相关 时间:
2019-05-30 01:02:38
阅读次数:
233
一、Instrumentation(https://developer.android.com/reference/android/app/Instrumentation.html) 1、 Instrumentation 原理是什么? 通过直接调用被测应用的类实现自动化测试 和被测应用处于同一个进程 ...
分类:
其他好文 时间:
2019-05-28 12:38:17
阅读次数:
163
Qt 5.10Qt WidgetsCalendar Widget Example Qt 5.10.0 Reference Documentation ContentsWindow Class DefinitionWindow Class ImplementationCalendar Widget E ...
分类:
其他好文 时间:
2019-05-26 23:43:57
阅读次数:
209
Qt 5.10Qt Data VisualizationBars Example Qt 5.10.0 Reference Documentation ContentsRunning the ExampleCreating the ApplicationSetting up the GraphAddi ...
分类:
其他好文 时间:
2019-05-26 23:43:38
阅读次数:
184
Qt 5.10Qt BluetoothBluetooth Low Energy Heart Rate Game Qt 5.10.0 Reference Documentation ContentsRunning the ExampleVisual TourBluetooth Low Energy H ...
分类:
其他好文 时间:
2019-05-26 23:39:56
阅读次数:
229