ES6 Tutorial........ 215 Math- LOG2E ....................................................................................................................................... 215 Math - LOG10E ................. ........ 221 Math.log(x) ......................................................................................................................................... 222 Math.log10(x) ............... ......... 222 Math.log2(x) ....................................................................................................................................... 223 Math.log1p(x) ...............0 码力 | 435 页 | 4.00 MB | 1 年前3
 CIS 1.6 Benchmark - Self-Assessment Guide - Rancher v2.5.4argument is set to false (Automated) 1.2.22 Ensure that the --audit-log-path argument is set (Automated) 1.2.23 Ensure that the --audit-log-maxage argument is set to 30 or as appropriate (Automated) CIS 1 83 83 83 85 85 1.2.24 Ensure that the --audit-log-maxbackup argument is set to 10 or as appropriate (Automated) 1.2.25 Ensure that the --audit-log-maxsize argument is set to 100 or as appropriate (Automated) --tls-cert-file=/etc/kubernetes/ssl/kube- apiserver.pem --authorization-mode=Node,RBAC --audit-log- maxsize=100 --audit-log-format=json --requestheader-allowed- names=kube-apiserver-proxy-client --cloud-provider=0 码力 | 132 页 | 1.12 MB | 1 年前3
 TiDB Database Auditing User Guide (new)
information 7 Audit log filters and rules 7 Filters 8 Filter rules 9 File formats of audit log 10 Rotation of audit log 11 The number and duration for reserving audit logs 11 Audit log redaction 11 System mysql.audit_log_filters 11 mysql.audit_log_filter_rules 12 System variables 13 tidb_audit_enabled 13 tidb_audit_log 14 tidb_audit_log_format 14 tidb_audit_log_max_filesize 14 tidb_audit_log_max_lifetime 15 tidb_audit_log_reserved_backups 15 tidb_audit_log_reserved_days 15 tidb_audit_log_redacted 16 Functions 16 audit_log_rotate 16 audit_log_create_filter 16 Examples 17 audit_log_remove_filter 170 码力 | 23 页 | 328.42 KB | 1 年前3
 Apache Karaf Container 4.x - Documentation4.6. Remote 4.6.1. SSHd server 4.6.2. JMX MBeanServer 4.7. Log 4.7.1. Configuration files 4.7.2. Log4j v2 support 4.7.3. karaf.log.console property 4.7.4. Commands 4.7.5. JMX LogMBean 4.7.6. 16. Configuration 5.17. Deployer 5.18. Dump extender 5.19. JDBC & JPA 5.20. JMS 5.21. Custom log appender 5.22. Custom JMX MBean 5.23. Working with profiles 5.24. Security & JAAS 5.25. Servlet reloaded. • Advanced Logging System: Apache Karaf supports all the popular logging frameworks (slf4j, log4j, etc). Whichever logging framework you use, Apache Karaf centralizes the configuration in one file0 码力 | 370 页 | 1.03 MB | 1 年前3
 跨平台桌⾯应⽤框架:Electron1 1.7.5.2 1.8 1.8.1 1.8.2 ⽬录 前⾔ Electron简介 应⽤举例 安装 基本使⽤ 打包和部署 python⽀持 ⼼得 开发 Web技术 Log⽇志 打包 制作app的Logo asar files electron-builder electron-rebuild 不同系统 Win Mac 不同语⾔ Python ron;以及如何快速上⼿使⽤;以及如何打包和部署; 专⻔整理了如何让Electron⽀持Python以及其后的相关⼼得;总结了Electron的各种开发经验和⼼得, ⽐如开发⽅⾯的Web技术、Log⽇志等;打包⽅⾯的如何制作app的logo、asar加密压缩、files参数、 打包⼯具electron-builder、编译⼯具electron-rebuild等,以及常⻅的系统如Windows和Mac系统中常⻅ **/{appveyor.yml,.travis.yml,circle.yml}",, "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}" "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",, "0 码力 | 123 页 | 21.81 MB | 1 年前3
 BabelJS Tutorialunderstand the use of let. Example let a = 1; if (a == 1) { let a = 2; console.log(a); } console.log(a); Output 2 1 7. BabelJS — Transpile ES6 features to ES5 BabelJS console.log(a); } console.log(a); Transpiled using babel to ES5 "use strict"; var a = 1; if (a == 1) { var _a = 2; console.log(_a); } console.log(a); understand how const keyword is used. Example let a =1; if (a == 1) { const age = 10; } console.log(age); Output Uncaught ReferenceError: age is not defined at:5:13 The above output 0 码力 | 173 页 | 2.70 MB | 1 年前3
 JavaScript 正则表达式迷你书 老姚 - v1.11.1. 两种模糊匹配 如果正则只有精确匹配是没多大意义的,比如 /hello/,也只能匹配字符串中的 "hello" 这个子串。 var regex = /hello/; console.log( regex.test("hello") ); // => true 正则表达式之所以强大,是因为其能实现模糊匹配。 而模糊匹配,有两个方向上的“模糊”:横向模糊和纵向模糊。 1.1.1. 横向模糊匹配 页 测试如下: var regex = /ab{2,5}c/g; var string = "abc abbc abbbc abbbbc abbbbbc abbbbbbc"; console.log( string.match(regex) ); // => ["abbc", "abbbc", "abbbbc", "abbbbbc"] NOTE 案例中用的正则是 /ab{2,5}c/g,其中 "a1b"、"a2b"、"a3b"。 其可视化形式如下: 测试如下: var regex = /a[123]b/g; var string = "a0b a1b a2b a3b a4b"; console.log( string.match(regex) ); // => ["a1b", "a2b", "a3b"] 以上就是本章讲的主体内容,只要掌握横向和纵向模糊匹配,就能解决很大部分正则匹配问题。 接下来,我们将具体展开来说。0 码力 | 89 页 | 3.42 MB | 11 月前3
 JavaScript 正则表达式迷你书 老姚 - v1.01.1. 两种模糊匹配 如果正则只有精确匹配是没多大意义的,比如 /hello/,也只能匹配字符串中的 "hello" 这个子串。 var regex = /hello/; console.log( regex.test("hello") ); // => true 正则表达式之所以强大,是因为其能实现模糊匹配。 而模糊匹配,有两个方向上的“模糊”:横向模糊和纵向模糊。 1.1.1. 横向模糊匹配 页 测试如下: var regex = /ab{2,5}c/g; var string = "abc abbc abbbc abbbbc abbbbbc abbbbbbc"; console.log( string.match(regex) ); // => ["abbc", "abbbc", "abbbbc", "abbbbbc"] NOTE 案例中用的正则是 /ab{2,5}c/g,其中 "a1b"、"a2b"、"a3b"。 其可视化形式如下: 测试如下: var regex = /a[123]b/g; var string = "a0b a1b a2b a3b a4b"; console.log( string.match(regex) ); // => ["a1b", "a2b", "a3b"] 以上就是本章讲的主体内容,只要掌握横向和纵向模糊匹配,就能解决很大部分正则匹配问题。 接下来,我们将具体展开来说。0 码力 | 89 页 | 3.42 MB | 11 月前3
 阮一峰 《ECMAScript 6入门》 第三版Calc { constructor() { console.log('Calc constructor'); } add(a, b) { return a + b; } } var c = new Calc(); console.log(c.add(4,5)); ECMAScript 6简介 Calc() { console.log('Calc constructor'); }; ($traceurRuntime.createClass)(Calc, {add: function(a, b) { return a + b; }}, {}); var c = new Calc(); console.log(c.add(4, 5)); return 声明的变量只在它所在的代码块有效。 for 循环的计数器,就很合适使用 let 命令。 for (let i = 0; i < 10; i++) { // ... } console.log(i); // ReferenceError: i is not defined 上面代码中,计数器 i 只在 for 循环体内有效,在循环体外引用就会报错。 下面的代码如果使用 var0 码力 | 679 页 | 2.66 MB | 1 年前3
 RxJS Tutorialimport { map } from 'rxjs/operators'; map(x => x * x)(of(1, 2, 3)).subscribe((v) => console.log(`Output is: ${v}`)); When we go to execute the above code in command prompt, using command: node let list1 = [1, 6, 15, 10, 58, 2, 40]; from(list1).max((a,b)=>a-b).subscribe(x => console.log("The Max value is "+x)); From RxJS version 5.5 onwards, we have to use pipe() to execute the operator: 'rxjs/operators'; RxJS 14 from(list1).pipe(max((a,b)=>a-b)).subscribe(x => console.log("The Max value is "+x)); Operators Renamed During restructuring of the packages some of the operators0 码力 | 106 页 | 1.56 MB | 1 年前3
共 1000 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 100
 













