摘要: 在centos6.5下面: ssh-keygen -t rsa -b 2048Generating public/private rsa key pair.Enter file in which to save the key (/data/kris/.ssh/id_rsa):Could not c 阅读全文
posted @ 2016-11-22 07:55 wkccs 阅读(4319) 评论(0) 推荐(0) 编辑
摘要: 1.握手协议 客户端的首行遵照 Request-Line 格式,例:GET /chat HTTP/1.1 来自服务器的首行遵照 Status-Line 格式,例:HTTP/1.1 101 Switching Protocol /* 101以外的任何状态码表示 WebSocket 握手没有完成且 HT 阅读全文
posted @ 2016-07-21 10:51 wkccs 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1.下载 镜像站点:https://gcc.gnu.org/mirrors.html 速度还不错的:ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/ 2.解压安装依赖库 ./contrib/download_prer 阅读全文
posted @ 2016-07-12 16:24 wkccs 阅读(11585) 评论(0) 推荐(0) 编辑
摘要: 1.安装nodejs yum install -y nodejs 2.安装npm yum install -y npm 3.安装ws npm install ws 4.设置环境路径 export NODE_PATH=/usr/local/node_modules 5.示例server.js 执行no 阅读全文
posted @ 2016-07-08 15:10 wkccs 阅读(3884) 评论(0) 推荐(0) 编辑
摘要: 1.查看数据库大小 use information_schema;select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from TABLES where table_schema='dbname'; 2.导出数据库数据 my 阅读全文
posted @ 2016-07-08 14:21 wkccs 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1. 移动设备优先 适配和初始缩放:<meta name="viewport" content="width=device-width, initial-scale=1"> 2. 容器(不支持嵌套) .container:固定宽度 .container-fluid:可变宽度 3.网格系统(每行分12 阅读全文
posted @ 2016-06-08 18:31 wkccs 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 发布类型 appstore: 用于appstore发布,所有设备可使用 adhoc: 注册UUID的设备可以使用 in house: 仅限企业内部使用,不能通过appstore分发,不可公开分发 帐号类型 个人帐号: 价格:99$/年 AppStore上架:是 协作人数:1人 最大UUID支持数:1 阅读全文
posted @ 2016-04-01 15:56 wkccs 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;string BinToHex(const string &strBin, bool bIsUpper = false){ string strHex; strHex.resize(strBin... 阅读全文
posted @ 2015-06-27 09:42 wkccs 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: 1. 安装依赖库yum -y install gcc automake autoconf libtool makeyum -y install gcc-c++ glibcyum -y install libmcrypt-devel mhash-devel libxslt-devel \libjpeg... 阅读全文
posted @ 2015-05-04 17:16 wkccs 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 打包解包 包大小耗时(1万次/毫秒)包大小耗时(1万次/毫秒)序号TXProtoTXProtoTXProtoTXProto168935843259l1328l58054950252l1049l268935843259l1329l58054952250l1050l357934943... 阅读全文
posted @ 2014-12-09 11:27 wkccs 阅读(1165) 评论(0) 推荐(0) 编辑