-
AI Project Context Generator
...
25 年 4 月 10 日 星期四 (已编辑)1285 字7 分钟继续阅读 -
开发环境一键部署脚本code.sh
...
25 年 4 月 7 日 星期一 (已编辑)1358 字7 分钟继续阅读 -
windows 下连接ssh提示Bad permissions的解决方法
This blog post describes how to resolve a "Bad permissions" error when connecting to a remote server via SSH. The error, specifically referencing a problem with the `.ssh/config` file, arises from incorrect file permissions. The solution involves removing all existing permissions on the `.ssh` folder and then explicitly granting full control to the current user. This is achieved by navigating to the `.ssh` directory, accessing its properties, uninheriting permissions, and adding the current user with full access rights. After these permissions adjustments, the SSH connection was successfully established. The post provides a concise step-by-step guide to resolving common SSH permission issues.
25 年 3 月 7 日 星期五 (已编辑)185 字1 分钟继续阅读 -
解决自建不算子接入butterfly后一直转圈的问题
这篇文章介绍了如何修改Busuanzi网站访问统计计数器的JavaScript代码,以适应其API的更新。 原代码中 `busuanzi_page_pv` 变量已更改为 `busuanzi_value_page_pv`,文章提供了修正后的JavaScript代码片段。该代码通过XMLHttpRequest向指定的API(可自定义)发送POST请求,获取网站访问量(PV、UV等)数据,并将其显示在页面上。代码包含了错误处理、数据格式化(支持逗号分隔、简写格式)和PJAX支持,使其能够在页面动态更新时正确显示计数器。 文章特别强调需要将代码中的API地址替换为用户自己的API地址,并建议用户理解代码逻辑后进行修改和使用。
25 年 2 月 8 日 星期六 (已编辑)224 字2 分钟继续阅读 -
解决服务器smtp端口出站流量被阻断
本文介绍了如何解决Alicenetwork VPS无法通过阿里云企业邮SMTP服务器发信的问题。由于疑似上游阻断或阿里云限制,作者建议使用华为云服务器作为反向代理,转发邮件到阿里云SMTP服务器。 文章推荐使用WireGuard或EasyTier进行服务器组网,并详细描述了在Ubuntu/Debian系统上安装Nginx,以及配置Nginx作为反向代理,监听465端口并将邮件转发到`smtp.qiye.aliyun.com:465`。最后,文章简述了使用1Panel简化配置的方法,只需修改`/etc/hosts`文件即可。 总而言之,本文提供了一种绕过网络限制发送邮件的解决方案,并提供了详细的配置步骤。
25 年 2 月 7 日 星期五 (已编辑)206 字2 分钟继续阅读 -
netcup g11s测评
This blog post details the experience of purchasing a high-bandwidth VPS from Netcup, focusing on the complexities encountered during the account verification process, including KYC (Know Your Customer) requirements and slow customer support response times. The VPS specifications include 1 vCore, 1 GB RAM, 30 GB SSD, and a 1 Gbps connection with throttling to 100 Mbps if average traffic exceeds this limit. Performance tests using sysbench, lemonbench, and fio reveal decent CPU and memory speeds, with impressive sequential read/write disk speeds, but slower random I/O. Stream media testing shows varying success, with Netflix Originals only, but successful access to YouTube and Disney+. IP quality checks show a low risk profile but indicate the IP is identified as a data center IP and sometimes a proxy/VPN. The overall conclusion suggests the VPS is suitable for high-bandwidth tasks, especially when paired with a CDN, but the onboarding process presents significant challenges. The extensive testing data, including detailed speed tests, backtrace routes, and IP quality reports are included in the original post.
25 年 2 月 7 日 星期五 (已编辑)4008 字21 分钟继续阅读 -
已经有人因为崩铁魔怔了😂
"难绷" is a Chinese internet slang term expressing a feeling of intense discomfort, helplessness, or being unable to contain one's emotions. It suggests a situation so absurd or frustrating that it's almost comical, yet also deeply unsettling. The feeling is often a mix of amusement and exasperation, similar to "I can't even" or "it's too much" in English. The word itself implies a feeling of pressure building up to the point of breaking. It's often used in online communities to react to unexpected or overwhelming situations, funny failures, or intensely cringeworthy moments. Essentially, "难绷" captures that feeling of being simultaneously amused and deeply disturbed by something.
25 年 2 月 7 日 星期五 (已编辑)2 字1 分钟继续阅读 -
关于我离开云湖的声明
本文是作者告别云湖平台的声明。作者使用了该平台近三年,见证了其发展,但也指出其动画僵硬、UI设计欠佳、API不完善等不足。 尽管开发者能及时解决问题,但作者认为云湖仍处于半成品阶段,与其他同类产品相比劣势明显,且成熟所需时间过长,许多操作依赖用户权限,甚至需要开发者手动处理垃圾和色情广告,以及应对黑产攻击。 因此,作者决定停用所有机器人账号并注销所有相关账户,不再返回云湖平台。他将公开其在云湖平台开发的机器人源码,并采用MIT许可证,允许他人自由使用和修改,但不会再提供任何支持或维护。 作者最后表达了对云湖的开发者和平台的祝福,并暗示将会转向其他平台发展。
25 年 1 月 31 日 星期五 (已编辑)377 字2 分钟继续阅读 -
云湖群管理bot(指令版)
This blog post introduces a Python bot for managing Yunhu (云湖) social app groups. Unlike the cumbersome official methods, this bot streamlines tasks like banning, unbanning, kicking members, deleting messages, and managing temporary administrators via simple commands (!ban, !unban, !kick, !delmsg, !addadmin, !deladmin). The bot's source code, while encrypted using PyArmor, is publicly available on GitHub and designed to store data securely on a user's own MySQL server, preventing third-party access. The post provides detailed instructions for installation (using `pip install -r requirements.txt`), configuration (setting environment variables like TOKEN and MYSQL credentials), and deployment. It also explains how to obtain necessary tokens and includes troubleshooting tips. The bot offers a significantly improved user experience for group management within the Yunhu app.
25 年 1 月 30 日 星期四 (已编辑)602 字4 分钟继续阅读 -
记录下使用Supervisor(进程守护)遇到的一些小问题
本文介绍了如何将qexo从screen迁移到Supervisor进行守护进程运行,并解决了迁移过程中遇到的两个问题。首先,由于Supervisor环境变量不完整,文章指出需要手动在`/etc/supervisor/conf.d/env.conf`中添加环境变量`PYTHONPATH`,其值应为`echo $PATH`的输出结果。其次,文章解决了git push时提示未配置昵称和邮件地址的问题。作者建议使用`git config --global user.email`和`git config --global user.name`命令进行配置,并为了方便Supervisor读取,将`/root/.gitconfig`的内容追加到`/etc/gitconfig`。 文章最后提示后续会更新更多问题的解决方法。
25 年 1 月 28 日 星期二 (已编辑)317 字2 分钟继续阅读