Skip to content

Instantly share code, notes, and snippets.

@Ertavf
Ertavf / README.MD
Created February 8, 2022 09:59 — forked from RichardBronosky/README.MD
cb - A leak-proof tee to the clipboard - Unify the copy and paste commands into one intelligent chainable command.

cb

A leak-proof tee to the clipboard

This script is modeled after tee (see [man tee][2]) and works on Linux, macOS, Cygwin, WSL/WSL2

It's like your normal copy and paste commands, but unified and able to sense when you want it to be chainable.

This project started as an answer to the StackOverflow question: [How can I copy the output of a command directly into my clipboard?][3]

@Ertavf
Ertavf / main.dart
Created February 9, 2022 02:34 — forked from chalin/main.dart
Language Tour: Anonymous Function
void main() {
var list = ['apples', 'bananas', 'oranges'];
list.forEach((item) {
print('${list.indexOf(item)}: $item');
});
}