- Remove
register - Improve error record in try/catch and document with an example
- Adding the code would be helpful
- Add closure argument to
append,prependfor adding another stream -
runfor running nushell scripts as if they were blocks - Make
httpcommands accept and stream from pipeline input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/qmacro/level-up-your-json-fu-with-jq/blob/main/talknotes.md | |
| pbpaste | from json | |
| pbpaste | save environment.json | |
| # jq '.availableEnvironments|length' environments.json | |
| open environment.json | get availableEnvironments | length | |
| # jq -r '.[].name' offerings.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt install flex bison | |
| git clone https://github.com/microsoft/WSL2-Linux-Kernel --depth 1 | |
| cd WSL2-Linux-Kernel/tools/perf | |
| make -j8 | |
| sudo cp perf /usr/local/bin |
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class Option | |
| { | |
| public static Option<T> None<T>() => new None<T>(); | |
| public static Option<T> Some<T>(T value) => new Some<T>(value); | |
| } | |
| public class Option<T> : IEquatable<Option<T>> | |
| { | |
| public static Option<T> None => new None<T>(); | |
| public bool IsNone => !hasValue; |