←back to thread

2039 points Gadiguibou | 1 comments | | HN request time: 0s | source
Show context
klausa ◴[] No.36491947[source]
`pbcopy` and `pbpaste` are one of my most-loved in the list.

Dealing with some minified json, switching to iTerm, doing `pbpaste | json_pp | pbcopy` and having a clean output is _so_ nice.

replies(28): >>36492008 #>>36492015 #>>36492028 #>>36492101 #>>36492108 #>>36492229 #>>36492265 #>>36492890 #>>36492953 #>>36493037 #>>36493127 #>>36493336 #>>36493457 #>>36493802 #>>36494023 #>>36494242 #>>36494325 #>>36495379 #>>36495894 #>>36496866 #>>36497033 #>>36497293 #>>36497589 #>>36497973 #>>36498181 #>>36498558 #>>36498586 #>>36535798 #
m463 ◴[] No.36497033[source]
I have a script always running that polls for youtube URLs using pbpaste and runs yt-dl

then just highlight any youtube link and COPY

later when I have time, I can use quicklook to browse directory of youtube videos.

replies(2): >>36499968 #>>36500059 #
RoyGBivCap ◴[] No.36500059[source]
FYI: yt-dlp is more up to date and faster, AFIK: https://github.com/yt-dlp/yt-dlp

I download and save it as 'ytdl' for convenience, but I use it all the time on twitter too.

replies(1): >>36500555 #
1. m463 ◴[] No.36500555{3}[source]
sorry mistyped, that's what I use