摘要:
javascript中的相等判定 阅读全文
随笔档案-2011年05月
Android, repo sync经常失败的解决办法
2011-05-11 00:04 by kaure, 6887 阅读, 收藏, 编辑
摘要:
Android 源代码获得过程中,repo sync经常失败的解决办法:主要参见:http://www.tonypig.net/?p=9998,感谢作者;1. 修改repo 将REPO_URL中的git:修改为http:2. 在你要下载源代码的目录(这里是 Android_SOURCE) 中,运行脚本:repo init -u http://android.git.kernel.org/platform/manifest.git-b gingerbread在这里我仅仅是取一个branch。repo的使用细则可以参见 google 的帮助:@http://android.git.kernel.o 阅读全文
Use UDF...
2011-05-07 10:59 by kaure, 296 阅读, 收藏, 编辑
摘要:
今天一个老程序员突然来了一句话:“sql里面的自定义函数的确不错。。。能够把查询给分开。可以节省时间“,那时我就在想函数的功能真的是用来做这个的么。于是就看了一下MSDN上面关于SQL 里面用户自定义函数的解释,看到这到一段: When evaluating UDFs it is vital to consider the balance between performance and maintainability. While UDFs can reduce the amount of common code, be used as part of a common function l. 阅读全文