[Know about it][Understanding][Clear understanding]
xxxImmutable DataxxxSecond-Order FunctionsxxxConstructing & DestructuringxxxFunction CompositionxxxFirst-Class Functions & Lambdas
| import org.junit.jupiter.api.Assertions.* | |
| import org.junit.jupiter.api.Test | |
| internal class BowlingKtTest { | |
| @Test | |
| fun `score is 0 when the player did not knock down any pins`() { | |
| assertEquals(0, Array(20, { 0 }).toList().score()) | |
| } | |
| @Test |
create file ~/.config/fish/functions/code.fish
function code
set -x VSCODE_CWD $PWD
open -n -b "com.microsoft.VSCode" --args $argv;
end
or if you are using the Insiders version:
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |