会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
66
67
68
69
70
71
72
73
74
···
133
下一页
2022年1月5日
php 用redis实现购物车底层代码
摘要: <?php class Red { static private $redis = NULL; private $_red = NULL; private $_return_data = NULL; static public function create() { if(self::$redis)
阅读全文
posted @ 2022-01-05 11:50 盘思动
阅读(100)
评论(0)
推荐(0)
2022年1月4日
域名对file_get_contents可以设置禁用
摘要: 具体在哪里设置的,我也不是很清楚,没找到 我2个域名指向一个项目的,服务器环境,nginx配置都是相同的 其中一个域名是政府的,org后缀,用file_get_contents 获取政府域名的图片内容,怎么都获取不到。另外一个测试的可以. 后来改用图片在服务器环境的链接 ,从根目录开始一层层往下走的
阅读全文
posted @ 2022-01-04 14:50 盘思动
阅读(105)
评论(0)
推荐(0)
2022年1月3日
电脑通过系统u盘安装windows7
摘要: 仅仅针对我自己台式电脑 1.F11进入bios 2.机械键盘接入慢,会错过按F11机会 3.系统盘得在分区后,gho文件放分区后的c盘里才能读取到 就放里面就行的,突然好的。
阅读全文
posted @ 2022-01-03 17:48 盘思动
阅读(52)
评论(0)
推荐(0)
2021年12月29日
查找文件夹中包含某字符的文件和行数
摘要: grep str -rn filedir zb@zbdeMacBook-Pro servers % grep sqjk -rn ./ .//sqjk.conf:3: server_name local.sqjk.org; #域名名称 .//sqjk.conf:5: root /Users/zb/ww
阅读全文
posted @ 2021-12-29 15:57 盘思动
阅读(182)
评论(1)
推荐(0)
2021年12月28日
PHP的生成器yield处理大量数据杠杠
摘要: 官方解释yield yield生成器是php5.5之后出现的,官方文档这样解释:yield提供了一种更容易的方法来实现简单的迭代对象,相比较定义类实现 Iterator 接口的方式,性能开销和复杂性大大降低。 生成器的核心是一个yield关键字,一个生成器函数看起来像一个普通的函数,不同的是:普通函
阅读全文
posted @ 2021-12-28 11:18 盘思动
阅读(299)
评论(0)
推荐(0)
2021年12月25日
vue报错: Invalid value for option “methods“: expected an Object, but got Function.
摘要: 报错信息: Invalid value for option “methods”: expected an Object, but got Function. 大致错误信息为: methods 希望是一个对象,但是得到了一个函数 错误代码 : methods(){ test(){ console.l
阅读全文
posted @ 2021-12-25 16:13 盘思动
阅读(1074)
评论(0)
推荐(0)
2021年12月24日
direction: rtl;
摘要: direction: rtl; right to left demo1:不仅仅文字倒序了,而且整体到div右边了 <style> .direction{ direction:rtl; } </style> <body> <div class="direction"> <span>1</span> <
阅读全文
posted @ 2021-12-24 16:17 盘思动
阅读(65)
评论(0)
推荐(0)
2021年12月23日
u-tabs 下划线在微信端不出来
摘要: <u-tabs :list="lists" sticky :current="current" @change="changetype" :scrollable="false" lineColor="#3e16bd" :activeStyle="{color: '#3e16bd',fontWeigh
阅读全文
posted @ 2021-12-23 15:06 盘思动
阅读(544)
评论(0)
推荐(0)
2021年12月13日
uview-ui 引入 easycom 不用每个页面都引入
摘要: 注意 变动easycom 里内容,需要停止编辑,再次编辑才会生效 page.json "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" // uview-ui 默认从node_modules下开始查找的。 } 由于uView使用e
阅读全文
posted @ 2021-12-13 10:56 盘思动
阅读(2373)
评论(0)
推荐(0)
2021年12月9日
强制html以https格式访问引入文件
摘要: <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 页面上存在这一行meta,等同于在header中添加 Content-Security-Policy 为true, 会将页面中的http请求
阅读全文
posted @ 2021-12-09 10:19 盘思动
阅读(758)
评论(0)
推荐(0)
上一页
1
···
66
67
68
69
70
71
72
73
74
···
133
下一页
公告