摘要: memcached telnet commandtelnet 127.0.0.1 11211 --连接memcached1.基本命令1)set set 命令用于向缓存添加新的键值对。如果键已经存在,则之前的值将被替换。 注意以下交互,它使用了 set 命令: set userId 0 0 5 123... 阅读全文
posted @ 2015-12-02 10:20 不要相信我 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 记录下The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. (Microsoft SQL Server, Error: 15128)Problem: Recently on... 阅读全文
posted @ 2015-10-27 09:39 不要相信我 阅读(587) 评论(0) 推荐(0) 编辑
摘要: XML新增声明式事务配置 Service方法使用@Transactional标注:@Transactional public void changeAge(String fromUser, String toUser, int age) { ... 阅读全文
posted @ 2015-10-26 11:38 不要相信我 阅读(157) 评论(0) 推荐(0) 编辑
摘要: applicationContext.xml 1 2 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3... 阅读全文
posted @ 2015-10-23 16:21 不要相信我 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Sublime SASS语法高亮插件下载地址:https://github.com/kuroir/SCSS.tmbundle/zipball/SublimeText2koala_2.0.4_setup.exe 下载地址:http://pan.baidu.com/s/1o6ktn5o测试代码(参考阮一... 阅读全文
posted @ 2015-10-23 10:04 不要相信我 阅读(264) 评论(0) 推荐(0) 编辑
摘要: package cn.byref.demo.logging;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;public class CommonLoggingTest { p... 阅读全文
posted @ 2015-10-20 17:04 不要相信我 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: jquery queue 阅读全文
posted @ 2015-10-20 14:37 不要相信我 阅读(169) 评论(0) 推荐(0) 编辑
摘要: mysql表:DROP TABLE IF EXISTS `test`;CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) DEFAULT NULL, `age` int(11) ... 阅读全文
posted @ 2015-10-19 17:02 不要相信我 阅读(189) 评论(0) 推荐(0) 编辑
摘要: BEGIN DECLARE startIndex int; select COUNT(*) INTO RecordCount from test; SET startIndex = (PageIndex - 1) * PageSize; SELECT * FROM test ORDER BY id... 阅读全文
posted @ 2015-10-19 16:29 不要相信我 阅读(246) 评论(0) 推荐(0) 编辑
摘要: //MySQL Date类型 -> java.sql.Datejava.sql.Date d = new java.sql.Date(Calendar.getInstance().getTime().getTime());//MySQL Time类型-> java.sql.TimeTime t = ... 阅读全文
posted @ 2015-10-19 14:40 不要相信我 阅读(404) 评论(0) 推荐(0) 编辑