会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
toDoYourBest
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
2016年8月9日
netstat
摘要: [root@iZ2zee74ye1o5gsrclebnwZ bin]# netstat -apn|grep 11211 tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 3030/./memcached udp 0 0 0.0.0.0:11211 0.0.0.0:* 30
阅读全文
posted @ 2016-08-09 21:08 toDoYourBest
阅读(127)
评论(0)
推荐(0)
2016年8月8日
ls命令
摘要: ls -a do not ignore entries starting with . ls -l use a long listing format ls -al就是以上两种功能的组合
阅读全文
posted @ 2016-08-08 00:40 toDoYourBest
阅读(129)
评论(0)
推荐(0)
2016年8月7日
Yii UserIdentity中的authenticate
摘要: authenticate方法,根据验证结果,返回各种错误码,包括 这样,在判断验证结果的时候,直接读取自缩写的定义身份类的errorCode属性就可以判断了
阅读全文
posted @ 2016-08-07 19:21 toDoYourBest
阅读(311)
评论(0)
推荐(0)
2016年8月6日
Yii CModel:hasErrors方法
摘要: CModel::hasErrors方法,竟然在authenticate时也能用,不是应该在所有的rules都验证完之后才能获取吗?后来经过测试和查看源码,才知道,hasError并不是一并获取,而是根据当前已经验证过的rule实时获取,也就是说,假如有a,b,c,d四条rule,那么如果crule需
阅读全文
posted @ 2016-08-06 23:45 toDoYourBest
阅读(596)
评论(0)
推荐(0)
2016年5月10日
namespace,$this笔记
摘要: PHP支持两种抽象的访问当前命名空间内部元素的方法, __NAMESPACE__魔术常量和namespace关键字。 测试 结果 通过测试,得知 当前命名空间名称是根据执行上下文来判断的,而不是根据调用代码所在的位置 关于$this,是谁的实例? 结果是:in static C Object ( )
阅读全文
posted @ 2016-05-10 17:37 toDoYourBest
阅读(178)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
公告