Forwarded from Theodore Discovery โ
๐ฅ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
- 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 !
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
Forwarded from Tech Nerd (Tech Nerd)
Something I learned this week: You can either always be right or create something new.. but not both. People who never want to be wrong will say your idea wonโt work, and at first, theyโll be right. Because doing something new means failing along the way. But if you keep going, youโll prove that the real path to success isnโt about always being right.. itโs about learning from being wrong.
@selfmadecoder
@selfmadecoder
๐ฅ6๐1