song = ''' An empty street,An empty house,A hole inside my heart,I'm all alone,The rooms are getting smaller,I wonder how,I wonder why,I wonder where ... ...
分类:
其他好文 时间:
2018-03-26 16:08:41
阅读次数:
151
官方解释: 这个叫做fallback function,当有人 1. 只发送以太币给合约而不带任何输入数据;2. 调用smart contract时调起了一个不存在的方法。会触发执行这个方法。 What is the deal with “function () { ... }” inside So ...
分类:
其他好文 时间:
2018-03-19 16:45:05
阅读次数:
521
列表相关属性: 1.list-style-image:自定义项目符号,允许指定一个外部图标文件,以满足个性化设计需求; 2.list-style-position:定义项目符号的显示位置,改属性值包括outside和inside,其中outside表示把项目符号显示在列表项的文本行以外,列表符号默认 ...
分类:
Web程序 时间:
2018-03-18 12:05:42
阅读次数:
326
《Ruby元编程》 第二章 对象模型 类定义揭秘inside class definitions: class关键字更像一个作用域操作符,核心作用是可以在里面随时定义方法。 [].methods.grep(/^re/):调用 出Array的所有以re开头的method. Monkeypatch:涉及 ...
分类:
其他好文 时间:
2018-03-08 22:57:05
阅读次数:
194
注:测试用telnet来测试因为ASA默认之给TCP与UDP形成CONN表icmp协议不能形成CONN表所以用ping方式来测试是ping不通的是正常现象ASA.配置:ciscoasa#showrunning-config:Saved:ASAVersion8.4(2)!hostnameciscoasaenablepassword8Ry2YjIyt7RRXU24encryptedpasswd2KFQ
分类:
其他好文 时间:
2018-03-08 19:38:56
阅读次数:
585
-案例1:inside与outside互通并测试互通配置:-R1interfacee0/0noshutdownipaddress192.168.10.1255.255.255.0iproute192.168.20.0255.255.255.0192.168.10.254-ASAinterfaceg0noshutdownnameifInside#Inside与inside是相同的;安全级别默认是10
分类:
其他好文 时间:
2018-03-08 19:34:28
阅读次数:
220
i++、++i、i=i+1、效率怎么样?看过一本书上说,i++比i=i+1好的地方是因为i=i+1中的那个1要占用一个寄存器,所以速度没有i++快,于是我想验证一下。另外,以前听说过Java中的“i=i++”得不到正确结论,也就是应该是“先累加再赋值”,但Java经过这种运算后,i值居然没有变化。所 ...
分类:
其他好文 时间:
2018-03-03 23:29:25
阅读次数:
215
HTML Image Tags TagDescription <img> Defines an image <map> Defines an image-map <area> Defines a clickable area inside an image-map HTML Image Tags U ...
分类:
其他好文 时间:
2018-02-18 22:45:36
阅读次数:
218
ip nat inside source list 1 interface g0/2 overload Nat转换,指定原地址为100.100.23.0的主机使用Fastethernet 0/0的地址进行转换 ip nat inside source list 2 interface g0/0 ov ...
分类:
其他好文 时间:
2018-02-16 21:55:42
阅读次数:
245
To fix Promise is not recolized in TypeScript, we can choose to use a lib: we can also use built-in libs: Inside "es6" have Promise already, so that w ...
分类:
其他好文 时间:
2018-02-03 12:39:11
阅读次数:
124