公司本身是做监控的,在全国各地都有节点,节点任务量不大,闲着也是闲着索性自制了cdn,代理加速公司的网站。1、软件下载、安装:[root@dev2-60~]#cd/usr/local/src/
[root@dev2-60~]#wgethttp://www.squid-cache.org/Versions/v3/3.1/squid-3.1.10.tar.gz##其他版本:http://..
分类:
其他好文 时间:
2014-12-29 18:37:13
阅读次数:
176
Originally posted on:http://ph0b.com/android-studio-gradle-and-ndk-integration/With the recent changes (release 0.7.3 around Dec 27), thenew Android B...
分类:
移动开发 时间:
2014-12-26 14:28:37
阅读次数:
322
configure the aws cloudfront for CDN
分类:
其他好文 时间:
2014-12-26 11:01:07
阅读次数:
165
脚本语句按照截图填写
DECLARE @dbname NVARCHAR(20)
SET @dbname=N'aa'--你需要备份的库名
--定义备份时间,精确到秒
DECLARE @date NVARCHAR(64)
SELECT @date = SUBSTRING(CONVERT(VARCHAR(20), GETDATE(), 121), 1, 4) + '_'...
分类:
数据库 时间:
2014-12-25 11:23:49
阅读次数:
176
【资料整理】下载和分析cdn节点汇总日志#!/bin/bash
#filename:log_cdn.sh
#
#2014/11/20
#
#mkdir-p/home/log/cdn/{log,stat}
action=$1
dt=$2
[-z${dt}]&&dt=$(date-d"yesterday"+"%Y-%m-%d")
location="ftp.xxcdn.com"
ftpsvr="ftp://${location}"
d_base="/home/..
分类:
其他好文 时间:
2014-12-25 06:45:48
阅读次数:
160
【cdn节点状态简单查看】cdn_lookup.sh#!/bin/bash
#
#2014/11/4
action=$1
[-z$2]&&hostname="example.com"||hostname=$2
functionusage(){
cat<<_EOF
usage:$0[hh|vv|t1|t2]
hh:轮训CDN的IP访问指定域名获取header
vv:同上,显示详细内容
t1[hostname]:使..
分类:
其他好文 时间:
2014-12-24 18:35:01
阅读次数:
211
- embree integration- remove polymesh intersection refinement- remove geometry instancing- remove compressed normals- remove path differentials- remov...
分类:
其他好文 时间:
2014-12-24 13:19:21
阅读次数:
142
在Android Studio上将项目导入Github上:
1. 创建一个Project,点击VCS -> Enable Version Control Integration...
2.选择Git,点击OK
3. VCS -> Import into Version Control -> Share Project on Github
...
分类:
移动开发 时间:
2014-12-24 00:02:18
阅读次数:
304