摘要: 在恢复mysql数据库时提示1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)原因:是因为开启了bin-log解决办法SQL codemysql>show variableslike'log_bin_trust_function_ 阅读全文
posted @ 2013-07-09 08:59 缤纷世界 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: select * from t_resource_base where xdkm_id = '08975DBC-953B-42DC-AA01-65F168891CEE' and regexp_like(resource_title ,'Un','i'); regexp_like(... 阅读全文
posted @ 2013-06-29 09:38 缤纷世界 阅读(2700) 评论(0) 推荐(0) 编辑
摘要: 在没有备份数据库的情况下,可以用binlog进行恢复在生产环境下安全第一,损失一点点效率换来的安全还是值得的。http://www.cnblogs.com/zc22/archive/2013/06/19/3145080.html 阅读全文
posted @ 2013-06-24 09:18 缤纷世界 阅读(675) 评论(0) 推荐(0) 编辑
摘要: get方法 String url_str ="http://127.0.0.1:8400/lxyyProduct/getProductUserNeedUpdate.action?ts="+maxTs; URL url = new URL(url_str); HttpU... 阅读全文
posted @ 2013-06-20 11:01 缤纷世界 阅读(652) 评论(0) 推荐(0) 编辑
摘要: https://www.virustotal.com/zh-cn/ 阅读全文
posted @ 2013-06-19 09:52 缤纷世界 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 启动虚拟无线APnetsh wlan set hostednetwork mode=allow ssid=WIFI_NAME key="abcdefgh"netsh wlan start hostednetwork关闭虚拟无线APnetsh wlan stop hostednetwork必须要有无线网卡 阅读全文
posted @ 2013-06-19 08:39 缤纷世界 阅读(149) 评论(0) 推荐(0) 编辑
摘要: http://www.neoease.com/lazy-load-jquery-plugin-delay-load-image/jQuery Unveil – 另一款非常轻量的延迟加载插件http://luis-almeida.github.io/unveil/ 阅读全文
posted @ 2013-06-17 16:16 缤纷世界 阅读(237) 评论(0) 推荐(0) 编辑
摘要: File txt_file=new File("c:\\file_id.txt");RandomAccessFile rf = new RandomAccessFile(txt_file, "rw"); long fileLength = rf.length();// 将本件指针移到文本末尾... 阅读全文
posted @ 2013-05-21 14:12 缤纷世界 阅读(8971) 评论(0) 推荐(0) 编辑
摘要: package test;import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStream; impo... 阅读全文
posted @ 2013-05-20 11:16 缤纷世界 阅读(73464) 评论(1) 推荐(3) 编辑
摘要: //在你的方法第一行加上: longa=System.currentTimeMillis(); //在最后的一行加上: System.out.println("\r执行耗时:"+(System.currentTimeMillis()-a)/1000f+"秒"); 阅读全文
posted @ 2013-05-16 14:03 缤纷世界 阅读(305) 评论(0) 推荐(0) 编辑