首页
统计
友链
留言
推荐
信息
状态
Search
1
米哈游 原神 闪退崩溃 解决
12,808 阅读
2
Linux 网络优化加速一键脚本
1,296 阅读
3
腾讯 BBR-TCPA
1,228 阅读
4
AppNode 迁移主控节点数据
1,058 阅读
5
网络安装或重装系统 [Linux/Windows]
1,041 阅读
Fate博客 - Typecho
登录
Search
Fate
累计撰写
30
篇文章
累计收到
10
条评论
首页
栏目
Fate博客 - Typecho
页面
统计
友链
留言
推荐
信息
状态
搜索到
30
篇与
的结果
2023-01-26
CloudFlare反代网站
域名反代,实现加速某些网站或者接口。通过Cloudflare Workers实现反代addEventListener( "fetch",event => { let url=new URL(event.request.url); url.hostname="raw.githubusercontent.com"; //你需要反代的域名 let request=new Request(url,event.request); event. respondWith( fetch(request) ) } )通过Cloudflare Pages实现反代addEventListener('fetch', event => { event.respondWith(proxy(event)); }); async function proxy(event) { const getReqHeader = (key) => event.request.headers.get(key); let url = new URL(event.request.url); url.hostname = "raw.githubusercontent.com"; let parameter = { headers: { 'Host': 'raw.githubusercontent.com', 'User-Agent': getReqHeader("User-Agent"), 'Accept': getReqHeader("Accept"), 'Accept-Language': getReqHeader("Accept-Language"), 'Accept-Encoding': getReqHeader("Accept-Encoding"), 'Connection': 'keep-alive', 'Cache-Control': 'max-age=0' } }; if (event.request.headers.has("Referer")) { parameter.headers.Referer = getReqHeader("Referer"); } if (event.request.headers.has("Origin")) { parameter.headers.Origin = getReqHeader("Origin"); } return fetch(new Request(url, event.request), parameter); }
2023年01月26日
43 阅读
0 评论
0 点赞
2022-12-28
云崽机器人
【机器人框架】https://gitee.com/Le-niao/Yunzai-Bothttps://github.com/Le-niao/Yunzai-Bot【相关文档】https://github.com/Le-niao/Yunzai-Bot/issues/3https://github.com/Le-niao/Yunzai-Bot/issues/557【机器人插件】Yunzai-Bot插件索引https://gitee.com/yhArcadia/Yunzai-Bot-plugins-indexffmpeghttps://gitee.com/baihu433/ffmpegMiao-Pluginhttps://gitee.com/yoimiya-kokomi/miao-pluginhttps://github.com/yoimiya-kokomi/miao-pluginYenai-Pluginhttps://gitee.com/yeyang52/yenai-pluginhttps://github.com/yeyang52/yenai-pluginAtlashttps://gitee.com/Nwflower/atlashttps://github.com/Nwflower/atlasflower-pluginhttps://gitee.com/Nwflower/flower-pluginhttps://github.com/Nwflower/flower-pluginEarth-K-Pluginhttps://gitee.com/SmallK111407/earth-k-pluginhttps://github.com/SmallK111407/earth-k-pluginxiaofei-pluginhttps://gitee.com/xfdown/xiaofei-pluginhttps://github.com/xfdown/xiaofei-pluginxitian-pluginhttps://gitee.com/XiTianGame/xitian-pluginhttps://github.com/XiTianGame/xitian-pluginrconsole-pluginhttps://gitee.com/kyrzy0416/rconsole-pluginRecreation-pluginhttps://github.com/QiuLing0/recreation-plugin【绑定账户相关内容】抓通行证软件https://gitee.com/Divinationhw/Yunzai-Bot-YJHQ手动抓通行证https://docs.qq.com/doc/DTkVGY1NIYm1jbE9x账户过验证码https://docs.qq.com/doc/DTnB4Qkh1RGRCeVFU精简抓取过程1.浏览器打开并登录https://user.mihoyo.com/#/login/captcha2.点击键盘【F12】打开【开发者工具-控制台(Console)】执行下面命令document.cookie.replace('smid','')3.把通行证''里面的内容私聊发送给机器人会提示绑定成功可以【#刷新ck】试试是否正常
2022年12月28日
115 阅读
0 评论
0 点赞
2022-12-08
Proxmox笔记
Proxmox官网https://www.proxmox.com/Virt-Viewer桌面https://www.spice-space.org/download.htmlWindows-Virtio驱动https://github.com/virtio-win/virtio-win-pkg-scriptshttps://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/部分常用文件路径网络接口参数路径【 /etc/network/interfaces 】auto lo iface lo inet loopback iface ens160 inet manual auto vmbr0 iface vmbr0 inet static address 10.0.0.128/24 #地址 gateway 10.0.0.1 #网关 bridge-ports ens160 bridge-stp off bridge-fd 0本地机器参数路径【 /etc/resolv.conf 】search fate.vip #机器名字 nameserver 119.29.29.29 #域名系统本机域名文件路径【 /etc/hosts 】127.0.0.1 localhost.localdomain localhost 10.0.0.128 fate.vip pve #开机显示内容地址是获取这地址 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts开机显示内容路径【 /etc/issue 】------------------------------------------------------------------------------ Welcome to the Proxmox Virtual Environment. Please use your web browser to configure this server - connect to: https://10.0.0.128:8006/ #获取本机域名文件地址 ------------------------------------------------------------------------------qm工具命令用法:qm <命令> [参数] [选项] USAGE: qm <COMMAND> [ARGS] [OPTIONS] ———— 例如当前目录 `Fate.vmdk` 磁盘文件导入进去 `ID-100` 这台虚拟机的 `NVME` 磁盘里保存为 `qcow2` 文件 qm importdisk 100 Fate.vmdk NVME --format=qcow2 ———— qm 来宾 cmd <vmid> <命令> qm guest cmd <vmid> <command> qm 来宾执行状态 <vmid> <pid> qm guest exec-status <vmid> <pid> qm 来宾 密码 <vmid> <用户名> [选项] qm guest passwd <vmid> <username> [OPTIONS] qm 来宾 执行 <vmid> [<额外参数>] [选项] qm guest exec <vmid> [<extra-args>] [OPTIONS] ———— qm 克隆 <vmid> <newid> [选项] qm clone <vmid> <newid> [OPTIONS] qm 配置 <vmid> [选项] qm config <vmid> [OPTIONS] qm 创建 <vmid> [选项] qm create <vmid> [OPTIONS] qm 删除快照 <vmid> <快照名称> [选项] qm delsnapshot <vmid> <snapname> [OPTIONS] qm 销毁 <vmid> [选项] qm destroy <vmid> [OPTIONS] qm 列表 [选项] qm list [OPTIONS] qm 快照列表 <vmid> qm listsnapshot <vmid> qm 迁移 <vmid> <目标> [选项] qm migrate <vmid> <target> [OPTIONS] qm 移动磁盘 <vmid> <磁盘> [<存储>] [选项] qm move-disk <vmid> <disk> [<storage>] [OPTIONS] qm 挂起 <vmid> qm pending <vmid> qm 重启 <vmid> [选项] qm reboot <vmid> [OPTIONS] qm 重置 <vmid> [选项] qm reset <vmid> [OPTIONS] qm 调整大小 <vmid> <磁盘> <大小> [选项] qm resize <vmid> <disk> <size> [OPTIONS] qm 恢复 <vmid> [选项] qm resume <vmid> [OPTIONS] qm 回滚 <vmid> <快照名称> qm rollback <vmid> <snapname> qm 发送密钥 <vmid> <密钥> [选项] qm sendkey <vmid> <key> [OPTIONS] qm 设置 <vmid> [选项] qm set <vmid> [OPTIONS] qm 关闭 <vmid> [选项] qm shutdown <vmid> [OPTIONS] qm 快照 <vmid> <快照名称> [选项] qm snapshot <vmid> <snapname> [OPTIONS] qm 启动 <vmid> [选项] qm start <vmid> [OPTIONS] qm 停止 <vmid> [选项] qm stop <vmid> [OPTIONS] qm 暂停 <vmid> [选项] qm suspend <vmid> [OPTIONS] qm 模板 <vmid> [选项] qm template <vmid> [OPTIONS] qm 取消链接 <vmid> --idlist <字符串> [选项] qm unlink <vmid> --idlist <string> [OPTIONS] ———— qm 导入磁盘 <vmid> <目录> <存储> [选项] qm importdisk <vmid> <source> <storage> [OPTIONS] qm 导入ovf <vmid> <清单> <存储> [选项] qm importovf <vmid> <manifest> <storage> [OPTIONS] ———— qm 帮助 [<额外参数>] [选项] qm help [<extra-args>] [OPTIONS]绕过程序的虚拟机检测相关链接https://www.wunote.cn/article/4801/https://forum.proxmox.com/threads/hide-vm-from-guest.34905/配置文件/etc/pve/qemu-server/<vm-id>.conf插入内容args: -cpu 'host,-hypervisor,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,kvm=off,hv_vendor_id=intel'硬件直通相关链接https://www.amd.com/https://www.intel.cn/https://zhuanlan.zhihu.com/p/50640466https://www.nasge.com/archives/137.htmlhttps://foxi.buduanwang.vip/yj/561.html/没开启直通会出现如下提示No IOMMU detected, please activate it.See Documentation for further information.一、检查CPU和主板是否支持直通功能部分相关名字【 VT-D、IOMMU、SR-IOV 】二、开启IOMMU功能1.修改文件文件路径【 /etc/default/grub 】文件找到这个内容GRUB_CMDLINE_LINUX_DEFAULT="quiet"2.改成下面对应内容AMDGRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"IntelGRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"3.更新系统文件配置update-grub4.重启系统reboot5.测试功能正常情况输出内容没有内容开启失败dmesg | grep -e DMAR -e IOMMU6.增加虚拟化驱动和系统模块文件路径【 /etc/modules 】添加内容vfio vfio_iommu_type1 vfio_pci vfio_virqfd偷懒命令echo vfio >> /etc/modules echo vfio_iommu_type1 >> /etc/modules echo vfio_pci >> /etc/modules echo vfio_virqfd >> /etc/modules重新按照4-5流程操作建议把直通的机器【开机自启】关闭防止玩直通冲突时候进不去系统解决关机重启假死一般是没有安装【Guest Agent】导致无法控制正常开关机,可以先安装试试不行再强制关闭。#CentOS yum install qemu-guest-agent -y #Debian&Ubuntu apt install qemu-guest-agent -y强制关闭ps -ef|grep "/usr/bin/kvm -id ****" |grep -v grep kill ****
2022年12月08日
45 阅读
0 评论
0 点赞
2022-11-14
CloudFlare CDN后获取真实的IP
配置文件HTTP大括号里增加如下参数,即可解决获取的是CloudFlare CDN节点IP问题。 set_real_ip_from 0.0.0.0/0; real_ip_header X-Forwarded-For;
2022年11月14日
36 阅读
0 评论
0 点赞
2022-11-05
小米Fastboot提示
小米Fastboot模式提示【Press any key to shutdown】,解决方法。使用记事本写入如下内容进Bat文件,并且【以管理员身份运行】即可解决问题。@echo off reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f pause
2022年11月05日
30 阅读
0 评论
0 点赞
2022-10-25
Windows11系统跳过联网激活
激活界面按快捷键【Shift】+【F10】,输入如下代码即可。oobe\BypassNRO.cmd系统版本【22H2】内部版本【22621.675】已经测试系统版本,包括在此之前系统版本可以正常使用。联网界面会多一个【我没有 Internet 连接】选项,系统跳过联网激活。
2022年10月25日
20 阅读
1 评论
0 点赞
2022-04-28
Adb和Fastboot常用命令
Adb命令【 点击进入 】Adb下载【 点击进入 】Fastboot刷写设备【 点击进入 】SDK Platform-Tools项目【 点击进入 】SDK Platform-Tools[Adb+Fastboot]下载【 点击进入 】【Adb常用命令】设备列表【adb devices】连接设备【adb shell】重启设备【adb reboot】重启设备进入BootLoader【adb reboot bootloader】启用【adb shell pm enable [包名]】禁用【adb shell pm disable-user [包名]】【Fastboot常用命令】设备列表【fastboot devices】获取设备相关信息【fastboot getvar all】重启设备【fastboot reboot】关闭设备【fastboot oem poweroff】重启设备进入Fastboot【fastboot reboot-bootloader】擦除分区【fastboot erase [分区]】写入分区【fastboot flash [分区] [文件].img】显示状态【fastboot oem get-bootinfo】锁定[LOCKED]解锁[UNLOCKED]解锁【fastboot oem unlock】[老款设备]【fastboot flashing unlock】[新款设备]上锁【fastboot oem lock】[老款设备]【fastboot flashing lock】[新款设备]
2022年04月28日
185 阅读
0 评论
0 点赞
2022-03-04
MySQL笔记
MySQL-8.0数据导入MySQL-5.*及以更低版本数据到数据库1.使用【Navicat Premium 15】-【工具】-【数据传输】。2.【目标】选择【文件】,去掉【与源服务器相同】然后选择想要降到的版本。3.然后使用WinHex替换文件文本。【utf8mb4_0900_ai_ci】替换内容【utf8_general_ci】 【utf8mb4_general_ci】替换内容【utf8_general_ci】 【utf8_croatian_ci】替换内容【utf8_general_ci】 【utf8mb4】替换内容【utf8】
2022年03月04日
72 阅读
0 评论
1 点赞
1
2
...
4