I recently needed to write a Python script that fetches data periodically from an external API and maintains it in a local txt file. I plan to host this script on my virtual hosting at lolipop.jp and run it every ten minutes through cron. However, after deploying it, the script has not been producing any output. Below is the method for deploying a Python script on the virtual hosting at lolipop.jp without using SSH.
继续阅读Optimizing Python Script Deployment on lolipop.jpDecoding DLL Differences: Navigating Code Versions and Understanding MVID in C# Projects
Recently, we encountered a challenge in our company’s project development: determining whether the code versions of a C# project are identical using two DLL files. In other words, when the same code is compiled on different machines, will it result in identical binary files?
继续阅读Decoding DLL Differences: Navigating Code Versions and Understanding MVID in C# ProjectsDocker 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.
继续阅读Docker Container Restarting after SSH Login – Solution新冠中招日记
国内的疫情政策放开之后,感染好像成了一件迟早会发生的事。只是没想到这一天会来的这么快。
继续阅读新冠中招日记Fix Web Connection Reset Issue After Update Qnap NAS To 5.0.X
Recently, after upgrading the Qnap NAS to QTS 5.0.X , there was a problem of not being able to access to the web page from internet. However, accessing from LAN still works. So at the beginning, I thought it might be a firewall or port forwarding issue.
继续阅读Fix Web Connection Reset Issue After Update Qnap NAS To 5.0.X手机被无故停机这件事
为了打通12345的人工客服,我的手机号码被无故停机;在各种尝试之下,号码在271天之后终于恢复使用。
继续阅读手机被无故停机这件事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.
继续阅读Using Docker Compose to Self-host Project DeployUse 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.
继续阅读Use Roundcube on Lolipop.jp转换生活的 2021
2021 感觉是被按下了加速键的一年,倏乎就到了年底。我还记得 2020 年坐在 Kensington 客厅里写 2020 年总结的样子。但不得不承认,一年又这样过去了,我忘记曾经在哪里看到过一种说法,男生在 25 岁后会逐渐忘记自己的生日,没想到不仅仅是生日,整个生活都被仿佛按下了快转。
继续阅读转换生活的 20212022 观影记录
鉴于豆瓣之后可能写不出来东西了,以后的电影观后感还是挪到博客里写吧,每年单独开一篇博文记录下这一年看过的电影和观后感,以后可能会加个分类查询。
继续阅读2022 观影记录