分享一些我常用的代码优化技巧,希望对你有帮助。 1. 多表达式多 if 判断 我们可以在数组中存储多个值,并且可以使用数组include方法。 1 // 长 2 if (x 'abc' || x 'def' || x 'ghi' || x 'jkl') { //logic} 3 // 短 4 if ...
分类:
编程语言 时间:
2021-02-05 10:39:53
阅读次数:
0
结构分析 码上行动 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>页面结构分析</title> </head> <body> <header> <h2>网页头部</h2> </header> <secion ...
分类:
Web程序 时间:
2021-02-05 10:35:58
阅读次数:
0
原文链接 https://www.cnblogs.com/zzp28/articles/1742661.html https://www.cnblogs.com/zzp28/articles/1742665.html 详细介绍一下 Smoke Testing(冒烟测试) 近来看到和听到几个关于 Sm ...
分类:
其他好文 时间:
2021-02-05 10:35:17
阅读次数:
0
if OBJECT_ID(N'tTriage',N'U') is not null print '表存在!' else print '表不存在!' --建表 看看我 ...
分类:
数据库 时间:
2021-02-05 10:35:00
阅读次数:
0
https://www.cnblogs.com/chenjfblog/p/7593509.html https://bbs.csdn.net/topics/391814929?page=1 ...
分类:
其他好文 时间:
2021-02-04 12:26:16
阅读次数:
0
模型正则化 Regularization 岭回归实现 import numpy as np import matplotlib.pyplot as plt np.random.seed(42) x = np.random.uniform(-3.0, 3.0, size=100) X = x.resh ...
分类:
其他好文 时间:
2021-02-04 12:23:51
阅读次数:
0
RestController和Controller的区别 @RestController = @ResponseBody + @Controller 如果只是使用@RestController注解Controller,则Controller中的方法无法返回jsp页面,或者html,配置的视图解析器 ...
分类:
编程语言 时间:
2021-02-04 12:13:15
阅读次数:
0
数值扩展 //0. Number.EPSILON 是 JavaScript 表示的最小精度 EPSILON 属性的值接近于 2.2204460492503130808472633361816E-16 function equal(a, b){ if(Math.abs(a-b) < Number.EP ...
分类:
其他好文 时间:
2021-02-04 12:06:38
阅读次数:
0
Python Selenium库 https://blog.csdn.net/weixin_36279318/article/details/79475388 Python playwright库 https://github.com/microsoft/playwright-python http ...
分类:
其他好文 时间:
2021-02-04 12:05:35
阅读次数:
0
https://www.cnblogs.com/kristin/p/8445141.html 抓不到的原因: 1 协议 fiddler并不支持全部协议,目前已知的有http2、tcp、udp、websocket等,如果应用走了以上协议,那么fiddler肯定是抓不到的。 http2:因为fiddle ...
分类:
移动开发 时间:
2021-02-04 12:02:15
阅读次数:
0