上一页 1 ··· 4 5 6 7 8 9 下一页
  2016年2月5日
摘要: 安装 yun install httpd 随系统自启动 chkconfig httpd on 修改/etc/httpd/conf/httpd.conf文件 #修改WWW目录为自己的目录 DcoumentRoot "/mydata/www" #修改apache用户和组 User XXX Group XXX #为自己的目录增加权限 Options Indexes Fo... 阅读全文
posted @ 2016-02-05 12:03 chen8840 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 使用groupadd命令增加新的用户组 使用useradd命令增加新用户: useradd -s /bin/bash -d /home/XXX -g group username 使用passwd修改密码 增加sudo权限 编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudo 阅读全文
posted @ 2016-02-05 11:11 chen8840 阅读(183) 评论(0) 推荐(0) 编辑
  2016年1月19日
摘要: 一 、angular中的依赖注入 angular的一个很重要的特性就是依赖注入,可以分开理解这4个字。 1.依赖: angular里面的依赖,有angular默认提供的,也有我们自己添加的。默认提供的比如$rootScope,$http,$injector等,我们也可以自己写factory函数来添加 阅读全文
posted @ 2016-01-19 10:28 chen8840 阅读(1143) 评论(0) 推荐(0) 编辑
  2016年1月6日
摘要: 阅读全文
posted @ 2016-01-06 14:25 chen8840 阅读(170) 评论(0) 推荐(0) 编辑
摘要: .clearfix:after { content:''; display: table; clear: both;}.clearfix { *zoom: 1; } 阅读全文
posted @ 2016-01-06 13:50 chen8840 阅读(132) 评论(0) 推荐(0) 编辑
  2015年11月26日
摘要: block的高度是从最上面撑开的那么inline-block呢?直接上代码 33 33看到没?3个inline-block的撑开位置是不一样的。同时把他们的父元素撑开了。把3个inline-block高度加高试试#test span { display: inlin... 阅读全文
posted @ 2015-11-26 14:20 chen8840 阅读(1826) 评论(0) 推荐(0) 编辑
  2015年11月13日
摘要: 移动前端开发之viewport的深入理解 阅读全文
posted @ 2015-11-13 13:14 chen8840 阅读(97) 评论(0) 推荐(0) 编辑
  2015年10月17日
摘要: 1.CSRF(跨站请求伪造)http://www.cnblogs.com/hyddd/archive/2009/04/09/1432744.html2.深入理解JavaScript Hijacking原理http://www.cnblogs.com/hyddd/archive/2009/07/02/... 阅读全文
posted @ 2015-10-17 00:05 chen8840 阅读(155) 评论(0) 推荐(0) 编辑
  2015年10月16日
摘要: 1.使用CSS3 的伸缩盒布局 2.position:absolute 和 margin 联合使用 3.position:absolute 和 margin: auto联合使用 4.position:absolute和translate的联合使用 5.让div inline-block化 阅读全文
posted @ 2015-10-16 18:06 chen8840 阅读(182) 评论(0) 推荐(0) 编辑
  2015年10月14日
摘要: ffffffff123123xxxx ffffffff123123xxxx ffff... 阅读全文
posted @ 2015-10-14 18:35 chen8840 阅读(400) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页