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

“词汇优先”的方法来学习语言是非常错误的

最近我在使用wanikani学习日语。我经常遇到错误,这让我很丧气,并且感觉日语是一种复杂的语言。 但是我想起了我学习德语的过程。然后我找到了NHK学习日语的节目:https://www.nhk.or.jp/lesson/zh/ 语言是一个国家社会和文化的影响下共同形成的。因此了解社会和文化很重要。而学习词汇对此没有帮助。 更重要的是逐渐积累对于语言的自信 - 学到的东西可以立即得到使用,并且你可以听懂他们说的大概含义。语法和书写只是小问题。 (我或许并不需要那么着急学习它。) 同样的东西也适用于duolingo和memorize。 另一方面,德语和英语,汉语和日语里有很多相同的部分。(或许他们属于同一语系。)因此借助一种来学习另外一种非常有帮助。

January 26, 2025

My Favorite Artworks

Girls Wallpapers R18 magzines https://nhentai.net/g/256236/ https://nhentai.net/g/277227/

January 24, 2025

Key Messages Inside Confidential Companies

https://www.coursesidekick.com/marketing/study-guides/ivytech-mktg101-master/reading-defining-the-message 保密单位,涉密人员,机密信息 导入,导出,刻盘 传阅 老1,老2,老3,75,76 指管,喷燃,空勤 军检 加固本,禁止乘坐公共交通 黑车,上船,出海 small gossips 人们一在院里工作,就很容易陷进去 所以航天人才很清楚,给我们自由的选择 但是员工却不尊重他们,表也不填,培训也不做 院内人事部的工作也不尊重 主任也随意奖扣工资,只苦了李连盟

January 24, 2025

The Chinese Society Is Becoming Increasingly Fragmented

Because one people’s rich don’t benefit his/her neighbors. They only spend the money travel, benefit big companies. Needless to say, travel companies are like parasites 🪱 to local hotels, and hotels are the same to local society. And that’s why these companies tend to use good technologies and management strategies. Also, it’s because the imbalance between the online world and the community. Chinese online community is fragmented and crippled But we need to still maintain things. ...

January 24, 2025

王冕的故事是虚构的

画家要有自己的意识和思想,而王冕的故事反映了故创作者的意识和思想。 除去画家身份,王冕的其他经历在其他史书中都没有记载。 This is like any other celebrity stories in China; people only know what someone achieves, but how they achieve it, what are their important life experiences, they have no idea. So content creators take advantage of this to make up some stories that meets government and society expectations. So what do they really think and do? https://www.theguardian.com/books/2024/nov/23/haruki-murakami-my-books-have-been-criticised-so-much-over-the-years-i-dont-pay-much-attention Another example is Jun Maeda, author of CLANNAD, which is, in my opinion, the best Visual Novel in the world.

January 24, 2025

Windows X64 Series

https://kay-bruns.de/wp/2007/09/20/surun-x64/

January 24, 2025

Vue Is a Sick Attitude

Other framework authors only see the tech part. But in China, people only see that the creator of Vue is rich. Based on a slave history, that the poor must obey the rich, they feel an obligation to use it. The creator, has no culture talent, and no life experience. I don’t respect him. The time it matures follows the crisis in Hong Kong and Tibet.

January 24, 2025

Tired of 'useful' suggestions from C++ expert

They only make things more complicated, and unmanageable. We should reduce the things one must remember. https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ CS107 https://see.stanford.edu/Course/CS107 a handout https://see.stanford.edu/materials/icsppcs107/06-Computer-Architecture.pdf

January 24, 2025

Some Mastodon Posts Thats Completely Different

2023-07-14 如果我要建一个国家,我想叫它燕国。 这是一个美丽的名字。 秦时明月中,“燕国的雪…” 包含了多少感情呢? 2023-10-25 https://sodacris4.wordpress.com/2023/10/25/a-bit-of-past/ 2023 lunar new year https://www.youtube.com/watch?v=EBXklfX6W2k 2023-08-07 https://materiaalit.github.io/qt-mooc/part2/ 2023-09-18 https://en.m.wikipedia.org/wiki/Ayumi_Hamasaki Her voice has both teenager and adult feeling. Something like teenage school girl. I can’t resist loving her. https://music.youtube.com/watch?v=7pGf9UhzI8Y&si=MbKo_hc5O8nlvDMM 2023-01-10 Hidden feature of my Phone: TalkBack https://support.google.com/accessibility/android/answer/6007100 I accidentally turned it on when taking taxi, and don’t know how to turn off.. (and I don’t know why I can’t swipe. Every click is so slow. I rebooted my phone two times, and it is still in this mode.) until my colleague help me search it. ...

January 19, 2025