[运维] 日志轮转与管理脚本详解

本文详细介绍了如何使用 Bash 脚本实现日志文件的自动轮转和备份。通过这个脚本,可以有效地控制日志文件的合理大小,并确保日志文件的有序管理。文中实现了每日切割,按日备份,历史存档90天。

avatar Dangks' Blog 发表于 2024年10月28日 00时23分

[PHP] 应对API失效: 自建随机图片接口的解决方案

本文介绍使用PHP简单自建随机图片API的方法,以应对个人博客主题API失效的问题。主要步骤包括搭建PHP环境、创建图片链接文件和编写脚本来随机输出图片。方案还加入缓存机制,确保图片在一分钟内请求不过度刷新。此API可通过简单的配置集成到网站中,可作为网站首页大图,满足个性化展示需求。

avatar Dangks' Blog 发表于 2024年10月05日 23时27分

[Joe3] 代码注入技巧: 打造个性留言板顶部动画

本文介绍了通过Halo后台代码注入功能,为留言板页面添加信封动画效果的方法,提升了页面的视觉吸引力。通过在系统头部标签中插入特定的HTML和CSS代码,实现了美观且兼容的主题定制。

avatar Dangks' Blog 发表于 2024年10月04日 00时54分

Our response to RCE Security Advisory

We've just published a critical security advisory relating to a Remote Code Execution vulnerability in Dynamic JSON/TOML/YAML badges//github.com/badges/shields/security/advisories/GHSA-rxvx-x284-4445 ...

avatar Static Badge | Shields.io 发表于 2024年09月25日 08时00分

[Halo] 上传备份压缩包恢复数据失败: 服务器内部错误

本文描述了作者在使用Git自动备份网站数据过程中遇到的恢复问题。当尝试从备份ZIP文件恢复数据时,遇到了“服务器内部错误”。错误发生在尝试读取ZIP文件的元数据时,推测可能与文件编码或完整性有关。最终,建议检查上传文件的编码格式和完整性,以及确保请求体的数据编码正确。

avatar Dangks' Blog 发表于 2024年09月25日 01时28分

Sunsetting Shields custom logos

Following discussions in #9476, we've gone ahead and deleted all custom logos that were maintained on the Shields.io side (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superus...

avatar Static Badge | Shields.io 发表于 2024年07月10日 08时00分

Simple Icons 13

Logos on Shields.io are provided by SimpleIcons. We've recently upgraded to SimpleIcons 13. This release removes 65 icons and renames one. A full list of the changes can be found in the release notes.

avatar Static Badge | Shields.io 发表于 2024年07月05日 08时00分

Windows 实用软件推荐(持续更新)

前言手机端用户 点击右下角的箭头可以打开文章目录哦如果你对电脑的使用不了解,推荐优先阅读 你缺失的那门计算机课必读部分面向群体本文面向刚开始使用计算机的小白以及想要更好的使用Windows的用户...

avatar Qute 发表于 2024年06月13日 16时57分

Simple Icons 12

Logos on Shields.io are provided by SimpleIcons. We've recently upgraded to SimpleIcons 12. This release removes the following 10 icons:

avatar Static Badge | Shields.io 发表于 2024年06月01日 08时00分

Simple Icons 11

Logos on Shields.io are provided by SimpleIcons. We've recently upgraded to SimpleIcons 11. This release removes the following 4 icons:

avatar Static Badge | Shields.io 发表于 2024年01月13日 08时00分