Custom Blog Theme

I migrated from jekyll to hugo, but one thing is missing: the custom theme. I spend a log of time debugging my old blog’s theme: adding dark theme, fix layout, add google search, etc. the strength of hugo is that it just works. but it’s not totally true: there is still some things bugging me, and that’s the “baseURL” and “themes”. baseURL without this setting the browser cannot be opened automatically. and I have a good reason for it. ...

February 21, 2025

Need a Change of Thought on Family

From child, I’ve taught the thought of “listen to your parents”. And I have been vulnerable; because I rely on my mother for food and money. But after I start working, this is not the case anymore; why I sink into thoughts when she send me suggestions for money and work? that makes me reflect on my own relations about parent an people. Money is just a baseline for work. More importantly, it is for understanding social structure and learn from them. ...

February 15, 2025

Finding People That Supports You

Preface Continuing on the Microsoft journey. Another interesting program found from API search is Taiga. The author Eren has a blog: https://erengy.com/about. At first it looks plain. but later I find that he translates AIR: https://erengy.com/projects/air. (Well think again, the blog is actually nice. the urls are good. accessibility is good.) I suddenly realized that there are such great people supporting it, so it was a good game. It get back my interest for playing it. ...

February 8, 2025

Playing Gun Game

Recently I’m interested on a Chinese mobile game that’s similar to Fornite.

February 7, 2025

Stand on the Windows Side

Preface In order to cure my carpal tunnel syndrome, I go to Jishuitan Hospital to do a MRI/NMR scan. I live far off the city center. Go there by subway costs around 2 hours - unacceptable. (I used public transport in the past and it was painful…) So I use Didi Hitch recently. It costs around 50 cny halfway (then I use subway) or around 80 cny full way. BTW the time is around 1 hour. ...

February 7, 2025

Using Feet Instead of Hands

Recently my carpal tunnel syndrome has gotten worse, so I discovered a new way to use digital devices - feet. the timeline I think that it already happens 12 years ago; 9 years ago it start affect my nerve; after 2 years I can’t sleep at night. 3 years ago I avoided another major disaster. the effect my emotion will always suffer. the pain was so great that you can no longer feel it. ...

February 4, 2025

Make Tech Benefit People

Recently I created an archive page for a friend: https://biao-short-novels.web.app/. He feels happy, and I feel happy too. Technology should benefit people. And that’s why Rufus keep this comment in it’s source code. And that’s why This man hugs his child during a presentation.

January 29, 2025

Richard Clayderman Musics

Read a random novel that mentions “水边的阿狄丽娜”: BALLADE POUR ADELINE Seems It’s pretty popular in Chinese hotels. But I favor Romeo and Juliet. full playlist https://music.youtube.com/playlist?list=PLqcVp3aZkFSD7l9CrbS90R8uwABrNbp9N&si=x-L0UO9o7y8fBK35

January 28, 2025

2025 Cny Feeling

It’s Chinese new year. In city, stores are closed, hospitals are closed. And Taobao shops’ are also closed (because storehouse employees resposible for sending the package are going back home). Needless to say, TianMao supermarket is also closed. There falls a light snow:

January 28, 2025

Remove Github 'Deployments' banner in pull requests

Recently I moved one site from Verel to Firebase, but a “This branch has no deployments” banner keep showing. A simple Google search find this: https://github.com/orgs/community/discussions/46375 Github doc: https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28 Seems we can only use API. but I first tried delete: gh api /repos/$User/$Repo/deployments --jq=".[].id" ` | ForEach-Object { gh api --method DELETE -H "Accept: application/vnd.github+json" ` -H "X-GitHub-Api-Version: 2022-11-28" ` "/repos/$User/$Repo/deployments/$_" } but get error: { "message": "Validation Failed", "errors": [ "We cannot delete an active deployment unless it is the only deployment in a given environment." ], "documentation_url": "https://docs.github.com/rest/deployments/deployments#delete-a-deployment", "status": "422" } gh: Validation Failed (HTTP 422) Then I tried to create a deployment and set it as active: ...

January 28, 2025