News for hackers. Stuff that matters.
Re:Show HN: I'm tired of sharing code using PasteBin and Sla... by itake on Friday January 03, 2025 @01:29PM (#42588199)
I typically use Gitlens to get the gitlab or sourcegraph links.

Expiring links might be nice... I have a lot of old gists that don't need to exist, but I'm too lazy to manually delete them.

I don't think such a tool, I would pay for...

Re:Show HN: I'm tired of sharing code using PasteBin and Sla... by lambdaba on Friday January 03, 2025 @02:04PM (#42588496)

  $ gh gist list | fzf --preview "gh gist view {1}" -m | cut -f1 | xargs -n1 gh gist delete
Re:Show HN: I'm tired of sharing code using PasteBin and Sla... by moeen-mahmud on Friday January 03, 2025 @03:15PM (#42589077)
Seeing this command, I think most of us save more "commands" than "code". In my case, most of them are "commands" rather than "code", because I always forget.
Re:Show HN: I'm tired of sharing code using PasteBin and Sla... by moeen-mahmud on Friday January 03, 2025 @03:27PM (#42589168)
Yeah, maybe an extension is not enough.