摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--defgetrain(f,t):"""获取火车路线,参数是from和to"""url="http://wap.huochepiao.com/cx/"form=urllib.urlencode([('c... 阅读全文
摘要:
最近被迫在搞PHP。。整理些验证信息的代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--php正则表达式验证用户名大小写+数字)^[a-zA-Z][\w\d_]{5,19}验证电话号码(\d{3}-)(\d{8})$|(\d{4}-)(\d{7... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<unistd.h>#include<stdio.h>#include<stdlib.h>#include<sys/types.h>#i... 阅读全文