后台执行npm run watch-poll 你可以在执行命令的后面接一个&命令就会在后台运行了。完整命令:npm run watch-poll & 如果已经直接执行了npm run watch-poll,可以直接按ctrl + z,将程序挂到后台,然后会看到一个任务号,如:[1]+ Stopped... ...
分类:
Web程序 时间:
2017-11-13 18:27:26
阅读次数:
208
背景 关闭 WinForm 应用出现 "has stopped working" 错误。 Windows 日志 Faulting application name: PcClient.exe, version: 1.0.0.0, time stamp: 0x5a076b99Faulting modu ...
Racher相对于k8s还有swarm啥的各有各的好处,没有深入用过,今天把部署和简单使用写下 首先是部署rancher server,一句命令搞定 docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable 会 ...
分类:
其他好文 时间:
2017-10-31 17:40:01
阅读次数:
277
Activity从一种状态转变到另一种状态时会触发一些事件,执行一些回调方法来通知状态的变化,这就是Activity的生命周期。 ...
分类:
移动开发 时间:
2017-10-13 12:45:15
阅读次数:
287
实验目标 控制CPU分配 控制CPU使用率 控制内存分配 安装配置工具 创建我们的cgroup组my1 安装测试工具 matho-primes 测试,可以看到下面的matho-primes 进程使用了第一个cpu,50%的资源 Cgroup子系统 blkio -- 这个子系统为块设备设定输入/输出限 ...
分类:
其他好文 时间:
2017-10-12 15:45:33
阅读次数:
633
本节内容 python GIL全局解释器锁 线程 进程 Python GIL(Global Interpreter Lock) In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple nat ...
分类:
编程语言 时间:
2017-10-06 16:24:40
阅读次数:
241
启动容器 启动容器有两种方式,一种是基于镜像新建一个容器并启动,另外一个是将在终止状态(stopped)的容器重新启动。 因为 Docker 的容器实在太轻量级了,很多时候用户都是随时删除和新创建容器。 新建并启动 所需要的命令主要为 docker run。 例如,下面的命令输出一个 “Hello ...
分类:
其他好文 时间:
2017-10-05 16:11:15
阅读次数:
126
typing speed (11words/ seconds) our vicar ia always rising money for one cause or another, but he has never managed to get enough money to have the ch ...
分类:
其他好文 时间:
2017-09-27 10:07:26
阅读次数:
207
two approaches scala.io.Source 1 . In Scala shell scripts, where the JVM is started and stopped in a relatively short period of time, it may not matte ...
分类:
其他好文 时间:
2017-09-23 17:24:31
阅读次数:
238
1.正常执行scp命令 2.输入ctrl + z 暂停任务 3.bg将其放入后台 4.disown -h 将这个作业忽略HUP信号 5.测试会话中断,任务继续运行不受影响 1.正常执行scp命令 从oradb30机器拷贝一个文件夹到oradb31机器:scp -r /u01/media/Disk1/ ...
分类:
系统相关 时间:
2017-09-22 22:38:30
阅读次数:
284