会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
106
107
108
109
110
111
112
113
114
···
133
下一页
2018年11月28日
array_values
摘要: $array = [ '0' => [ 'name' => '111', 'age' => '2', ], '1' => [ 'name' ...
阅读全文
posted @ 2018-11-28 21:22 盘思动
阅读(280)
评论(0)
推荐(0)
2018年11月12日
价格正则
摘要: 正则表达式如下: /(^[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)
2018年11月8日
获取具体地址的经纬度
摘要: 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)
2018年11月7日
git更换 拉取推送地址
摘要: 更换: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)
2018年11月6日
array_merge 优化调整
摘要: 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)
2018年10月26日
重启电脑后,redis 6380端口关闭重启
摘要: 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)
2018年10月25日
清空git默认的用户名和密码,
摘要: 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)
2018年10月20日
对一个给定的二维数组按照指定的键值进行排序
摘要: 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)
array_multisort 二维数组排序
摘要: * 用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)
2018年10月19日
jqgit...
摘要: 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
下一页
公告