摘要: 第31期 读反心灵鸡汤 认清自己擦,为什么不行???第31期 读反心灵鸡汤 认清自己 阅读全文
posted @ 2015-04-23 13:29 fengbohello 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 1、使用SSH Secure Shell Client百度网盘 下载地址http://pan.baidu.com/s/1kTmp00J2、使用pscp 百度网盘地址:http://pan.baidu.com/s/1gd8gswV 2.1)windows上的操作 2.1.1)win+R打开一... 阅读全文
posted @ 2015-04-17 15:12 fengbohello 阅读(378) 评论(0) 推荐(0) 编辑
摘要: ZeroMQ API 目录 :http://www.cnblogs.com/fengbohello/p/4230135.html 本文地址 :http://www.cnblogs.com/fengbohello/p/4398953.html ZeroMQ 官方地址 :http://api.zerom 阅读全文
posted @ 2015-04-08 09:36 fengbohello 阅读(45342) 评论(0) 推荐(1) 编辑
摘要: 本博客地址:http://www.cnblogs.com/fengbohello/p/4374450.html 1、核心函数说明 核心函数:ShellExecute 函数原型如下: ShellExecute( HWND hwnd, //父窗口句柄 (如:NULL,Handle等) LPCSTR lp 阅读全文
posted @ 2015-03-28 16:56 fengbohello 阅读(1777) 评论(0) 推荐(0) 编辑
摘要: 原文地址 : http://www.net-snmp.org/wiki/index.php/FAQ:General_19 Net-SNMP是线程安全的吗? 确切的说,不是。不过呢,在多线程管理的应用进程中是能够使用这个链接库的。这一点在REDMAE文件中已经有过详细的叙述。线程(以标准方式封装和发布 阅读全文
posted @ 2015-03-27 13:50 fengbohello 阅读(1220) 评论(2) 推荐(0) 编辑
摘要: 1、本文包括 1)在windows下使用ZMQ 2)在windows环境下与Linux环境下进行网络通信 2、在Linux下使用ZMQ 之前写过一篇如何在Linux环境下使用ZMQ的文章 《ZeroMQ实例-使用ZMQ(ZeroMQ)进行局域网内网络通信》,这里就不再赘述。 3、在Windows环境 阅读全文
posted @ 2015-03-26 21:49 fengbohello 阅读(12142) 评论(10) 推荐(0) 编辑
摘要: 1、问题描述 在使用net-snmp对交换机进行扫描的时候经常会出现进程假死的情况(就是进程并没有死掉,但是看不到它与外界进行任何的数据交互)。这时候不知道进程内部发生了什么,虽然有日志信息,但进程已经很长时间没有动静,根本不知道这段时间做了什么。用gdb att进去发现,进行snmp发送的线程已经 阅读全文
posted @ 2015-03-25 15:21 fengbohello 阅读(3328) 评论(0) 推荐(0) 编辑
摘要: 共分两个部分,1)创建json、2)解析json1)创建嵌套json的代码char * makeJson(){ cJSON * pRoot = NULL; cJSON * pSub_1 = NULL; cJSON * pSub_2 = NULL; if((pRoot = cJ... 阅读全文
posted @ 2015-03-24 15:43 fengbohello 阅读(7427) 评论(2) 推荐(0) 编辑
摘要: 代码#include int binarySearch(int iList[], int iNum, int iX, int * pPos){ if(NULL == pPos) { return -1; } int i = 0, j = iNum; whi... 阅读全文
posted @ 2015-03-22 14:31 fengbohello 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1、Win + __ 1)Win + L 锁屏 2)Win + E 资源管理器(就是打开硬盘) 3)Win + D 回到桌面 4)Win + Tab 3D方式切换程序窗口 5)Win + R 运行命令 例如 输入psr.exe 命令及录像功能 6)Win + X 笔记本... 阅读全文
posted @ 2015-03-22 13:52 fengbohello 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1、起因每次在12306上刷火车票我都会很紧张,尤其是到了10点整、14点整的时候,感觉整个人都不好了,因为每次都抢不到票。可能是我用的是12306网站自己的抢票工具吧,喏,就是下面这样的。每当抢到票的时候,图中标注的地方就会“唔~唔~”的响,让人感觉到精神一震,心情大好。感兴趣的同学可以去试一下,... 阅读全文
posted @ 2015-03-21 23:27 fengbohello 阅读(2082) 评论(8) 推荐(3) 编辑
摘要: ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.htmlZeroMQ 官方地址:http://api.zeromq.org/4-0:zmq-socket翻译:风波mail : fengbohello@qq.com—————————... 阅读全文
posted @ 2015-03-20 23:58 fengbohello 阅读(23311) 评论(2) 推荐(0) 编辑
摘要: C语言运算符优先级优先级运算符名称或含义使用形式结合方向说明1[]数组下标数组名[常量表达式]左到右--()圆括号(表达式)/函数名(形参表)--.成员选择(对象)对象.成员名--->成员选择(指针)对象指针->成员名--2-负号运算符-表达式右到左单目运算符~按位取反运算符~表达式++自增运算符+... 阅读全文
posted @ 2015-03-17 11:25 fengbohello 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 原来就一个命令呀:msconfig1、在开始菜单中输入 msconfig 命令,回车2、在弹出的对话框中取消不想启动的程序3、点击应用->确定->不启动 阅读全文
posted @ 2015-03-17 09:21 fengbohello 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 直接保存为xx.html文件,双击用浏览器打开,结果为一个不断旋转的动态图,示例请点开链接http://fb.xin3e.com/jsgraph/canvans.html结果截图如下已经过作者同意…… 阅读全文
posted @ 2015-03-16 13:20 fengbohello 阅读(285) 评论(0) 推荐(0) 编辑
摘要: ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-1:zmq-send-con... 阅读全文
posted @ 2015-03-14 23:38 fengbohello 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-0:zmq-pgmzmq_p... 阅读全文
posted @ 2015-03-13 23:53 fengbohello 阅读(7351) 评论(3) 推荐(0) 编辑
摘要: 快速排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i = iRight) { return 0; } int i = iLeft, j = iRight;... 阅读全文
posted @ 2015-03-12 09:51 fengbohello 阅读(262) 评论(0) 推荐(0) 编辑
摘要: ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-2:zmq-inproczm... 阅读全文
posted @ 2015-03-10 23:30 fengbohello 阅读(9158) 评论(0) 推荐(0) 编辑
摘要: 交换排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i < iLen; i++) { printf("%d ", iList[i]); } printf("... 阅读全文
posted @ 2015-03-10 09:52 fengbohello 阅读(322) 评论(0) 推荐(0) 编辑