监听 js 动态 修改 input value 事件 方案1 function customInputSetter(){ var descriptor = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value"); va ...
分类:
编程语言 时间:
2020-12-02 12:06:03
阅读次数:
6
原创宋宝华Linux阅码场5月6日本文原文地址:https://devarea.com/understanding-linux-kernel-preemption/#.XrKLcfnx05k作者:LiranB.H译者:宋宝华当配置Linux内核的时候,我们可以选择一些参数,这些参数能影响系统的行为。你可以用不同的优先级、调度类和抢占模型来工作。正确地选择这些参数是非常重要的。本文将论述不同的抢占模
分类:
系统相关 时间:
2020-12-02 11:57:33
阅读次数:
10
shell是弱类型语言如何查看linux支持哪些shell:cat/etc/shells
分类:
系统相关 时间:
2020-12-02 11:57:06
阅读次数:
7
code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
HTML: css(sass): 复制代码 .info &:hover::after { content: attr(data-title); display: inline-block; width: 70px; height: 22px; border: 1px solid #0088d8; f ...
分类:
Web程序 时间:
2020-12-01 12:24:49
阅读次数:
10
在做重大决策时一定要慎之又慎。本科的时候也不是top,研究生以目前的形势也难成top。看着本科的朋友们现在很多去实习,还有转专业的做自己喜欢的东西,感觉大家都有清晰明确的目标,在自己既定的道路上前行。研究生的社交圈真的太受限了,很容易被少数人影响,看不到大的趋势。当时的选择导致现在要啥没啥,专业能力 ...
分类:
其他好文 时间:
2020-12-01 12:23:29
阅读次数:
6
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
linux常用的监控命令 1、top 显示所有正在运行而且处于活动状态的实时进程, 而且会定期更新显示结果;它显示了CPU使用率,内存使用率,交换内存使用大小,调整缓存使用大小,缓冲区使用大小,进程PID, 使用的命令等信息。 2. vmstat 一般是通过两个数字参数来完成的,第一个参数是采样时间 ...
分类:
系统相关 时间:
2020-12-01 12:04:26
阅读次数:
13
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a ...
分类:
系统相关 时间:
2020-11-30 16:14:46
阅读次数:
16
code macname@localhost Desktop % echo `uname -a` Darwin localhost 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141 ...
分类:
系统相关 时间:
2020-11-30 16:12:29
阅读次数:
12