摘要: composer clearcache composer global require -vvv --profile fxp/composer-asset-plugin linearsoft/composer-svn-export { "config": { "secure-http": false 阅读全文
posted @ 2017-08-18 11:40 秋风落叶. 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 安裝IBus框架: sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4 安装拼音 sudo apt-get install ibus-pinyin 找到IBUS目录 which ibus 重启ibus /usr/bin 阅读全文
posted @ 2017-03-07 14:09 秋风落叶. 阅读(127) 评论(0) 推荐(0) 编辑
摘要: public function rules() { return array( //必须填写 array('email, username, password,agree,verifyPassword,verifyCode', 'required'), //检查用户名是否重复 array('emai 阅读全文
posted @ 2017-02-21 10:29 秋风落叶. 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 命令行supervisorctlstatus: 查看当前运行的进程列表stop xxx: 停止某一个进程(xxx),xxx为[program:theprogramname]里配置的值。start xxx: 启动某个进程restart xxx: 重启某个进程stop groupworker: 重启所有 阅读全文
posted @ 2016-10-28 16:15 秋风落叶. 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 相关网站 https://github.com https://packagist.org 步骤: 1、现在上面两个网站注册账号 2、在github 创建 repository 生成后的地址为 https://github.com/RainLi/chuan 3、在packagist 提交在githu 阅读全文
posted @ 2016-10-27 18:29 秋风落叶. 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: public static function arr_split_zh($tempaddtext){ $tempaddtext = iconv("UTF-8", "gb2312", $tempaddtext); $cind = 0; $arr_cont = []; for($i = 0; $i < 阅读全文
posted @ 2016-10-21 15:58 秋风落叶. 阅读(287) 评论(0) 推荐(0) 编辑
摘要: composer 获取 Yii配置 hughcube/yii2-mobile-attribution $config['components']['mobile_attribution'] = [ 'class' => 'hughcube\mobileAttribution\Component', 阅读全文
posted @ 2016-09-27 15:38 秋风落叶. 阅读(153) 评论(0) 推荐(0) 编辑
摘要: $url='http://static.assets.local.51rwb.com/caibeitv/html/caibeitv_hao/dev/images/logo.png';$content= file_get_contents($url,true);header("Content-Type 阅读全文
posted @ 2016-09-19 19:57 秋风落叶. 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 图片裁剪 http://code.ciaoca.com/jquery/jcrop/ 下拉框搜索 http://silviomoreto.github.io/bootstrap-select/ 阅读全文
posted @ 2016-08-25 11:10 秋风落叶. 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 正则表达式限制输入框只能输入数字 代码如下: <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,' 阅读全文
posted @ 2016-08-23 17:10 秋风落叶. 阅读(2054) 评论(0) 推荐(1) 编辑