shouchengcheng
just do it
11 2015 档案
SCIP 练习集
摘要:2.2.7 deep-reverse(define (next x) (cond ((not (pair? x)) x) ((pair? (car x)) (cons (deep-reverse (car x)) (next (cdr x)))) (else x)))(define ... 阅读全文
posted @ 2015-11-29 15:01 shouchengcheng 阅读(290) 评论(0) 推荐(0)
dhcp包
摘要:wifi模块在连上router的时候,如果是动态ip,则需要通过dhcp来获取。dhcp中还包括网关,dns等附加信息。首先,wifi模块先发广播的udp包,source port 68,destination port 67bootstrap protocol如下,因为是动态ip,故这里为空其中o... 阅读全文
posted @ 2015-11-23 17:42 shouchengcheng 阅读(514) 评论(0) 推荐(0)
定向获取固定数据
摘要:周末下雨,原本计划泡汤,只好宅在家中。翻翻网页,觉着写一个python爬虫吧。作为一个只会c的程序员,表示python的基本语法看起来还是蛮清楚的。大致差不多。然后就爬一下基金的当前价格吧,本来想着写完后让它一直运行,后来写完发现mathematica里直接有函数可以查往年基金价格的接口,那就没必要... 阅读全文
posted @ 2015-11-01 17:24 shouchengcheng 阅读(452) 评论(0) 推荐(0)