2012年8月9日
摘要: #include <stdio.h>#define PR(format,value) printf(#value"= %"#format"\t",(value))#define NL putchar('\n')#define PRINT1(f,x1) PR(f,x1), NL#define PRINT2(f,x1,x2) PR(f,x1), PRINT1(f,x2)#define PRINT3(f,x1,x2,x3) PR(f,x1), PRINT2(f,x2,x3)#define PRINT4(f,x1,x2,x3,x4) 阅读全文
posted @ 2012-08-09 13:01 abacuspix 阅读(312) 评论(0) 推荐(0)
摘要: #include <stdio.h>#define PRINT(format,x) printf("x = %"#format"\n",(x))//how to add the # ????int integer = 5;char character = '5';char *string = "5";int main(void){ PRINT(d,string); PRINT(d,character); PRINT(d,integer); PRINT(d,string); PRINT(c,character 阅读全文
posted @ 2012-08-09 12:54 abacuspix 阅读(213) 评论(0) 推荐(0)
  2012年8月8日
摘要: /*Write a new function to allocate a consitentspace for string*/#define NULL 0#define NEWSIZE 1000char newbuf[NEWSIZE];char *newp= newbuf;char *New(int n){ if(newp+n<=newbuf+NEWSIZE) { newp=newp+n; return(newp-n); } else return(NULL);} 阅读全文
posted @ 2012-08-08 22:14 abacuspix 阅读(147) 评论(0) 推荐(0)
摘要: 最近找到一本书 发现是 Moy大神写的 有些老和原来的netwroking 方面的书有些不一样的东西 还是值得一读。比如 OSPF的 八卦, 从一个设计者的角度阐述一个协议,能学到些协议以外的东西。还有本书姐妹篇OSPF Complete ImplementationPublished by arrangement with Addison Wesley也一并下了 可惜不是E文版 从头到尾介绍了 C++下的OSPF实现精读一下应该还是会有所得的。 阅读全文
posted @ 2012-08-08 16:01 abacuspix 阅读(299) 评论(0) 推荐(0)
  2012年8月7日
摘要: SRX brach产品一般 唯一的好处就是 学习机中的战斗机安全特性+ 路由 MPLS VPLS 全方位支持最近可以研究一下 和Zebos 的互通 改改Zebos 7.9.1的code 阅读全文
posted @ 2012-08-07 21:55 abacuspix 阅读(213) 评论(0) 推荐(0)
  2012年7月23日
摘要: The role:Part of the Customer Service (CS) division of Juniper Networks, the candidatewill be required to provide a high level of technical support on specificJuniper Networks product(s) to Advanced Services customers, directly or viapartners. The understanding of the Knowledge Management processes 阅读全文
posted @ 2012-07-23 23:29 abacuspix 阅读(166) 评论(0) 推荐(0)
摘要: 网上经常有朋友问游侠(www.youxia.org),有什么好的WEB应用安全扫描产品,这里大体的说下。 国内这类产品不算多,当然国外也不算多,数来数去,就那么几个,画个图看看: 商业产品*国外 ·Acunetix Web Vulnerability Scanner 6:简称WVS,还是不错的扫描工具,不知道检查的太细致还是因为慢,总之经常评估一个网站的时候一晚上不关电脑都扫描不万……但是报表做的不错。一般用这个扫描的话,不用等那么久,像区县政府的,扫20分钟就差不多了。 ·IBM Rational AppScan:这个是IBM旗下的产品,扫描速度中规中矩,报表功能相当强大 阅读全文
posted @ 2012-07-23 22:57 abacuspix 阅读(493) 评论(0) 推荐(0)
摘要: 我来瞎谈一下Kernel Engineer的几个境界。瞎谈呀,弟兄们别当真。闲聊Kernel engineer的境界境界(一):1. 喜欢OS。别的啥也看不上。2. 读kernel代码,每天特来劲。饭桌上特牛逼:-)3. 觉得自己啥也不懂,看了就忘,特沮丧。4. 玩板子,特来劲,饭桌上具牛逼。闲聊Kernel engineer的境界(二) 1. 开始谁也看不起,觉得做网络的其实就是大傻。 做Driver的其实就是脑残。 (2)喜欢做芯片的,特别是做CPU的。会开始补充体系结构的知识。 (3)发现bus很重要,但大多数人不懂。(4)慢慢往硬件上靠。闲聊Kernel engineer的境界(三)( 阅读全文
posted @ 2012-07-23 22:48 abacuspix 阅读(203) 评论(0) 推荐(0)
  2012年7月18日
摘要: It's time to review the symbols and Python words you know, and to try to pick up a few more for the next few lessons. What I've done here is written out all the Python symbols and keywords that are important to know.In this lesson take each keyword, and first try to write out what it does fr 阅读全文
posted @ 2012-07-18 12:48 abacuspix 阅读(431) 评论(0) 推荐(0)
  2012年7月10日
摘要: #include <stdio.h>int main(void){ int x; x = -3 + 4 * 5 -6; printf("%d\n",x); x = 3 + 4 % 5 - 6; printf("%d\n",x); //How to get it? x = -3 * 4 % - 6 / 5; printf("%d\n",x); x = (7 + 6) % 5 / 2; printf("%d\n",x);} 1 #include <stdio.h> 2 #define PRINT 阅读全文
posted @ 2012-07-10 17:16 abacuspix 阅读(204) 评论(0) 推荐(0)