上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 1 // filelist.go 2 package main 3 4 import ( 5 //"flag" 6 "fmt" 7 "os" 8 "path/filepath" 9 "strings"10 )11 12 var (13 ostype... 阅读全文
posted @ 2014-05-23 16:48 sndnvaps 阅读(6412) 评论(0) 推荐(0) 编辑
摘要: 1 import "strconv" 2 3 func IsLeapYear(y string) bool { //y == 2000, 2004 4 //判断是否为闰年 5 year, _ := strconv.Atoi(y) 6 if year%4 == 0 && y... 阅读全文
posted @ 2014-05-22 19:42 sndnvaps 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 用golang写的,验证身份证正确性的小程序 阅读全文
posted @ 2014-05-18 19:52 sndnvaps 阅读(3001) 评论(0) 推荐(0) 编辑
摘要: 检验二代身份证的正确性 阅读全文
posted @ 2014-04-23 20:06 sndnvaps 阅读(2865) 评论(0) 推荐(1) 编辑
摘要: twrp ui.xml 重启菜单分析 阅读全文
posted @ 2014-04-20 13:38 sndnvaps 阅读(819) 评论(0) 推荐(0) 编辑
摘要: twrp ui.xml 布局分析 阅读全文
posted @ 2014-04-20 13:14 sndnvaps 阅读(1700) 评论(3) 推荐(0) 编辑
摘要: 用于简单处理记录密码的Txt文件 阅读全文
posted @ 2014-04-12 23:35 sndnvaps 阅读(286) 评论(1) 推荐(0) 编辑
摘要: split_string , c++ 阅读全文
posted @ 2014-04-12 17:54 sndnvaps 阅读(713) 评论(0) 推荐(0) 编辑
摘要: Android.mk参数解释, AOSP技术文章翻译 阅读全文
posted @ 2014-04-09 20:51 sndnvaps 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: //test.c #include #include //字符串化运算符#define EXPAND(name) ({ \ printf("%s\n", #name); })//二元运算符 ## 将左和右操作数结合成一个记号#define test(name, index) ( { \ int i, len = sizeof(name ## index) / sizeof(int); \ for (i = 0; i < len; i++) \ { \ printf("%d\n", name ## index[i]); \ }}) ... 阅读全文
posted @ 2014-03-22 01:44 sndnvaps 阅读(793) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页