对象的类型——接口 在 TypeScript 中,我们使用接口(Interfaces)来定义对象的类型。 什么是接口 在面向对象语言中,接口(Interfaces)是一个很重要的概念,它是对行为的抽象,而具体如何行动需要由类(classes)去实现(implement)。 TypeScript 中的 ...
分类:
其他好文 时间:
2019-11-03 01:14:18
阅读次数:
78
/usr/include/limits.h /usr/include/linux/limits.h ...
分类:
其他好文 时间:
2019-11-02 21:44:25
阅读次数:
121
server端页面显示: Received empty response from Zabbix Agent at [192.168.151.212]. Assuming that agent dropped connection because of access permission
agent端taif日志:Message from 192.168.151.220 is missing header. Message ignored.
分类:
其他好文 时间:
2019-10-29 17:08:58
阅读次数:
232
前面也听说了ThreadLocal来实现高并发,以前都是用锁来实现,看了挺多资料的,发现其实还是区别挺大的(感觉严格来说ThreadLocal并不算高并发的解决方案),现在总结一下吧。 高并发中会出现的问题就是线程安全问题,可以说是多个线程对共享资源访问如何处理的问题,处理不当会的话,会出现结果和预 ...
分类:
编程语言 时间:
2019-10-28 21:17:14
阅读次数:
114
``` javascript // 1.长字符串 // 1.1 let longString1 = "This is a very long string which needs " + "to wrap across multiple lines because " + "otherwise my... ...
分类:
编程语言 时间:
2019-10-28 01:16:23
阅读次数:
80
1. Create and run a Pod We can run to see what has been created: 2. Delete a Pod: Then run: I found a new pod get created. 3. This is because the 'dep ...
分类:
Web程序 时间:
2019-10-27 22:21:43
阅读次数:
129
http://acm.hdu.edu.cn/showproblem.php?pid=1069 Monkey and Banana Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total ...
分类:
其他好文 时间:
2019-10-24 00:13:25
阅读次数:
86
内容: $gcd(a,b)=gcd(b,a\% b)$ 用途: 这不废话嘛,当然是用来求最大公约数啊 证明:(这还是四月份的时候cdx巨佬给我讲的qwq) 设$d=gcd(a.b)$ 则有$a=md,b=nd$, $\Rightarrow$ $a b=(m n)d$ $\because$ $m$与$ ...
分类:
其他好文 时间:
2019-10-23 09:22:53
阅读次数:
172
\leq 小于等于 $\leq$ \geq 大于等于 $\geq$ \because 因为 $\because$ \therefore 因为 $\therefore$ ``中间放东西 `效果` ...
分类:
其他好文 时间:
2019-10-17 13:37:33
阅读次数:
67
Whats the difference between Pooled vs Unpooled and Direct vs Heap in ByteBuf? Like , what does pooled means in context of a message received , becaus ...
分类:
Web程序 时间:
2019-10-12 20:49:29
阅读次数:
194