转载:The “Hidden” Purple Memorial in Your Web Browser | by Victor Algaze | Medium I recently encountered a visual bug where the style I was attempting to apply to an SVG element just wasn’t working. My first instinct when debugging a tricky styling issue is to fire up Chrome Dev Tools and attempt a...

转载: [How to Remove the Last Character from a String in JavaScript - Mastering JS](https://masteringjs.io/tutorials/fundamentals/remove-last-character#:~:text=Nov 12%2C 2021-,To remove the last character from a string in JavaScript,length - 1) To remove the last character from a string in...

在 Anki 的模板中除了可以使用 HTML 之外还可以使用 JavaScript, 如下读取卡片正面的单词,为卡片背面例句出现的此单词加上 <span class="emphasize-word"></span> , 然后用 CSS 设置样式。 12345678910111213141516<script> // Anki 对 ES6 不是完全支持,使用 var 定义变量 var wordText =...

引用: How do I register a custom URL protocol in Windows? - Stack Overflow 打开注册表编辑器 regedit, 在 HKEY_CLASSES_ROOT 新建项,填入你自定义的协议名称,这里填写 edi (注意名称需要小写). 在新建的 edi 项下新建字符串值,数值名称为 URL Protocol,数值数据为空。 在 edi 项按照层级依次建立 shell, open 和 command 项,然后在 command 项默认的数值名称的数据中填入要调用的命令 D:\code.bat...

12345678910111213141516171819202122232425262728function get_qty_per_pallet(p_invoice_line_id in number) return number is l_return number; begin begin select distinct spm.pallet_stack_qty * spm.qty_carton_per_stack * spm.fg_item_per_carton into l_return from som_commercial_invoice_lines scl,...

There’s no need to abbreviate words just for the sake of it. 没有必要为了缩写而缩写单词。

转载:CSS — background-clip vs. background-origin properties | by Tsz | Level Up Coding When I was learning these 2 CSS properties, I felt confused since both of them have the same set of property values and their demonstration effect looks similar. After research and investigation, here’s how I...

repost: Change Private Key Format to Use with PuTTY This 10-minute tutorial shows you how to change your private key format to use with PuTTY, which is a Secure Shell (SSH) client for Windows that can connect to a remote machine. If you’re using SSH on Linux, then this tutorial isn’t for you. #...

彼窃钩者诛,窃国者为诸侯,诸侯之门而仁义存焉。—《庄子・外篇・胠箧》 天之道,损有餘而补不足。人之道,则不然,损不足以奉有餘。—《老子・德经》 春秋,天子之事也,是故孔子曰:‘知我者,其惟春秋乎;罪我者,其惟春秋乎。’ —《 孟子・滕文公下》 天视自我民视,天听自我民听。—《尚书》 水深则流缓,人贵则语迟。—《礼记》 欲为诸佛龙象,先做众生牛马。—《华严经》 落花有意随流水,流水无情恋落花。 —《警世通言》 惟草木之零落兮,恐美人之迟暮。— 屈原《离骚》 朝饮木兰之坠露兮,夕餐秋菊之落英。 — 屈原《离骚》 悲哉,秋之为气也! 萧瑟兮草木摇落而变衰。—...