手里的X30是22年春节的时候买的,用到现在已经两年多了,电池老化非常严重,不仅平时需要一天两充到一天三充,出门更是要随身准备移动电源。查了一下,电源健康度已经低于70%了,有必要换块电池了。
READ MORE →理发有感
北京的理发价格已经接近50元了。
READ MORE →走马观花的动物园半日游
周六上午单位安排在北京展览馆参展半天,刚好动物园就在展览馆边上,就趁着下午半天去动物园逛了半天。去看风景,也去看看人,当做PLOG了。
READ MORE →Optimizing Python Script Deployment on lolipop.jp
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.
READ MORE →Decoding 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?
READ MORE →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.
READ MORE →新冠中招日记
国内的疫情政策放开之后,感染好像成了一件迟早会发生的事。只是没想到这一天会来的这么快。
READ MORE →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.
READ MORE →手机被无故停机这件事
为了打通12345的人工客服,我的手机号码被无故停机;在各种尝试之下,号码在271天之后终于恢复使用。
READ MORE →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.
READ MORE →