OBJ=test.o zhan.o duilie.o ditu.o welcome.o init.o menu.o time.o user.o data.o test:$(OBJ) zhan.h duilie.h ditu.h welcome.h init.h menu.h time.h user. ...
分类:
数据库 时间:
2020-06-07 19:44:07
阅读次数:
79
# coding:utf-8 from shutil import make_archive import os import time # 指定需要监测的文件夹 image_path = './image' # 指定压缩包存放的文件夹 output_path = './output' # 记录生成 ...
分类:
编程语言 时间:
2020-06-07 19:17:02
阅读次数:
78
规则是对列的约束或用户定义数据类型的约束,将规则定义在绑定的列或用户定义字段的类型上。 当用户向列或字段插入、修改数据时,新数据必须符合规则的要求。 绑定规则使用系统存储过程 sp_bindrule 其语法如下: sp_bindrule 'rule', 'object_name' [ ,'futur ...
分类:
其他好文 时间:
2020-06-07 16:27:35
阅读次数:
106
`package main import ( "fmt" "strconv" "time" ) //生产者结构体 type Productor struct var Chquit = make(chan interface, 2) var Bag = false func main() { fmt. ...
分类:
其他好文 时间:
2020-06-07 15:07:34
阅读次数:
65
`package main import ( "fmt" "sync" "time" ) func ReadDB(wg *sync.WaitGroup, Chsignsl chan int, rm *sync.RWMutex) { Chsignsl ← 123 rm.RLock() fmt.Prin ...
分类:
其他好文 时间:
2020-06-07 14:40:03
阅读次数:
55
开发环境说明 linux系统:ubuntu18.04 libevent版本:2.1.8 1 安装依赖环境 apt-get install perl g++ make automake libtool unzip2 zlib编译 tar -xvf zlib-1.2.11.tar.gz cd zlib- ...
分类:
其他好文 时间:
2020-06-07 13:09:50
阅读次数:
77
wget下载:http://nginx.org/download/nginx-1.6.2.tar.gz 进行安装:tar -zxvf nginx-1.6.2.tar.gz -C /usr/local/ 下载所需要的依赖库文件: yum install pcre yum install pcre-de ...
分类:
其他好文 时间:
2020-06-07 11:03:09
阅读次数:
60
package main import "fmt" func main() { // make函数 makeSlice() // 创建切片 makeMap() // 创建集合 makeChan() // 创建channel } func makeSlice(){ sl := make([]strin ...
分类:
其他好文 时间:
2020-06-06 20:08:38
阅读次数:
224
package main import ( "time" "fmt" ) func main() { c := make(chan string) go func() { time.Sleep(1 * time.Second) c <- "hello from chan" // 数据发送到chann ...
分类:
其他好文 时间:
2020-06-06 18:45:24
阅读次数:
51
FROM 5ceee9310a16RUN echo "start install redis ..."RUN cd /tmpRUN wget http://download.redis.io/releases/redis-4.0.9.tar.gz \&& tar -zxvf redis-4.0.9. ...
分类:
其他好文 时间:
2020-06-06 13:06:46
阅读次数:
83