会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
76
77
78
79
80
81
82
83
84
···
133
下一页
2021年4月1日
CSS3弹性盒子align-items属性之center垂直居中
摘要: div{ display:flex; align-items:center; }
阅读全文
posted @ 2021-04-01 13:43 盘思动
阅读(2433)
评论(0)
推荐(0)
2021年3月6日
百度地图根据经纬度获取实际地理位置Api接口
摘要: public function lonlat_info(){ $url = 'http://api.map.baidu.com/reverse_geocoding/v3/?ak=**********&output=json&coordtype=bd09ll&location=33.351943643
阅读全文
posted @ 2021-03-06 17:19 盘思动
阅读(1300)
评论(0)
推荐(0)
2021年3月4日
HTML禁止鼠标右键保存图片,禁止拖动图片,禁止复制文章内容代码
摘要: 在body里面加上如下代码: <body oncontextmenu=self.event.returnValue=false onselectstart="return false"> 参考:https://www.henenseo.com/archives/2001, 实测有效,右击网页无反应了
阅读全文
posted @ 2021-03-04 18:24 盘思动
阅读(667)
评论(0)
推荐(0)
mac php上传图片500 错误
摘要: 问题描述 brew 部署的php开发环境,后台上传图片遇到nginx500 错误 一开始怀疑php对上传图片的错误 开启php错误日志,上传图片,没记录错误日志 1.php错误日志排查 ini_set("display_errors","On"); error_reporting(E_ALL); p
阅读全文
posted @ 2021-03-04 15:30 盘思动
阅读(204)
评论(0)
推荐(0)
2021年3月3日
vscode 文件内 替换快捷键--mac操作
摘要: Command + F 查找 Command + Option + F 替换
阅读全文
posted @ 2021-03-03 18:16 盘思动
阅读(1284)
评论(1)
推荐(0)
VSCode 常用快捷键 Mac
摘要: 一.删除整行:command+shift+k 二.删除所有空行: 1.输入Command + Option + F打开替换栏 2.输入正则匹配:^\s*(?=\r?$)\n 3.选择全部替换为空 基本 Command + X 剪切(未选中文本的情况下,剪切光标所在行) Command + C 复制(
阅读全文
posted @ 2021-03-03 17:30 盘思动
阅读(909)
评论(0)
推荐(1)
2021年2月25日
如何用命令终端查看mac的 ssd使用和损耗情况
摘要: 苹果尚未对此事做出回应,有猜测可通过系统升级解决。也有观点认为, 大家借助的是终端里的“Smart Monitoring Tools”来读取SSD数据 (brew install smartmontools && sudo smartctl --all /dev/disk0), 不能说一定准确,至少
阅读全文
posted @ 2021-02-25 16:21 盘思动
阅读(1525)
评论(0)
推荐(0)
2021年2月23日
长链接测试js
摘要: 长链接测试网页:http://coolaf.com/tool/chattest // var intervalID = setInterval(() => { // console.log('gggg'); // getImg() // }, 3000); // function getImg()
阅读全文
posted @ 2021-02-23 17:51 盘思动
阅读(144)
评论(0)
推荐(0)
nginx http https 配置案例
摘要: linux nginx 配置 server{ listen 80; server_name www.worldsipo.com; index index.html index.htm index.php; root /home/wwwroot/default/*****/public; #error
阅读全文
posted @ 2021-02-23 14:48 盘思动
阅读(156)
评论(0)
推荐(0)
http访问转为https
摘要: 1.https 监听443端口 将listen 80 改为443 2. ssl 引入使用https时阿里云提供的秘钥 这个秘钥我们放入nginx/conf/cert 下面 然后引入 ssl on; ssl_certificate 文件位置/nginx/conf/cert/2424404_******
阅读全文
posted @ 2021-02-23 14:45 盘思动
阅读(422)
评论(1)
推荐(0)
上一页
1
···
76
77
78
79
80
81
82
83
84
···
133
下一页
公告