myCorner
210 subscribers
263 photos
26 videos
2 files
245 links
My, a human, corner of things on myCorner. Trying to learn not to teach https://dagimg-dot.netlify.app
Download Telegram
😂😂 this is from personal experience
😁7
😁4🤣1
Forwarded from Sam's Archive
This media is not supported in your browser
VIEW IN TELEGRAM
the best caption to this video.😭
🤣5👍1
This media is not supported in your browser
VIEW IN TELEGRAM
The legendary [antfu] has a tool called [ni] that runs package manager command without you worrying about using the wrong one for different projects.

This tool has a specific command called nr which runs scripts found in the package.json like the common ones npm run dev, pnpm dev, yarn dev.

So today I got bored and made a terminal auto-completion for your scripts found in the package.json if you are using fish-shell (you should 😁)

[nr-fish-completion]

[Inspiration]
🔥9
If you don't know them you should check out [vanced.to]. I am currently using Youtube and Spotify (yeah they managed to make it work) downloaded using the ReVanced Manager.
Sam is cooking 🔪
🔥4
Forwarded from Theodore Discovery ∆
If you were 30 failures away from your goal... how fast do you wanna fail?

#stolen_quote
🔥6
This media is not supported in your browser
VIEW IN TELEGRAM
curl has options for every letter in the alphabet 🥱
😁2
This media is not supported in your browser
VIEW IN TELEGRAM
Spotify is always open in my first workspace whenever I start my PC—my go-to for music, lo-fi, and focus sessions.

I initially used the Flatpak version, but patching it (👀 [SpotX-Bash] users know) wasn't working as expected. So, I went hunting for alternatives and found the official [spotify distribution url].

Only one problem: it's .deb file, and I'm on Fedora. So every update meant manually:
- Downloading the .deb file
- Extracting it with dpkg-deb
- Moving it to a safe location
- Symlinking the binary & .desktop file for easy access

And as a true engineer, I took the longer route (😂): Automating it all!

I wrote a script that:
- Downloads and extracts the latest Spotify version
- Places it in the right location
and symlinks everything for easy use
- Checks for updates & installs them

Even though I update every 3-4 months (because Spotify rarely drops major features), at least I "worked on my Bash skills extensively" after my [PR] to [ab-download-manager]. 😎

I also implemented the strategy pattern to make it easy to add support for other distros.

Key takeaway - bash switch statements are ugly 😂.

Check it out: [spotinstaller] or even better contribute support for your distro !
5👍2
and I just bought Telegram Premium just to check it out, apparently 74.99ETB is 3.99$ 😐
😁4
This was fun to read and the comments 😂

[Any bored older C devs?]
Late to the party 😁
🔥5