会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一颗糊涂淡
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
13
下一页
2021年9月14日
gitee代码回滚
摘要: 定位到本地对应文件夹,打开 Git Bash $ git reflog //查看历史版本 如果要回退到 commit:地图选择插件 也就是7383322这个版本,执行 $ git reset 7383322 之后执行强制推送 $ git push origin HEAD --force
阅读全文
posted @ 2021-09-14 13:55 一颗糊涂淡
阅读(1985)
评论(0)
推荐(0)
2021年9月13日
本地代码上传gitee && vscode更新提交代码到gitee
摘要: 首先安装GIT打开Git Bash git config --global user.name "your name" //配置昵称 git config --global user.email "your email" //配置邮箱 git config --global credential.h
阅读全文
posted @ 2021-09-13 17:08 一颗糊涂淡
阅读(1011)
评论(0)
推荐(0)
2021年8月24日
php的POST GET PUT请求
摘要: POST function curl_post($url, $header, $content) { $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, $u
阅读全文
posted @ 2021-08-24 10:30 一颗糊涂淡
阅读(401)
评论(0)
推荐(0)
2021年8月20日
php获取最近7天的日期
摘要: function getDateSeven($time = '', $format = 'Y-m-d') { $time = $time != '' ? $time : time(); //获取当前周几 // $week = date('w', $time); $date = []; for ($i
阅读全文
posted @ 2021-08-20 11:11 一颗糊涂淡
阅读(544)
评论(0)
推荐(0)
2021年7月30日
MySQL数据库设置远程访问权限方法
摘要: 转自:https://blog.csdn.net/echizao1839/article/details/94380916注意设置完成后需要执行 flush privileges; 1,设置访问单个数据库权限 mysql>grant all privileges on test.* to 'root
阅读全文
posted @ 2021-07-30 15:01 一颗糊涂淡
阅读(3913)
评论(0)
推荐(0)
php自动获取当前地址 协议+域名
摘要: $url = ((int)$_SERVER['SERVER_PORT'] == 80 ? 'http://' : 'https://') . $_SERVER['HTTP_HOST']
阅读全文
posted @ 2021-07-30 09:36 一颗糊涂淡
阅读(781)
评论(0)
推荐(0)
2021年7月28日
php对数字进行万。亿的转化
摘要: /** * 格式化数字 */ public function float_number($number){ $length = strlen($number); //数字长度 if($length > 8){ //亿单位 $str = substr_replace(strstr($number,su
阅读全文
posted @ 2021-07-28 11:19 一颗糊涂淡
阅读(371)
评论(0)
推荐(0)
fastadmin设置表格鼠标指上显示所有内容
摘要: { field: 'question', title: __('Question'), operate: false, formatter : function(value, row, index, field){ return "<span style='display: block;overfl
阅读全文
posted @ 2021-07-28 10:51 一颗糊涂淡
阅读(711)
评论(0)
推荐(0)
2021年7月27日
fastadmin设置超出部分显示。。。
摘要: { field: 'detail', title: __('Detail'), cellStyle: { css: { "max-width": "100px", "overflow": "hidden", "text-overflow": "ellipsis" } }, operate: fals
阅读全文
posted @ 2021-07-27 09:50 一颗糊涂淡
阅读(342)
评论(0)
推荐(0)
2021年7月20日
php数组转json 中文编码错乱解决
摘要: json_encode($arr,JSON_UNESCAPED_UNICODE) 在json_encode后面加上JSON_UNESCAPED_UNICODE
阅读全文
posted @ 2021-07-20 10:55 一颗糊涂淡
阅读(152)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
13
下一页
公告