1. 内置函数 awk的内置函数有算术、字符串、时间、位操作和其它杂项的函数。 1.1 算术函数 atan2(y,x) 返回弧度的反正切(y/x) cos(expr) 返回expr的余弦(以弧度形式) exp(expr) 此函数用作找到指数值。 int(expr) 取整 log(expr) 计算自然 ...
分类:
其他好文 时间:
2019-11-28 13:47:05
阅读次数:
82
使用Dockerfile创建ssh服务的镜像02 1:创建工作目录 一个镜像的所有文件都放这个目录下 2:编写run.sh脚本和authorized_keys文件 3:编写Dockerfile 4:创建镜像 工作原理:docker build ...
分类:
其他好文 时间:
2019-11-28 01:17:37
阅读次数:
70
磁盘性能指标--IOPS IOPS (Input/Output Per Second)即每秒的输入输出量(或读写次数),是衡量磁盘性能的主要指标之一。IOPS是指单位时间内系统能处理的I/O请求数量,一般以每秒处理的I/O请求数量为单位,I/O请求通常为读或写数据操作请求。 随机读写频繁的应用,如小 ...
分类:
其他好文 时间:
2019-11-27 00:38:42
阅读次数:
97
Deferred可以添加多个回调函数,每个回调函数的结果作为下一个回调函数的参数 代码实例(可在pycharm中运行,摘自 https://twistedmatrix.com/documents/current/core/howto/defer.html) from twisted.internet ...
分类:
其他好文 时间:
2019-11-25 15:12:57
阅读次数:
72
pipeline.go pipeline_test.go ...
分类:
编程语言 时间:
2019-11-24 11:47:51
阅读次数:
57
1:images全局变量的结构体类型如下 typedef struct bootm_headers { /* * Legacy os image header, if it is a multi component image * then boot_get_ramdisk() and get_fd ...
分类:
其他好文 时间:
2019-11-23 23:45:58
阅读次数:
132
| First Header | Second Header | | | | | 长长长长长长长长长长长长长长长长长长长长长长长长 | 长长长长长长长长长长长长长长长长长长长长 | | 长长长长长长长长长长长长长长长长长长长长长长长长 | 长长长长长长长长长长长长长长长长长长长长 | | 长长长长长 ...
分类:
其他好文 时间:
2019-11-23 21:35:02
阅读次数:
45
main函数的堆栈的大小默认为1mb 如果把数组int x[1000][1000]定义在main函数里 则int为4byte,8bit为1byte,1024byte为1kb,1024kb为1mb 4*1000*1000/1024/1024=3.814697265625mb大于1mb, 所以定义在ma ...
分类:
编程语言 时间:
2019-11-21 13:41:12
阅读次数:
99
Write a SQL query to get the second highest salary from the Employee table. + + + | Id | Salary | + + + | 1 | 100 | | 2 | 200 | | 3 | 300 | + + + For ...
分类:
其他好文 时间:
2019-11-21 13:36:38
阅读次数:
59