Donald Feury
  • 📝 Topics
  • 💲 Donate
  • 🌎 Links
  • ✉️ Contact
  • ▶️ Videos
Subscribe
Tagged

Linux

A collection of 2 posts

How to check if a string is empty in Bash
Bash

How to check if a string is empty in Bash

To check if a string is empty in a Bash script, use the -z conditional which returns 0 (true) if the length of the string is 0 and 1 (false) if it is greater than 0. myVar="hello" if [[ -z "$myVar" ]]; then echo "myVar is empty" else echo "myVar is

  • Donald Feury
Donald Feury Oct 22, 2021 • 1 min read
Replace the Official Spotify Client With spotify-tui and spotifyd
Linux

Replace the Official Spotify Client With spotify-tui and spotifyd

I have an old Thinkpad X200 laptop and if there is one thing it doesn't like, its Electron apps that consume 30% of its RAM. So I used a combination of two programs to replace the official Spotify client, spotify-tui and spotifyd, both of which are written in Rust. My

  • Donald Feury
Donald Feury Jun 26, 2021 • 1 min read
Donald Feury © 2022
  • 💲 Drop me a donation
  • 🗠 Check my stats
  • ❓ FAQ
  • ✉️ Contact Me
Powered by Ghost