diff --git a/content/post/0ea73090a5d54118b3ab9b730fe8fb40/index.zh-cn.md b/content/post/0ea73090a5d54118b3ab9b730fe8fb40/index.zh-cn.md index 4ea40df..515ff1b 100644 --- a/content/post/0ea73090a5d54118b3ab9b730fe8fb40/index.zh-cn.md +++ b/content/post/0ea73090a5d54118b3ab9b730fe8fb40/index.zh-cn.md @@ -115,4 +115,4 @@ image = "https://img.mitsea.com/blog/posts/2019/10/SQL%20Server%20%E8%A1%A8%E8%B 3. 目标数据库导入这个数据库后使用 insert 命令导入数据 - INSERT INTO dbname..sheetname SELECT * FROM dbname..sheetname. \ No newline at end of file + INSERT INTO dbname..sheetname SELECT * FROM dbname..sheetname. diff --git a/content/post/269e798744774d5f865260e6654d80cc/index.zh-cn.md b/content/post/269e798744774d5f865260e6654d80cc/index.zh-cn.md new file mode 100644 index 0000000..eacba8e --- /dev/null +++ b/content/post/269e798744774d5f865260e6654d80cc/index.zh-cn.md @@ -0,0 +1,56 @@ ++++ +author = "FlintyLemming" +title = "【归档】iOS 修改 崩坏3 狂野飙车9 的帧率上限" +slug = "269e798744774d5f865260e6654d80cc" +date = "2020-06-01" +description = "" +categories = ["Apple", "Game"] +tags = ["iOS", "崩坏3", "狂野飙车9"] +image = "https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/title.jpg?x-oss-process=style/ImageCompress" ++++ + +## 前排提示 + +1. 修改工具要钱。 +2. 修改是一次性的,游戏被杀掉后,再打开游戏需要重新修改。 +3. 本质为修改内存数值,这与绝大部分外挂的本质操作相同,封号自负。 + +## 具体步骤 + +1. 在 iGameGuardian 的[官网](http://igg-server.herokuapp.com)购买、安装 iGameGuardian + +2. 打开崩坏3,把帧率改成60fps + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/1.png?x-oss-process=style/ImageCompress) + +3. 打开 iGG,在“目标”里选择 bh3 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/2.png?x-oss-process=style/ImageCompress) + +4. 在“搜索”里点击“数值搜索”,搜索60,可以看到搜索很多很多值为60的项目。 + +5. 返回游戏,把帧率改成30。 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/3.png?x-oss-process=style/ImageCompress) + +6. 返回iGG,打开左上角的开关,点击“差值搜索”,搜索`-30`,即搜索60-30=30的数值 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/4.png?x-oss-process=style/ImageCompress) + +7. 此时可以看到之前数值为60的项目中,只有3个值现在是30 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/5.jpeg?x-oss-process=style/ImageCompress) + +8. 其实只有一两个值和FPS上限相关,可以重复之前的操作,改成60再搜一次,这里就不继续了。长按搜到的这三个值,保存起来。 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/6.png?x-oss-process=style/ImageCompress) + +9. 在“记录”中看到保存的三个值,点击“全改”,改成120,然后打开后面的开关,锁定数值。修改完毕。 + + ![](https://img.mitsea.com/blog/posts/2020/06/iOS%20%E4%BF%AE%E6%94%B9%20%E5%B4%A9%E5%9D%8F3%20%E7%8B%82%E9%87%8E%E9%A3%99%E8%BD%A69%20%E7%9A%84%E5%B8%A7%E7%8E%87%E4%B8%8A%E9%99%90/7.jpeg?x-oss-process=style/ImageCompress) + +## 证明有效 + +1. 以崩坏3为例,修改完后返回设置,修改帧率为60,保存后点击主页面时,仍然会提示你保存,说明已经无法修改与帧率上限有关的内存数值,也就是第9步锁死的那些数值。 + +2. Asphalt 9同理,修改完后,即使设置里修改为60fps,返回,再点开设置,发现又变成30fps。 diff --git a/content/post/3929551d08bd4bb0a8baa453e2d92b0c/index.zh-cn.md b/content/post/3929551d08bd4bb0a8baa453e2d92b0c/index.zh-cn.md new file mode 100644 index 0000000..c029076 --- /dev/null +++ b/content/post/3929551d08bd4bb0a8baa453e2d92b0c/index.zh-cn.md @@ -0,0 +1,101 @@ ++++ +author = "FlintyLemming" +title = "群晖 DSM 7.x 安装 哪吒监控 Agent" +slug = "3929551d08bd4bb0a8baa453e2d92b0c" +date = "2022-10-08" +description = "" +categories = ["HomeLab"] +tags = ["Synology", "哪吒监控"] +image = "https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/title.jpg?x-oss-process=style/ImageCompress" ++++ + +## 下载 Agent + +1. 先去哪吒的下载页下载符合自己群晖 CPU 架构的 Agent 客户端。我是 DS420+,Intel CPU,下载 nezha-agent_linux_amd64.zip。 + + + +2. 解压后,把里面的二进制文件随便放到一个地方 + + ![](https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/1.png?x-oss-process=style/ImageCompress) + +3. SSH 到群晖,使用 `sudo -i` 切换到 root 账号 +4. 找到刚才放进去的文件,共享文件夹一般在 /volume1 下面。刚才我是放在了 AppData 这个共享文件夹里,那二进制文件就在 /volume1/AppData 下 + + ![](https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/2.png?x-oss-process=style/ImageCompress) + +## 测试启动 + +首先要手动执行下二进制文件,确认使用正常。 + +1. 在 Dashboard 里创建一个新设备,获取链接密码 +2. 进到 agent 所在文件夹后,通过执行 ./nezha-agent 可以查看使用帮助 + + ![](https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/3.png?x-oss-process=style/ImageCompress) + +3. 基本上指定一下服务器地址和密码即可,命令为 + + ```bash + ./nezha-agent -s :<端口> -p <连接密码> + ``` + +4. 执行后,没报错,并且在 Web 上能看到信息就可以 + + ![](https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/4.png?x-oss-process=style/ImageCompress) + +5. 记下自己的执行命令,并把 `./` 替换成绝对路径,比如我的文件放在 `/volume1/AppData` 下,那我的执行命令就是 + + ```bash + /volume1/AppData/nezha-agent -s :<端口> -p <连接密码> + ``` + +## 配置服务 + +直接执行命令虽然能用,但是一关窗口就停止运行了。丢到 screen 里也不行,因为 Agent 会自动更新,更新时会停止进程。DSM 7 内置 systemctl 命令,可以很方便设置为系统服务,保活进程。 + +1. 在 `/usr/lib/systemd/system` 下创建一个 `nezha-agent.service` 文本文件 + + ```bash + vim /usr/lib/systemd/system/nezha-agent.service + ``` + + 内容如下 + + ```bash + [Unit] + Description=Nezha Agent + After=syslog.target + + [Service] + Type=simple + User=root + Group=root + ExecStart=<刚才记下的执行命令> + Restart=always + + [Install] + WantedBy=multi-user.target + ``` + +2. 加载配置文件 + + ```bash + systemctl daemon-reload + ``` + +3. 启动服务 + + ```bash + systemctl enable nezha-agent + systemctl start nezha-agent + ``` + +4. 查看状态 + + ```bash + systemctl status nezha-agent + ``` + + ![](https://img.mitsea.com/blog/posts/2022/10/%E7%BE%A4%E6%99%96%20DSM%207.x%20%E5%AE%89%E8%A3%85%20%E5%93%AA%E5%90%92%E7%9B%91%E6%8E%A7%20Agent/5.png?x-oss-process=style/ImageCompress) + +> Photo by [Steve Johnson](https://unsplash.com/@steve_j?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) diff --git a/content/post/720d39d0fbaa4fc1a75873c9403a23e6/index.zh-cn.md b/content/post/720d39d0fbaa4fc1a75873c9403a23e6/index.zh-cn.md new file mode 100644 index 0000000..b1bbc2c --- /dev/null +++ b/content/post/720d39d0fbaa4fc1a75873c9403a23e6/index.zh-cn.md @@ -0,0 +1,64 @@ ++++ +author = "FlintyLemming" +title = "【归档】Android SMS 转发到 Telegram" +slug = "720d39d0fbaa4fc1a75873c9403a23e6" +date = "2020-02-08" +description = "" +categories = ["Android", "LifeTec"] +tags = ["Telegram"] +image = "https://img.mitsea.com/blog/posts/2020/02/Android%20SMS%20%E8%BD%AC%E5%8F%91%E5%88%B0%20Telegram/title.jpg" ++++ + +项目地址:[https://github.com/qwe7002/telegram-sms](https://github.com/qwe7002/telegram-sms) + +作者:qwe7002 + +最近购入了一部 Android 备用机,主要拿来开热点、收短信。但是一般都放在包里,如果需要查看两步验证短信就很麻烦。正好 qwe7002 也做了个工具,可以转发短信到 Telegram 上,这里简单介绍下配置步骤。 + +### 获取一只 Telegram Bot + +1. 浏览器中打开这个网址:[https://telegram.me/botfather](https://telegram.me/botfather) ,会跳转到与 BotFather 的对话中。 +2. 点击 + + /start + + 再点击 + + /newbot + +3. 接下来他会询问你要创建的机器人的名称(Alright, a new bot. How are we going to call it? Please choose a name for your bot.),自己起一个名称 +4. 然后会询问你机器人的ID,必须要以 "bot" 结尾(Good. Now let's choose a username for your bot. It must end in `bot`. Like this, for example: TetrisBot or tetris_bot.),自己起一个,只能用英文 +5. 然后他会给你一个 token,大概是这样,记下这一串字符,冒号左右一起的 + + Use this token to access the HTTP API: + xxxxxxxx:xxxxxxxxxxxxxx + +### 配置App + +1. 从文章开头的地址下载 Android 端 apk 安装包并安装,打开,如图 + + ![](https://img.mitsea.com/blog/posts/2020/02/Android%20SMS%20%E8%BD%AC%E5%8F%91%E5%88%B0%20Telegram/1.jpg) + +2. 在“机器人令牌”处填写刚才获得的 token +3. 在 Telegram 上给机器人发一句话,内容任意(一句可能不行,多发几句x) +4. 回到 App ,点击 “获取最近的对话ID”,就会获得对话ID +5. “可信的电话号码”可以填写一个,用来使用短信操控 Bot +6. 下面可以选择附加功能,如“监控电池状态变动”,用来发送手机低电量和充电提醒 +7. 最后点击“测试并保存”,Telegram Bot 上提示如下消息说明配置完毕 + + [系统信息] + 您已成功连接到 Telegram bot 服务器。 + +### 其他 + +对机器人发送 /start 可以获取命令 + + [系统信息] + 可用命令: + /getinfo - 获取系统信息 + /sendsms - 发送短信 + /sendsms2 - 使用第二个卡槽发送短信 + +### 效果展示 + +![](https://img.mitsea.com/blog/posts/2020/02/Android%20SMS%20%E8%BD%AC%E5%8F%91%E5%88%B0%20Telegram/2.jpg)