声明:此文系舞林cuzn(www.wulinlw.org)原创稿件,转载请保留版权
【linux】svn从1.6升级到1.8
Continue Read..Order allow,deny
Deny from all
</Directory>
location ^~ /.svn/{
deny all;
}
声明:此文系舞林cuzn(www.wulinlw.org)原创稿件,转载请保留版权
sublime text 3 的 package control错误
Continue Read..今天在mac安装sublime text 3 的 package control后,点击就出现“There are no packages available for installation”,
百度上各种解答,都是抄袭的同一个帖子,说是IPV6的问题,需要绑定host
还专门说明了是从高大上的http://stackoverflow.com/ 看来的哦
不明真相的小朋友纷纷转载,然而我试了下不行呀
用google搜索了下,马上就找到了原帖
http://stackoverflow.com/questions/25105139/sublime-text-2-there-are-no-packages-available-for-installation
这下欢乐了,在那个错误的答案下package control的作者wbond现身说法
“Please do not do this. Since I wrote Package Control and run the server, I can tell you this is a brittle solution that will break. In fact, the URL and IP for the server are changing soon. Instead, use the latest version fromgithub.com/wbond/package_control. If you still have trouble, post an issue with a debug log.”
23333333333333333333333333
现在说下怎么解决吧
https://github.com/wbond/package_control/issues/957
这里说了一种方法
“You can delete the Package Control.system-ca-bundle
and Package Control.merged-ca-bundle
files and try installing a package again. This will regenerate the system one and then merge with your user ca bundle.”
删掉package control下面的Package Control.system-ca-bundle
和 Package Control.merged-ca-bundle
重启在试就好了
另一种解决方案就是重装package control,从官网复制安装代码哦
出现这个问题的原因可能是安装package control的代码有问题,最好是直接从官网复制安装代码,因为作者会随时调整
官网地址https://packagecontrol.io/installation
声明:此文系舞林cuzn(www.wulinlw.org)原创稿件,转载请保留版权
【YII2】跨Controller调用action
Continue Read..比如我有A,B2个Controller 同时又actionIndex方法 我想用A调用B的方法
$xx = new BController('b', $this->module);
$xx ->actionIndex();die;
声明:此文系舞林cuzn(www.wulinlw.org)原创稿件,转载请保留版权
jquery 响应浏览器地址栏#(hash/fragment)变化
Continue Read..声明:此文系舞林cuzn(www.wulinlw.org)原创稿件,转载请保留版权