1 2 3 4 5 ··· 9 下一页
摘要: 小米8 Lite 伪装三星手机 完整操作指南(总结版) 📌 核心步骤总结 准备工作 已解锁Bootloader 已安装Magisk(建议v27.0+) 电脑安装ADB工具 一键执行命令(ADB或Termux) bash su # 清理旧模块(如有) rm -rf /data/adb/modules 阅读全文
posted @ 2025-07-24 22:12 i金少 阅读(52) 评论(0) 推荐(0)
摘要: 我们现在要创建文章表,并往里面填充测试数据 1,创建model并建立迁移(迁移目的是定义表结构) php artisan make:model -m Models/Post -m 是migration的缩写,就是创建一个定义表:posts 字段的类这句命令运行完会创建两个类 2,定义表posts的字 阅读全文
posted @ 2025-05-18 16:01 i金少 阅读(15) 评论(0) 推荐(0)
摘要: 看以下代码 class ParentClass { public function parentMethod() { print_r(get_class($this)); //输出 ChildClass $this->get(); //这时候的this 是 ChildClass的对象 输出:子类的方 阅读全文
posted @ 2024-12-06 18:57 i金少 阅读(12) 评论(0) 推荐(0)
摘要: <?php //var_dump(function_exists("register_shutdown_function")); //根据参数控制是否开启xhprof if ((rand(1, 100) >= 1 || !empty($_GET['xhprof'])) && PHP_SAPI != 阅读全文
posted @ 2024-08-29 11:00 i金少 阅读(14) 评论(0) 推荐(0)
摘要: 最近需要备份一个库,1.1T,最大的表45G,使用常用的mysqldumper 备份的时候,调整各种mysql参数配置都一直报Lost connection mysqldump --databases edm -hlocalhost --triggers --routines --events -P 阅读全文
posted @ 2024-08-22 16:07 i金少 阅读(154) 评论(0) 推荐(0)
摘要: 安装mysql 提示 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql The GPG keys listed for the "MySQL 8.0 Community Server" repository are alrea 阅读全文
posted @ 2024-08-12 19:08 i金少 阅读(2423) 评论(0) 推荐(0)
摘要: 1、打开cloudfront 控制台,点击“创建分配” https://us-east-1.console.aws.amazon.com/cloudfront/v4/home?region=us-east-1#/distributions 在创建界面选择创建好的负载均衡 然后协议选择仅http 到证 阅读全文
posted @ 2024-07-14 21:45 i金少 阅读(685) 评论(0) 推荐(0)
摘要: 服务器上有时候需要安装ftp以便调试或给不懂使用服务器命令的同学更新文件 1、安装vsftpd yum update yum install vsftpd 2、编辑配置文件 确保以下配置的值和下面一致 anonymous_enable=NO local_enable=YES write_enable 阅读全文
posted @ 2024-07-09 11:48 i金少 阅读(1039) 评论(0) 推荐(0)
摘要: scrapy 是很强大的模块化爬虫框架,具有很高的灵活性,使用频率很高,使用该框架能大大提高开发效率,scrapy-redis是在scrapy框架开发了组件,替换队列部分,实现多台服务器并行运行爬虫,提高爬取速度。下面是用最简单的例子从建立普通scrapy爬虫,然后数据保存mysql ,最后简单替换 阅读全文
posted @ 2024-01-17 19:25 i金少 阅读(103) 评论(0) 推荐(0)
摘要: selentium 要和chrome版本一致,找了很久119版本chrome的selentium,终于找到并测试通过可以使用,更新的版本也有 1、下载chrome for testing ,这个很适合用来做自动化测试和爬虫,因为不会自动升级 https://googlechromelabs.gith 阅读全文
posted @ 2023-11-22 08:39 i金少 阅读(597) 评论(0) 推荐(0)
1 2 3 4 5 ··· 9 下一页