上一页 1 ··· 14 15 16 17 18
摘要: 除了建立索引之外,保持良好的SQL语句编写习惯将会降低SQL性能问题发生。①通过变量的方式来设置参数好:stringsql = "select * from people p where p.id = ? ";坏:stringsql = "select * from people p where p... 阅读全文
posted @ 2015-07-22 11:23 FrankYou 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 第一次访问数据会比接下来的访问慢的多,因为它要从磁盘读取数据然后写入到缓冲区;聚合查询(sum,count等)以及其他要扫描大部分表或索引的查询需要大量的缓冲,而且如果它导致SQL Server从缓存中丢弃其它数据,还会对性能带来不利的影响;经过谨慎设计,将SQL Server作为内存缓存也是可能的... 阅读全文
posted @ 2015-07-22 11:21 FrankYou 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 1、远程分支的表示形式:远程仓库名称/分支名,如:origin/master;2、一次Git克隆会建立你自己的本地分支:master和远程分支:origin/master,它们都指向origin/master分支的最后一次提交;3、运行命令:gitfetch origin来同步远程服务器上的数据到本... 阅读全文
posted @ 2015-07-22 11:02 FrankYou 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1、Git保存的不是文件的差异或者变化量,而只是一系列文件快照(File Snapshot);2、暂存操作会对每一个文件计算校验和(SHA-1哈希字符串),然后把当前版本的文件快照保存到Git仓库中(Git使用blob类型的对象来存储这些快照),并将校验和加入到暂存区;3、Git中分支,其实本质上是... 阅读全文
posted @ 2015-07-22 11:00 FrankYou 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1、跟踪新文件:git add <file> 2、暂存已修改文件:git add <file> 3、忽略某些文件:在.gitignore文件中新增要忽略的文件 4、工作目录中当前文件与暂存区域快照之间的差异:git diff 5、已经暂存起来的文件与上次提交时的快照之间的差异:git diff -- 阅读全文
posted @ 2015-07-22 10:59 FrankYou 阅读(181) 评论(0) 推荐(0) 编辑
摘要: git reset --hard git push origin HEAD --force 阅读全文
posted @ 2015-07-21 15:10 FrankYou 阅读(327) 评论(0) 推荐(0) 编辑
摘要: git config --global user.name "Your Name" git config --global user.email you@example.com 阅读全文
posted @ 2015-07-21 15:08 FrankYou 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-21 11:30 FrankYou 阅读(5725) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 数字签名并返回BASE64编码的字符串 3 /// 4 /// 待签名内容 5 /// 私钥文件路径 6 /// 7 internal static str... 阅读全文
posted @ 2015-07-21 11:27 FrankYou 阅读(4659) 评论(4) 推荐(0) 编辑
摘要: 1 internal class CcbRsaCryptProvider 2 { 3 private static RSACryptoServiceProvider _providerForSign; 4 private static RSACryptoServic... 阅读全文
posted @ 2015-07-21 11:24 FrankYou 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: 测试代码: RSAUtils.java 阅读全文
posted @ 2015-07-21 11:01 FrankYou 阅读(4369) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-21 10:58 FrankYou 阅读(13541) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18