华清直播:http://www.makeru.com.cn/live/5413_1937.html 深度理解select、poll和epoll Linux IO模式及 select、poll、epoll详解 ...
分类:
其他好文 时间:
2020-01-28 14:16:32
阅读次数:
66
编写安装nginx的shell脚本 #!/bin/bash yum install -y gcc gcc-c++ make pcre pcre-devel zlib zlib-devel cd /usr/local/nginx-1.16.0 ./configure --prefix=/usr/loc ...
分类:
其他好文 时间:
2020-01-28 12:11:39
阅读次数:
839
1. 关闭管道 2. 遍历 3. 代码 package main import ( "fmt" ) func main() { intChan := make(chan int, 3) intChan<- 100 intChan<- 200 close(intChan) //这是不能够再写入数到ch ...
分类:
其他好文 时间:
2020-01-27 09:35:17
阅读次数:
60
package main import ( "fmt" ) func main() { //管道可以声明为只读或者只写 //1. 在默认情况下下,管道是双向 //var chan1 chan int //可读可写 //2 声明为只写 var chan2 chan<- int chan2 = make ...
分类:
其他好文 时间:
2020-01-27 09:20:40
阅读次数:
99
6.1 pipelines 与复合estimators 6.1.1 pipeline 6.1.1.1 Usage 6.1.1.1.1 创建 Pipeline()或 make_pipeline 6.1.1.1.2 访问步骤 pipe.steps[0] 6.1.1.1.3 嵌套参数 6.3 数据处理 6 ...
分类:
其他好文 时间:
2020-01-26 22:31:34
阅读次数:
78
1.安装Redis Redis安装 1.2安装C语言需要的GCC环境 执行yum install gcc-c++ 进入目录执行make命令对源码进行编译 编译完成执行make install PREFIX=/tools/redis命令指定安装 进入bin目录查看脚本命令 redis-cli启动red ...
分类:
其他好文 时间:
2020-01-26 00:58:20
阅读次数:
93
os 就是operation system os.name Python 运行所在的环境: posix,nt,java os.environ os.walk() os.listdir() “list directories”,列出(当前)目录下的全部路径(及文件) os.mkdir() “make ...
分类:
编程语言 时间:
2020-01-25 23:29:18
阅读次数:
84
布局文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android ...
分类:
移动开发 时间:
2020-01-25 22:00:31
阅读次数:
116
阅读目录简介规则语法我写的管理大型项目的makefile内容推荐引用本地址 简介 Makefile 是和 make 命令一起配合使用的,很多大型项目的编译都是通过 Makefile 来组织的,。 我建立工程的方法有以下三点: 1.makefile: 优点:使用非常广泛,通用性强,可跨平台。 缺点:语 ...
分类:
其他好文 时间:
2020-01-25 22:00:10
阅读次数:
93
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b ...
分类:
其他好文 时间:
2020-01-25 16:43:03
阅读次数:
104