上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 133 下一页
摘要: $array = [ '0' => [ 'name' => '111', 'age' => '2', ], '1' => [ 'name' ... 阅读全文
posted @ 2018-11-28 21:22 盘思动 阅读(280) 评论(0) 推荐(0)
摘要: 正则表达式如下: /(^[1-9]\d*(\.\d{1,2})?$)|(^0(\.\d{1,2})?$)/价格符合两种格式 ^[1-9]\d*(.\d{1,2})?$ : 1-9开头,后跟是0-9,可以跟小数点,但小数点后要带上1-2位小数,类似2,2.0,2.1,2.22等^0(.\d{1,2}) 阅读全文
posted @ 2018-11-12 19:40 盘思动 阅读(1023) 评论(0) 推荐(0)
摘要: function addresstolatlag($address){ $url = 'http://api.map.baidu.com/geocoder/v2/?address='.$address.'&output=json&ak=xxxxxxxxxxxxxxx'; //http://lbsyu 阅读全文
posted @ 2018-11-08 18:10 盘思动 阅读(459) 评论(0) 推荐(0)
摘要: 更换:git remote set-url origin http://git.******.cn/sucry/mouse.git 直接更换,无需删除 注意:上面是更换,如果是空的,需要添加路径,而不是更换 git remote add origin http://......file.git 阅读全文
posted @ 2018-11-07 09:42 盘思动 阅读(776) 评论(1) 推荐(0)
摘要: function dealed_array_merge($a,$b){ if ($a && !$b){ return $a; } if (!$a && $b){ return $b; } if ($a && $b){ return array_merge($a,$b); } return [];} 阅读全文
posted @ 2018-11-06 14:31 盘思动 阅读(270) 评论(0) 推荐(0)
摘要: zb@zb-computer:/usr/local/redis/etc$ /usr/local/redis/bin/redis-server redis.6380.conf &[1] 30620zb@zb-computer:/usr/local/redis$ bin/redis-cli -p 638 阅读全文
posted @ 2018-10-26 10:53 盘思动 阅读(916) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/a1908f55bef8 在家目录下找到.gitconfig git config --local --unset credential.helper git config --global credential.helper cache //改回 阅读全文
posted @ 2018-10-25 22:24 盘思动 阅读(5464) 评论(0) 推荐(0)
摘要: public function set_s(){ $arr = [ ['one' => 6,'two' => 19], ['one' => 36,'two' => 3], ['one' => 26,'two' => 3], ['one' => 2,'two' => 84], ['one' => 5, 阅读全文
posted @ 2018-10-20 18:38 盘思动 阅读(686) 评论(0) 推荐(0)
摘要: * 用PHP自带array_multisort函数排序 ``` $data = [ ['volume' => 67, 'edition' => 2], ['volume' => 86, 'edition' => 1], ['volume' => 85, 'edition' => 6], ['volu 阅读全文
posted @ 2018-10-20 18:31 盘思动 阅读(1994) 评论(0) 推荐(0)
摘要: https://github.com/jiqing9006/aceAdmin 阅读全文
posted @ 2018-10-19 21:37 盘思动 阅读(166) 评论(0) 推荐(0)
上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 133 下一页