TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10296 1.04K

Forwarded from oleg_log (Oleg)

Daaaamn, that's smart.

> copy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use these all the time.

# High level examplesrun_some_command | copy
pasta > file_from_my_clipboard.txt

# Copy a file's contents
copy < file.txt

# Open a file path from your clipboard
vim "$(pasta)"

# Decode some base64 from the clipboard
pasta | base64 --decode


https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
Evanhahn Scripts I wrote that I use all the time I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.
  • 😢 16
  • 👍 7
  • ❤‍🔥 2
  • 🤯 2
More from @dereference_pointer_there
  1. Oct 17, 2026#prog #rust хайлайты: Добавили быстрый путь для итераторов BTreeMap. Эффект колоссальный:…
  2. Oct 16, 2026Тем временем разработчики на Go *tailscale
  3. Oct 16, 2026А всем остальным нам?!
  4. Oct 16, 2026#meme про сон
  5. Oct 15, 2026#prog #rust #suckassstory rustc uses the Path hash code to identify files, and the Path ha…
  6. Oct 15, 2026#python #meme
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →