USE[master] GO ALTER DATABASE MeSizeSNS SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE MeSizeSNS SET RECOVERY SIMPLE --简单模式 GO ...
分类:
数据库 时间:
2014-06-19 07:58:55
阅读次数:
291
autofs 自动挂载.操作环境:redhat 6一、autofs 说明自动挂载器是一个监视目录的守护进程,并在目标子目录被引用时,自动执行预定义的挂载自动挂载器由autofs服务脚本管理自动挂载器由auto.master配置文件进行配置,该文件引用了一个按惯例称作/etc/auto.misc二、安...
分类:
其他好文 时间:
2014-06-19 07:52:45
阅读次数:
324
如果新提交的分支代码和master有冲突,先checkout到分支merge master,解决冲突,然后再checkout master,merge 分支.(1) git checkout edit_package_page git merge master --no-ff这时候会看到很多CO.....
分类:
其他好文 时间:
2014-06-18 19:49:55
阅读次数:
246
1 查看远程分支$ git branch -a* br-2.1.2.2 master remotes/origin/HEAD -> origin/master remotes/origin/br-2.1.2.1 remotes/origin/br-2.1.2.2 remotes/origi...
分类:
其他好文 时间:
2014-06-18 09:43:08
阅读次数:
198
参考链接:http://blog.csdn.net/zolalad/article/details/11470449环境:ubuntu14.04 hadoop1.0.1下面以3台机器为例,讲解安装过程1)准备3台机器,一台作为nameNode,命名为master,两台作为dataNode,命名为sl...
分类:
其他好文 时间:
2014-06-18 00:06:18
阅读次数:
243
题意:有n条电缆,他们的长度分别为l[i]。如果从n条电缆中切割出K条长度相同的电缆的话,这k条电缆每条最长能多长?答案小数点后保留两位有效数字。输入:n, kn行:l[i]Sample Input4 118.027.434.575.39Sample Output2.00数据范围:1=k);25 ....
分类:
其他好文 时间:
2014-06-17 21:04:38
阅读次数:
226
我这里用到的nginx为最新版的nginx所以我使用了最新的插件nginx_upstream_check_module-master.zipcdnginx-1.7.1patch-p1</tmp/nginx_upstream_check_module-master/check_1.5.12+.patchnginx-V./configure--prefix=/usr/local/nginx--with-http_stub_status_module--with-h..
分类:
其他好文 时间:
2014-06-17 17:17:22
阅读次数:
337
大家空闲的时候可以学习下,一些项目还是经常能用到的。
1. 对图片的剪裁cropimage-master
http://stackoverflow.com/questions/18013406/is-com-android-camera-action-crop-not-available-for-android-jelly-bean-4-3
2. ImageLoader ...
分类:
移动开发 时间:
2014-06-17 16:37:19
阅读次数:
230
做主从同步时的报错:mysql>changemastertomaster_host=‘192.168.10.151‘,master_user=‘repl‘,master_password=‘zrer90‘,master_log_file=‘mysql2-bin.000004‘,master_log_pos=98;ERROR1201(HY000):Couldnotinitializemasterinfostructure;moreerrormessagescanbefoundinthe..
分类:
数据库 时间:
2014-06-16 16:00:06
阅读次数:
279
一、等待与通知
public final void wait() throws InterruptedException
等待条件的发生。
public final void wait(long timeout) throws InterruptedException
等待条件的发生。如果通知没有在timeout指定的时间内发生,它还是会返回。
public fi...
分类:
编程语言 时间:
2014-06-14 14:10:33
阅读次数:
425