- 博客(5)
- 资源 (20)
- 收藏
- 关注
原创 记一次随手
db.unicorns.aggregate([{$group:{_id:{item:"$item", description:"$description"}, count:{$addToSet:"$colors"}}}, {$project:{count:{$size:"$count"}}}])
2017-03-16 22:01:36 297
原创 linux下自用简单go app编译脚本
#!/bin/bash #默认$GOROOT 已经存在,并为/usr/local/go/ #log文件目录 LOG_DIR=./log #DAYS=15代表删除15天前的log文件 DAYS=15 #删除15天前的log文件 find $LOG_DIR/ -mtime +$DAYS -name "*.txt" -delete echo "delete log $DAYS ago
2017-03-07 19:38:55 2066
原创 php centos7.2安装
PHP源码安装流程 1.下载源码 http://cn.php.net/downloads.php 2.进入源码包所在路径下,解压安装包到/usr/local/src $tar -xzvf php-7.0.4.tar.gz 3.进入解压的php文件夹下/usr/local/src/php-7.0.4 安装依赖(视实际需要而定) $yum install libxml2 libxml2-
2017-03-07 18:26:15 773
原创 nginx centos7.2安装
nginx安装流程 1, 下载nginx源码安ll装包 http://nginx.org/ 2, 必要软件准备 检查安装安装编译工具及库文件: $yum install make zlib zlib-devel gcc gcc-c++ libtool openssl openssl-devel pcre pcre-devel( krb5-devel, libs
2017-03-07 16:49:36 367
转载 Mongodb中FAQ整理
一、基础 1、mongodb是什么类型的数据库? mongodb是一个基于document的NOSQL数据库,每条数据的结构为BSON形式。mongodb不能支持join和事务,支持索引(组合索引、唯一索引等)和丰富的查询条件,单条document的写操作是原子的。mongodb使用“replica set”架构模式来提高数据的可用性,避免数据丢失和自动failover机制;其
2017-03-01 20:54:53 379
llvm-project-llvmorg-13.0.0-centos79-gcc11.1
2023-10-31
usql-0.7.0-linux-amd64.tar.bz2
2018-06-22
usql-0.7.0-windows-amd64 (1).zip
2018-06-22
myhttpd_muduo
2018-01-14
令牌桶算法c实现
2017-11-29
everything-curl http libcurl
2017-11-07
rar 64位最新版
2016-09-15
rarlinux下让人解压
2016-09-14
Linux Shell脚本攻略(第2版)
2016-08-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人