A while ago I made a tiny function in my ~/.zshrc to download a video from the link in my clipboard. I use this nearly every day to share videos with people without forcing them to watch it on whatever site I found it. What’s a script/alias that you use a lot?

# Download clipboard to tmp with yt-dlp
tmpv() {
  cd /tmp/ && yt-dlp "$(wl-paste)"
}
  • vithigar@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    Nuget is a the .NET package manager. Like npm or pip, but for .NET projects.

    If you needed it for a published application that strikes me as fairly strange.

    • vortexal@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      9 hours ago

      I looked through my bash history and it looks like I needed it to build an Xbox eeprom editor for Xemu. Xemu doesn’t (or at least didn’t, I haven’t used newer versions yet) have a built in eeprom editor and editing the Xbox eeprom is required for enabling both wide screen and higher resolutions for the games that support them natively.

      I just looked at Xemu’s documentation, and it looks like they’ve added a link to an online eeprom editor, so the editor I used (which they do still link to) is no longer required.