php中,`++$a` 和 `$a = $a + 1` 是一样的吗?
php中,恩,你没看错,下面的代码是可以正常执行的。
js中,将数字字符串转换成数字,parseInt不是很好的办法,因为当你忘了传第二个参数的时候,会出现一些问题
opacity < 1的元素会显示在最上层,所以有的时候使用 opacity: .99; 可以方便的解决很多问题
css中,position:absolute, relative;元素会晚于正常文档流元素的渲染,所以显示的层级会比较高
PHP的浮点数运算一直存在问题.
当你还在使用grep搜索代码的时候,有个叫ack的工具,当你在使用ack的时候,有个更快的ag工具,差不多有34倍之快哦
fopen以append模式打开文件时,fwrite本身就是原子操作(除非string大于系统的block size,一般为4k),不需要使用flock
如何找出僵尸进程
php 中,echo 和 print 都是语言结构而不是函数,所以最好不要使用函数的调用习惯
python 中,应当避免参数默认值使用list或dict等,因为默认参数会在函数定义的时候就被初始化。
shell 中,sudo 的运行机制:sudo is fork'ing a child process and exec'ing the perl interpreter. So sudo is one process. It is the parent pid (PPID) of the perl interpreter running your script. perl is the second process.

联系我 - 工具首页
Copyright © 2011-2020 iteam. Current version is 2.64.2. UTC+08:00, 2020-04-21 08:48
浙ICP备14020137号 $访客地图$