netstat netstat -a ┌─[root@nedrain]─[~] └──? $netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Forei ...
分类:
Web程序 时间:
2020-06-16 20:32:39
阅读次数:
68
可以执行下面命令 php -r "readfile('https://getcomposer.org/installer');" | php This will install composer to the current directory so that you can use php com ...
分类:
其他好文 时间:
2020-06-16 18:19:03
阅读次数:
134
1.保持单元测试小巧、快速 理论上,任何代码提交前都应该完整跑一遍所有测试套件。保持测试代码执行符合预期,这样能够缩短迭代开发周期。 2.单元测试应该是全自动/非交互式的 测试套件通常是定期执行的,执行过程必须完全自动化才有意义。输出结果需要人工检查的测试不是一个好的单元测试。 3.让单元测试很容易 ...
分类:
其他好文 时间:
2020-06-15 21:18:24
阅读次数:
64
pwd: pwd(Print Working Directory) 显示当前目录 -L, --logical 显示当前目录 -P, --physical 无选项 默认使用-P 显示当前目录的实际物理地址 --help 帮助 --version 版本 ls命令; 选项: -l #以长格式形式显示文件及 ...
分类:
系统相关 时间:
2020-06-15 14:23:31
阅读次数:
120
--查找数据库已建好的目录 :DATA_PUMP_DIRselect * from dba_directories; 导出expdp--directory=DATA_PUMP_DIR,导出文件存储的目录-- dumpfile=C5_A2_1.dmp,导出的文件名--TABLES=djxx,tjc01 ...
分类:
数据库 时间:
2020-06-15 14:13:55
阅读次数:
72
1. xxx.dts 中有如下驱动的资源描述: 1 imx6-led{ 2 compatible = "imx6,led"; 3 led-green = <&gpio1 8 GPIO_ACTIVE_LOW>; 4 status = "okay"; 5 }; GPIO_ACTIVE_LOW 表示低电平 ...
分类:
其他好文 时间:
2020-06-15 14:04:33
阅读次数:
110
最近发现浏览器内置对象里有个好东西,window.performance。这里面包含着浏览器性能相关的各种数据,然后其中的timing属性,就是所有阶段的用时统计,从这一点我们就可以简单的从浏览器运行时间上进行分析。 function getsec(time) { return time / 100 ...
可以先尝试用 systemctl start gitlab-runsvdir.service 如果冻结不动的话,就需要查看系统服务项了 systemctl -t target 如果系统正常的话,所有任务应该是loaded active active,如果存在inactive dead选型,意味着有些 ...
分类:
其他好文 时间:
2020-06-14 20:49:54
阅读次数:
260
伪类选择器 伪类选择器前面都有 : (冒号) 除了 hover,其他一般用于链接 link —— 对 鼠标点击之前(未被访问) hover —— 对 鼠标指针悬停 active —— 对 鼠标点击 visited —— 对 鼠标点击之后(已被访问) target —— 可用于选取当前活动的目标元素, ...
分类:
其他好文 时间:
2020-06-14 20:41:29
阅读次数:
75
Ubuntu 16, 阿里云 Emscripten # Get the emsdk repo git clone https://github.com/emscripten-core/emsdk.git # Enter that directory cd emsdk # Fetch the late ...
分类:
Web程序 时间:
2020-06-14 19:07:26
阅读次数:
150