上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 背景 :两个系统分别安装两个硬盘中。 方法一 进入centos,对grub进行设置 vim /boot/grub2/grub.cfg 添加 menuentry 'win7' { set root=(hd0,1) 注意:grub2的第一个分区是(hd0,1),不是(hd0,0) ... 阅读全文
posted @ 2015-09-21 13:19 brookin 阅读(961) 评论(0) 推荐(0)
摘要: get_object_vars($var) vs array($var) test case class Test { public function actionGetObjectVarsVsArrayCast() { $obj = new TestA(); println... 阅读全文
posted @ 2015-09-07 20:46 brookin 阅读(281) 评论(0) 推荐(0)
摘要: # mount: unknown filesystem type 'ntfs' #**问题描述** # mount –t ntfs /dev/sdc1 /mnt/usb2 mount: unknown filesystem type ‘ntfs’原因:系统无法识别ntfs格式分区**解决办法**编译... 阅读全文
posted @ 2015-08-26 23:28 brookin 阅读(1517) 评论(0) 推荐(0)
摘要: mysql字段的值默认不区分大小写,如果有主键的表,主键列就不能插入重复的值(大小写不同)## 实验 ##**默认方式创建** CREATE TABLE `t1` ( `ID` varchar(40) CHARACTER SET utf8 NOT NULL, `NAME` varchar(2... 阅读全文
posted @ 2015-08-18 23:18 brookin 阅读(1169) 评论(0) 推荐(0)
摘要: ## 现象 ##查看slave 服务状态 show slave status\G;错误 Last_Errno: 1872 Last_Error: Slave failed to initialize relay log info structure from the repository## 原因 ... 阅读全文
posted @ 2015-08-17 20:22 brookin 阅读(747) 评论(0) 推荐(0)
摘要: # ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ### 背景: ## mysql -uroot -p123456 提示: ERROR 200... 阅读全文
posted @ 2015-08-15 22:26 brookin 阅读(1455) 评论(1) 推荐(0)
摘要: zendstudio 行内注释, 显式声明变量类型,让变量自动方法提示 $out = []; /* @var $row \xxyy\SizeEntity */ foreach ($rows[ 'list'] as $row) { $out[ '... 阅读全文
posted @ 2015-07-27 10:30 brookin 阅读(357) 评论(0) 推荐(0)
摘要: 在linux环境编译应用程式或lib的source code时出现如下错误:/usr/bin/ld: cannot find -lxxx这些讯息会随着编译不同类型的source code 而有不同的结果出来如:/usr/bin/ld: cannot find -lc/usr/bin/ld: cann... 阅读全文
posted @ 2015-07-23 23:34 brookin 阅读(392) 评论(0) 推荐(0)
摘要: 解决:在chm右键查看有没有解除锁定选项。1、右键单击chm文件,选择属性;2、在最下面点击“解除锁定”并确定后,再次打开chm,就正常了 阅读全文
posted @ 2015-06-23 19:47 brookin 阅读(340) 评论(0) 推荐(0)
摘要: gavin@webdev:~> curl -sS https://getcomposer.org/installer | phpDownloading...Download failed: file_get_contents(): SSL operation failed with code 1. ... 阅读全文
posted @ 2015-04-14 20:23 brookin 阅读(4015) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页