摘要:
Video: https://www.youtube.com/watch?v=zqjKE_zcWzE&list=WL&index=68&t=14s code: https://github.com/Alliemack77/scroll-animations-with-css-only /* Cust 阅读全文
摘要:
Bash is built to handle multiple programs running in parallel. time cat Type time cat and then hit ctrl-c before one second, as close as possible with 阅读全文
摘要:
Subshell () You can wrap a cmd into () then it works a spreated command line. $ (if test -f cool.txt; then echo true; else echo false; fi); echo $? fa 阅读全文
摘要:
Exit code and Operators (&&, ||, 😉 When the previous command run successful, it returns 0, otherwise 1 $ date Wed Jun 26 12:17:17 EEST 2024 $ echo $? 阅读全文
摘要:
button:focus-visible, input:focus-visible, a:focus-visible { border-color: #1e88e5; box-shadow: 0 0 3px 2px rgba(30, 135,229,0.5); } 阅读全文
摘要:
.balanced-text h2 { color: yellow; text-wrap: balance; } .unbalanced-text h2 { color: rgb(252, 1, 218); } 阅读全文
摘要:
ul li { border: 2px solid gray; border-radius: 8px; padding: 1rem; margin: 1rem; } // old way ul li input:checked { accent-color: #f806e4; } // new wa 阅读全文
摘要:
export class PageClickCounterComponent { reset$ = new Subject<void>(); clicks$ = merge( fromEvent<PointerEvent>(document, 'click').pipe( map(accumulat 阅读全文
摘要:
function currency(strings, ...values) { return strings.reduce((result, string, i) => { let value = values[i - 1]; if (typeof value "number") { value = 阅读全文
摘要:
The basic syntax of a for loop in Bash is: for variable in list do commands done Examples Example 1: Iterating Over a List of Words #!/bin/zsh for wor 阅读全文