晴空闲云 晴空闲云
3年前
JavaScript中if判断包含逗号表达式
有时会看到JavaScript中if判断里包含英文逗号",",这个是其实是逗号表达式。在if条件里,只有最后一个表达式起判断作用。请看如下示例:jsleta1,b2,c3;//if只判断最后一个表达式if(a10,b20,c3)console.log("c3");elseconsole.log("c!
Stella981 Stella981
3年前
Netty中的时间轮(v3.10.7)
在上一篇Netty中的时间轮(v3.2.5)(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODkxNjcwMA%3D%3D%26mid%3D2247484092%26idx%3D1%26sn%3D2aca7c
Wesley13 Wesley13
3年前
oracle中的greatest 函数和 least函数
oracle中的greatest函数和least函数原文地址:https://blog.csdn.net/sinat\_32023305/article/details/78778596greatest(max(one),max(two),max(three))求多列的最大
Wesley13 Wesley13
3年前
LINUX系统下APACHE中的CGI应用
该实验环境是在APACHE的配置内容的基础上实现的!1.安装软件:yuminstall php y安装完成后,可以在/etc/httpd/conf.d/目录下查看,有php.conf。2.在/var/www/html/中编写cgi的目录和文件mkdir /var/www/html/cgivim /va
Stella981 Stella981
3年前
Service Mesh 中的可观察性实践
!image.png(https://cdn.nlark.com/yuque/0/2020/png/226702/1590558258356f3e6ea43b18a45ee94c79a5e3f935f9c.png)ServiceMeshVirtualMeetup是ServiceMesher社区和CNCF联合主办的线上系列直播
Stella981 Stella981
3年前
Spring MVC 中的基于注解的 Controller
SpringMVC中的基于注解的Controller@Controller(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.iteye.com%2Fblogs%2Ftag%2F%40Controller)基于注解的Controller(https://ww
Stella981 Stella981
3年前
IOS开发中NSRunloop跟NSTimer的问题
我们在使用NSTimer的时候,可能会接触到runloop的概念,下面是一个简单的例子:\(void)viewDidLoad{   \superviewDidLoad\;   //Doanyadditionalsetupafterloadingtheview,typicallyfromanib.
Stella981 Stella981
3年前
ConnectionPool实现redis在python中的连接
这篇文章主要介绍了Python与Redis的连接教程,Redis是一个高性能的基于内存的数据库,需要的朋友可以参考下今天在写zabbixstormjob监控脚本的时候用到了python的redis模块,之前也有用过,但是没有过多的了解,今天看了下相关的api和源码,看到有ConnectionPool的实现,这里简单说下。在ConnectionPoo
Stella981 Stella981
3年前
CorelDraw2020中文版
教程1、在本站下载解压获得coreldraw2020完整64位零售直装版;!CorelDraw2020中文版(https://s4.51cto.com/images/blog/202005/22/1b350e4e9ea469422edc1142cf8d3b31.png?xossprocessimage/watermark,size_16
Easter79 Easter79
3年前
SpringBoot中的异常处理与参数校验
兄弟们好,这次来跟老铁交流两个问题,异常和参数校验,在说参数校验之前我们先来说异常处理吧,因为后面参数的校验会牵扯到异常处理这块的内容。异常处理说到异常处理,我不知道大家有没有写过或者遇到过如下的写法。publicvoidsaveUser(){try{//所有的业务内容,目测几百