分类目录归档:编程

Show me the code

Docker Container Restarting after SSH Login – Solution

As mentioned in a previous blog post, my current project is deployed using Docker. However, during a recent login to the server, a strange phenomenon occurred: all the containers in Docker would restart from time to time. Also, every time I logged in to check the Docker status, it would show that the containers had just started (Up 15 seconds). After several investigations, I finally identified that the restart issue was related to SSH login. Every time I logged in via SSH, the containers would restart.

继续阅读

Using Docker Compose to Self-host Project Deploy

After three months of hard work, the SSL certificate of my RSS aggregator finally expired. The auto-renew script failed to renew it — this happened a couple of times, I need to login into the web panel and renew it manually every three months. Unfortunately, the web panel malfunctioned this time either. After an epic battle with cert-bot, Nginx, and even the web panel I used, I finally gave up and decided to switch to another self-hosting solution.  

继续阅读

Use Roundcube on Lolipop.jp

Lolipop by GMO cloud is the hosting service I’m using. The hosting plan includes email hosting services, but the webmail interface is in Japanese with limited functions provided, so I installed my own Roundcube instance instead. Not like VPS, Installing a custom Webmail service needs to skim through the service provider’s documentation, undoubtedly it is all in Japanese. This takes me some time to search and validate all these endpoints. Anyway, the tutorial is as follows.

继续阅读

厦门隔离酒店的网速介绍与升级

受到疫情影响,海外回国需要强制隔离14天,隔离期间的网络质量自然就成了一个绕不开的话题。不过体验下来,我所在的隔离酒店的网速还算合格。

写在前面:不同隔离点、不同时段、不同房间的网速可能有差异,本文仅供参考。请在酒店工作人员许可的前提下操作。

继续阅读

利用1vyrain软破解ThinkPad X30系列BIOS白名单

ThinkPad有所谓的“白名单”机制,顾名思义,就是只允许安装使用在白名单里的电脑硬件。使用了不在白名单里的硬件,会导致不能正常开机。因此在一般更换配件时,会选择在白名单内的设备,或者提前用编程器刷掉BIOS让白名单失效。

我换的无线网卡是AR5B95,买之前以为是白名单内的设备,结果换好之后发现并不在名单内,开机直接报错了,寝室里也没有编程器,一番谷歌之后,发现1vyrain可以利用漏洞软刷BIOS,步骤简单记录如下:

继续阅读