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
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
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
Forwarded from Kirakos
Suuus ...
๐Ÿ˜6
https://t.me/atc_news/28513

okayyy๐Ÿ˜๐Ÿ˜
๐Ÿ˜7