07 2015 档案

工具--- base64网页解码
摘要:http://base64.xpcha.com/ 阅读全文

posted @ 2015-07-29 23:27 雨渐渐 阅读(282) 评论(0) 推荐(0) 编辑

python 链接hive
摘要:http://blog.csdn.net/xubcing/article/details/8350287http://www.centoscn.com/python/2014/0921/3801.html 阅读全文

posted @ 2015-07-27 13:49 雨渐渐 阅读(200) 评论(0) 推荐(0) 编辑

shell 学习基地
摘要:http://blog.csdn.net/column/details/shell-daily-study.html?&page=2 阅读全文

posted @ 2015-07-26 07:02 雨渐渐 阅读(144) 评论(0) 推荐(0) 编辑

c++ 获取本地ip地址
摘要:最终版本:采用指针传参数,不使用别名形式。#include #include //gethostbyname#include //ntohl#include using namespace std;int get_local_ip(int *ip) { char hostname[12... 阅读全文

posted @ 2015-07-24 16:04 雨渐渐 阅读(24636) 评论(0) 推荐(1) 编辑

c++ 如何实现,readonly
摘要:需求:我要实现一个常量字段,只能赋值一次,赋值后不容许更改。类似于c#的readonly或者java final#include class A{public:A(int machine_id):_machine_id(machine_id) { std::cout << "构造函数" << std... 阅读全文

posted @ 2015-07-24 11:58 雨渐渐 阅读(1070) 评论(0) 推荐(0) 编辑

c++ 语法
摘要:百度知道手把手的字符串操作啊http://jingyan.baidu.com/article/20b68a8854f919796dec6265.html 阅读全文

posted @ 2015-07-24 09:58 雨渐渐 阅读(103) 评论(0) 推荐(0) 编辑

c++ 信号量
摘要:最近写了个c++项目,发现 ctrl + c 退出程序可以出发析构,但kill pid,则不会触发析构,导致现场数据丢失。解决方案:同时捕捉以下信号。 signal(SIGINT, &完成命名空间::sigint_handler); //之前只捕获这一个信号。 signal(SIGP... 阅读全文

posted @ 2015-07-23 17:59 雨渐渐 阅读(1127) 评论(0) 推荐(0) 编辑

vim插件介绍
摘要:代码补全http://blog.sina.com.cn/s/blog_a6559d920101acv3.html这个牛逼。**********************************************作者:Caesar日期:2012-11-07修改历史:2013-05-18:增加vim... 阅读全文

posted @ 2015-07-23 17:39 雨渐渐 阅读(311) 评论(0) 推荐(0) 编辑

c++ memset 函数 及 坑
摘要:#include #include typedef struct ss{ int num; int dir[5][3];}tent;tent a;int main(){ memset(&a, 0, sizeof(a)); return 0;}这里有个坑,sizeof... 阅读全文

posted @ 2015-07-20 20:48 雨渐渐 阅读(666) 评论(0) 推荐(0) 编辑

stdint.h 文件 int8_t uint8_t int16_t uint16_t
摘要:http://blog.chinaunix.net/uid-26588712-id-3068151.htmlc++ 数据类型 按照posix标准,一般整型对应的*_t类型为:1字节 uint8_t2字节 uint16_t4字节 uint32_t8字节 uint64_t/* Copyright (C)... 阅读全文

posted @ 2015-07-10 15:03 雨渐渐 阅读(701) 评论(0) 推荐(0) 编辑

python 安装 easy_intall 和 pip python无root权限安装
摘要:http://www.cnblogs.com/haython/p/3970426.htmleasy_install和pip都是用来下载安装Python一个公共资源库PyPI的相关资源包的首先安装easy_install下载地址:https://pypi.python.org/pypi/ez_setu... 阅读全文

posted @ 2015-07-10 13:48 雨渐渐 阅读(3969) 评论(0) 推荐(0) 编辑

c++ 函数库查询
摘要:http://www.cplusplus.com/reference/algorithm/http://www.enet.com.cn/eschool/video/c++/ 阅读全文

posted @ 2015-07-09 19:01 雨渐渐 阅读(1317) 评论(0) 推荐(0) 编辑

c++ 函数返回指针 及用法
摘要:#include#includeusing namespace std;string fun1(int a){string str = "a";return str;}char* fun2(int a){char *p = new char[2];p[0] = 'a';p[1] = '\0';ret... 阅读全文

posted @ 2015-07-09 16:56 雨渐渐 阅读(264) 评论(0) 推荐(0) 编辑

c++ 哪些自定义的数据类型
摘要:http://www.cnblogs.com/ShaneZhang/archive/2013/06/21/3147648.html这些数据类型是 C99 中定义的,具体定义在:/usr/include/stdint.h ISO C99: 7.18 Integer types 1 /* There... 阅读全文

posted @ 2015-07-02 16:24 雨渐渐 阅读(365) 评论(0) 推荐(0) 编辑

c++ uuid生成法则
摘要:http://www.jb51.net/LINUXjishu/39614.htmlCentOS #include 找不到文件解决方法:sudo yum install e2fsprogs-develsudo yum install uuid-develsudo yum install libuui... 阅读全文

posted @ 2015-07-01 23:05 雨渐渐 阅读(5957) 评论(0) 推荐(0) 编辑

导航