会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
迷途
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2023年3月17日
ThinkPHP6.x 关闭调试
摘要: 我发现修改.env文件里的APP_TRACE=false仍然无法关闭页面右下角的调试图标 1.创建一个类app/common/libs/NullTrace.php <?php namespace app\common\libs; use think\App; use think\Response;
阅读全文
posted @ 2023-03-17 10:50 _迷途
阅读(370)
评论(0)
推荐(0)
2023年3月16日
php项目常见的gitignore
摘要: /.idea/ /.vscode/ /vendor/ /runtime/ /public/uploads/ /public/upload/ /.DS_Store/ /thinkphp/ *.log .env .DS_Store .htaccess /public/.htaccess .user.in
阅读全文
posted @ 2023-03-16 17:01 _迷途
阅读(201)
评论(0)
推荐(0)
2023年3月15日
OpenWRT 偶尔丢包的解决办法
摘要: 解决办法①:设置网卡缓存: 输入代码查看当前缓存大小: ethtool -g eth0 然后编辑这个文件: vim /etc/rc.local 将以下内容填写到配置文件中: ethtool -G eth0 tx 2048 ethtool -G eth0 rx 2048 来源:https://blog
阅读全文
posted @ 2023-03-15 20:42 _迷途
阅读(2358)
评论(0)
推荐(0)
2023年3月1日
ThinkPHP5 创建一个应用
摘要: php think build --module test 新建一个test应用
阅读全文
posted @ 2023-03-01 13:52 _迷途
阅读(41)
评论(0)
推荐(0)
Win10共享访问无需密码的设置解决方法(win10设置共享不需要密码怎么办)
摘要: Win10设置共享访问时总是提示输入用户名和密码!如何解决? 以下设置适用于Win7、Win8、Win8.1、Win10在设置共享后,其它电脑访问共享时提示需要密码的解决方法。(达到目的有很多途径,此方法仅供参考) 1、计算机(右键)>管理>本地用户和组>Guest(右键-设置密码-确定)即空密码。
阅读全文
posted @ 2023-03-01 09:52 _迷途
阅读(5394)
评论(0)
推荐(0)
2023年2月28日
类似360网址导航的模板代码
摘要: 代码如下: 图片下载后,把扩展名的jpg改成zip
阅读全文
posted @ 2023-02-28 00:21 _迷途
阅读(26)
评论(0)
推荐(0)
2023年1月18日
VMware Workstation Pro 17激活码
摘要: Free VMware Workstation Pro 17 full license keys Install VMWare Workstation PRO 17 (Read it right. PRO!) *If you have a problem comment and people wil
阅读全文
posted @ 2023-01-18 14:09 _迷途
阅读(1500)
评论(0)
推荐(0)
2023年1月10日
Python获取URL图片文件的哈希值 hash
摘要: pip install Pillow import hashlib from io import BytesIO def get_hash(file): """ :param bytes file: :return: """ md5hash = hashlib.md5(Image.open(file
阅读全文
posted @ 2023-01-10 15:04 _迷途
阅读(389)
评论(0)
推荐(0)
2022年12月23日
PHP通过数据库的方式递归查询当前分类ID的所有子分类ID
摘要: /** * 通过数据库的方式递归查询当前分类ID的所有子分类ID * @param $id * @return array * @throws DataNotFoundException * @throws DbException * @throws ModelNotFoundException *
阅读全文
posted @ 2022-12-23 23:26 _迷途
阅读(168)
评论(0)
推荐(0)
PHP通过数据库递归的方式查找当前分类ID的所有上级ID
摘要: /** * 通过数据库递归的方式查找当前分类ID的所有上级ID * @throws ModelNotFoundException * @throws DbException * @throws DataNotFoundException */ public function findAllParen
阅读全文
posted @ 2022-12-23 23:13 _迷途
阅读(135)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告