2016年3月27日
摘要: 本人在用deepin linux,系统跟新了硬件时间早了8小时 hwclock --show :显示硬件时间hwclock --systohc :将系统时间写入硬件(hc代表硬件时间,sys代表系统时间)!!没管用hwclock --hctosys :将硬件时间写入系统时间 !!也没管用 sudo 阅读全文
posted @ 2016-03-27 11:36 dennr 阅读(307) 评论(0) 推荐(0) 编辑
  2016年3月14日
摘要:     定义一个简单的功能要求,判断三角形是等边/等腰/一般三角形,要求边长在(1,100)范围;   准备测试代码     准备黑盒等价测试用例   同测试结果图   开发功能代码   测试结果 阅读全文
posted @ 2016-03-14 01:54 dennr 阅读(339) 评论(4) 推荐(0) 编辑
  2015年9月17日
摘要: 空格的转义字符分为如下几种:平时一般用的是1. &160#;不断行的空白(1个字符宽度)2.  &8194#;半个空白(1个字符宽度)3.  &8195#;一个空白(2个字符宽度)4.  &8201#;窄空白(小于1个字符宽度)平时一般用的是但是在中文中也许有时候更... 阅读全文
posted @ 2015-09-17 13:51 dennr 阅读(178) 评论(0) 推荐(0) 编辑
  2015年8月19日
摘要: 如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候,在发布这个配置文件的时候,会发生代码冲突:error: Your local changes to the following files would be overwritten by merge:protect... 阅读全文
posted @ 2015-08-19 09:45 dennr 阅读(548) 评论(0) 推荐(0) 编辑
  2015年8月13日
摘要: 1 2 3 4 可输入的下拉框 5 6 7 8 9 10 15 16 可输入的下拉框 阅读全文
posted @ 2015-08-13 15:46 dennr 阅读(195) 评论(0) 推荐(0) 编辑
  2015年7月10日
摘要: initFollow (); // 公众号粉丝信息初始化 C ( 'EDITOR_UPLOAD.rootPath', './Uploads/Editor/' . get_token () . '/' ); //设置EDITOR_UPLOAD.r... 阅读全文
posted @ 2015-07-10 02:10 dennr 阅读(364) 评论(0) 推荐(0) 编辑
  2015年7月7日
摘要: 1 model = $this->getModel ( 'survey_answer' ); //获取模型数据 14 15 $param ['survey_id'] = $this->survey_id = intval ( $_REQUEST [... 阅读全文
posted @ 2015-07-07 01:05 dennr 阅读(355) 评论(0) 推荐(0) 编辑
  2015年7月6日
摘要: model = $this->getModel ( 'survey_question' ); //获取问题方法的模型数据 $param ['survey_id'] = $this->survey_id = intval ( $_REQUEST ['surv... 阅读全文
posted @ 2015-07-06 01:47 dennr 阅读(214) 评论(0) 推荐(0) 编辑
  2015年7月3日
摘要: 该方法有自己的模板主页面的几个方法与微信交互 1 where ( $map )->find (); //survey表中查询问题的信息 30 $this->assign ( 'info', $info ); //分配给前台显示 31 3... 阅读全文
posted @ 2015-07-03 01:35 dennr 阅读(292) 评论(0) 推荐(0) 编辑
  2015年7月2日
摘要: 1 _getVoteInfo ( $vote_id ); //获取投票插件的信息 9 10 $canJoin = ! empty ( $openid ) && ! empty ( $token ) && ! ($this->_is_overtime ( ... 阅读全文
posted @ 2015-07-02 02:02 dennr 阅读(380) 评论(0) 推荐(0) 编辑