后台进程:screen1.在开启一个子bash窗口,关闭父bash并不影响子bash1.安装[root@oldboy~]#yuminstallscreen-y2.开启一个screen窗口,指定名称[root@oldboy~]#screen-Swget_mysql3.在screen窗口中执行任务即可4.平滑的退出screen,但不会终止screen中的任务注意:如果使用exit才算真的关闭scree
分类:
系统相关 时间:
2020-10-31 01:38:28
阅读次数:
24
一。通过CSS检测本机设备屏幕大小分配样式 1、最小尺寸分辨率1024*768(传统17寸显示器),则可以采用940px、960px、或者常用的980px作为最小宽度。 在可视区域的宽度小于 600px 的时候被应用。@media screen and (max-width: 600px) {.cl ...
分类:
移动开发 时间:
2020-10-31 01:25:31
阅读次数:
36
css 数学函数 min max calc :root{ --box:120px } .box { /*width: var(--box); 120px*/ /*width: min(var(--box),100px); 100px*/ /*width: max(var(--box), 100px) ...
分类:
编程语言 时间:
2020-10-30 12:16:45
阅读次数:
18
You are given a sorted unique integer array nums. Return the smallest sorted list of ranges that cover all the numbers in the array exactly. That is, ...
分类:
其他好文 时间:
2020-10-30 11:55:20
阅读次数:
20
SVG:可伸缩的矢量图形 SVG本身是基于 XML 的一种独立的数据格式,用于声明式的 2D 矢量图形。但是,它也可以嵌入到 html 文档中,这是所有主流浏览器都支持的。 让我们考虑一个例子,如何使用 SVG 绘制一个可调整大小的圆: <html style="height: 100%; widt ...
分类:
Web程序 时间:
2020-10-18 17:03:42
阅读次数:
41
History 对象是 window 对象的一部分,可通过 window.history 属性对其进行访问。 属性说明 length 返回历史列表中的网址数 History 对象方法 方法说明 back() 加载 history 列表中的前一个 URL forward() 加载 history 列表 ...
分类:
其他好文 时间:
2020-10-16 11:04:07
阅读次数:
19
在本节课中,您将学习关键字(Python中的保留字)和标识符(变量,函数等的名称) Python关键字 关键字是Python中的保留字。 我们不能将关键字用作变量名,函数名或任何其他标识符。它们用于定义Python语言的语法和结构。 在Python中,关键字区分大小写。 Python 3.7中有33 ...
分类:
编程语言 时间:
2020-10-07 21:06:39
阅读次数:
28
常用的DOS命令 查看当前目录下的全部文件:dir 切换目录:cd(change directory) 返回上一级目录:cd.. 清理屏幕:cls(clear screen) 退出终端:exit 查看电脑ip:ipconfig 打开应用: 打开计算器:calc 打开画图:mspaint 打开txt: ...
分类:
其他好文 时间:
2020-09-18 00:32:11
阅读次数:
36
题目如下: Given an array nums, you are allowed to choose one element of nums and change it by any value in one move. Return the minimum difference between ...
分类:
其他好文 时间:
2020-09-17 22:48:12
阅读次数:
35
1.安装 为防止掉线等情况,建议使用screen,可以先执行:screen -S lnmp 命令后 wget http://soft.vpser.net/lnmp/lnmp1.7.tar.gz -cO lnmp1.7.tar.gz && tar zxf lnmp1.7.tar.gz && cd ln ...
分类:
其他好文 时间:
2020-09-17 21:44:05
阅读次数:
40