#TIL Linux 「慢性窗口管理器新奇然缺乏症」 (Chronic Window Manager Novelty Deficiency Syndrome)。
til
繁体的「门」字——「門」,是可以拆开成两部分的「𠁣」和「𠃛」 ,拟声词,只在闽南语中有读音(ihⁿ和oa̍ihⁿ),意思是门开合时的吱呀声
https://zh.wiktionary.org/wiki/%F0%A0%81%A3%F0%A0%83%9B#%E6%BC%A2%E8%AA%9E
乒乓一隻舟,𰛄𰛅水中流。𠁣𠃛搖船櫓,彳亍到揚州。——《澎湖褒歌》
拎起拳來,或上或下,𠁣𠁣𠃛𠃛,一氣打有一二十拳。——《封神演義·第十三回》
(这些字可能在某些操作系统及apps中无法正常显示)
#TIL `JSON.parse` has a second parameter to accept a reviver.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#reviver
Why isn't there a library to generate revivers based on a given schema? The closest to what I am expecting is https://github.com/badcafe/jsonizer and it doesn't seem to get a lot traffic. Nobody likes type-safe JSON parsing?
#TIL 原来“一”虽然是一声,但是在某些情况下会变其他声调,比如“在一起”,“人的一生”。
> (「一」字單用或在一詞一句的末尾,念陰平聲;在去聲字前,念陽平聲;在陰平、陽平、上聲之前,念去聲。)
https://dict.revised.moe.edu.tw/dictView.jsp?ID=10504&la=0&powerMode=0
原来五四的时候除了提出德先生(Democracy)赛先生(Science)以外,还有与之相对的费小姐(Freedom)和穆姑娘(Moral)。同样都是进步的口号和主张,什么时候是先生什么时候是小姐姑娘也挺有意思的……
#TIL 今天又学到一招怎么给纸质笔记本加标签,号称 Japanese notebook hack,非常简单,只需在笔记本里定一页做为标签的索引页,以后记笔记时按照标签在索引的行数给笔记页边缘对应的位置染上颜色,本子合上后可以看见各种标签(“类别”)怎么自然生长。我要马上用到我的 BuJo 里去,这个妙招还可以帮我提炼常用的大类而不是给每条信息瞎加一堆标签。
[image via HighFive Blog]
TIL que a noz-de-cola era um dos ingredientes principais da receita dos primeiros refrigerantes de cola e é o que lhe dava a cafeina 😮
#TIL 真的有人可以闻到人身体的chemical的气味,震惊!朋友的描述是,他能闻到别人感到horny时breath里的气味。这个气味困扰了他很多年到底是什么,因为从小就能闻到,后来才和horny联系了起来
而且会因为程度不同有intensity的差异。好有趣……
#TIL that it is possible to display images in some terminals and I'm nerding out about it. MacOS, iTerm2 has imgcat. So of course I use it to display a dog.
It would be fun but not very practical if the image was rendered all retro pixellated. I understand the kitty terminal has it's own version of this.
Yeah, it doesn't take much to humor me today.
#TIL that "spike" as a verb means specifically "to undergo a sudden sharp increase"
I had always thought that it meant suddenly up *and then suddenly back down again* such that the figure would show a spike shape - thin as well as tall. But nope!
Hoje eu aprendi que, por exemplo, dá pra acompanhar o canal
MemeTube diretamente pelo
, adicionando seu
como podcast: https://fediverse.tv/feeds/podcast/videos.xml?videoChannelId=25373#PeerTube #VLC #podcast #videocast #MemeTheCat #Flokinho #PeerTubeCats #catsOfPeerTube #TIL
#TIL (Backup) GitHub Copilot to Generate Conventional Commit Messages
VSCode settings.json:
"github.copilot.chat.commitMessageGeneration.instructions": [
{ "text": "Use conventional commit format: type(scope): description." },
{ "text": "Use imperative mood: 'Add feature' not 'Added feature'." },
{ "text": "**Strictly use only lowercase English letters and safe English punctuation (like hyphens, commas, colons, and parentheses) in the commit message. Do not use uppercase letters or other languages' characters.**" },
{ "text": "Keep subject line under 50 characters." },
{ "text": "Use types: feat, fix, docs, style, refactor, perf, test, chore, ci." },
{ "text": "Include scope when relevant (e.g., api, ui, auth)." },
{ "text": "For additional details, use a well-structured body section." },
{ "text": "Use bullet points (*) for clarity." }
]
#TIL that you can rip an audio CD in #KDE just by opening it in dolphin and copying out the folder named for the format you want it in.
These are a set of virtual folders that represent the formats supported by your system to rip them into.
How cool is that?
#audiocd #ripping #music #opticaldisc #Linux #tech #deadformats
