A good rule of thumb is to never use "if" statements when writing shell or bash scripts. 90% of the time, you can get what you want more elegantly just with logical operators like && and ||. It makes the difference between ugly and elegant looking and running code.
WEBSITE: https://lukesmith.xyz ?❓?
DONATE NOW: https://lukesmith.xyz/donate ????
...
https://www.youtube.com/watch?v=p0KKBmfiVl0
Artificial Intelligence has already taken over most of the internet sites you see on a daily basis. Nearly everything is algorithmically-generated content. This will get even worse and it will be harder to even get basic information online. To schizo-post, soon "they" will replace everyone you know with an AI that continually generates a stream of infotainment for you to passively consoom forever.
My website: https://lukesmith.xyz
Classical books reprinted by me: https://lindypress.net
Get all my videos off YouTube: https://videos.lukesmith.xyz
or Odysee: https://odysee.com/$/invite/@Luke:7
Please donate: https://donate.lukesmith.xyz
BTC: bc1qd20r7phdct3t0e0z6jqs55ulectg25pngt7hyl
XMR: 89yML3AtqnTNdo3wNuoaW44D94Zx1kBZNSBc9SyNxGdaKEZwZNdVzvy9zpbzJMzysiWZEU3b5LwjQ3XwWuQsknCF8JK73yv
OR affiliate links to things l use:
https://www.vultr.com/?ref=8384069-6G Get a VPS and host a website or server for anything else.
https://www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
...
https://www.youtube.com/watch?v=FWvUkxWeIyY
RSS feeds are the proper way to consoom product online. Don't get locked into social media, you can always have the best of both worlds.
For how to get RSS feeds from social media sites: https://lukesmith.xyz/blog#a-guide-to-using-rss-to-replace-social-media
WEBSITE: https://lukesmith.xyz ?❓?
DONATE: https://lukesmith.xyz/donate ????
OR affiliate links to things l use:
https://www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
https://www.vultr.com/?ref=8384069-6G Get a VPS and host a website or server for anything else.
https://brave.com/luk005 Get the Brave browser.
https://lbry.tv/$/invite/@Luke View my videos on LBRY.
https://www.coinbase.com/join/smith_5to1 Get crypto-rich on Coinbase.
...
https://www.youtube.com/watch?v=hMH9w6pyzvU
Classic video of me milking random statusbar modules I've written for educational notes about the Linux file system and the command line. I write a very terse module that checks your current cumulative network traffic (upload and download) and determines your download and upload rates per second or any time interval you give it. NO STUPID DEPENDENCIES!
Check out the script below. Tell me what obvious inefficiencies I missed.
You'll learn about RX/TX bytes, how to monitor network status, string operations on the command line, paste, and shell arithmetic. I go over some things quickly because there's a lot to talk about even in this minimalist script, but I might cover some of these topics in videos in the future because they're worth it.
DONATE NOW: https://lukesmith.xyz/donate ????
WEBSITE: https://lukesmith.xyz ?❓?
Here's the Network Traffic module I wrote/mentioned: https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/statusbar/nettraf
...
https://www.youtube.com/watch?v=w5phSVBEHhQ
The colors file I mention: https://gist.githubusercontent.com/LukeSmithxyz/de94948264649a9264193e96f5610c44/raw/d274199d3ed1bcded2039afe33a771643451a9d5/colors.muttrc
Too hard? Try configuring mutt with my wizard?
https://github.com/LukeSmithxyz/mutt-wizard (older version)
https://gitlab.com/LukeSmithxyz/mutt-wizard (better, but beta)
WEBSITE: https://lukesmith.xyz ?❓?
DONATE NOW: https://lukesmith.xyz/donate ????
...
https://www.youtube.com/watch?v=2jMInHnpNfQ
Been using Void successfully for a couple of days. I've moved my Parabola rice over and am enjoying what I'm seeing. Fast boot times, and only minimal trouble getting what I want installed.
Void is a rolling release distro, which can be installed either with a desktop environment or in a minimalist install. This makes it similar in framework to Arch, but uses runit instead of systemd and xbps instead of pacman.
---
Email me: luke@lukesmith.xyz
Send me donations via PayPal at luke@lukesmith.xyz
See my website: http://lukesmith.xyz
...
https://www.youtube.com/watch?v=mL5oLIHe5gw
Yes, if you're a normie, this is how you make your computer look "cool like the people in the movies!" ???
This is my setup/build of dwm. I talk about some of the interesting things you can do with it, including multiple layouts in stacks, binding all the programs you like, vanity gaps, moving things around efficiently and automatically, floating windows, mouse binds, tags and workspaces and everything else.
You can download my entire system on an Arch-based distro by looking at https://larbs.xyz
dwm itself: https://github.com/lukesmithxyz/dwm
Statusbar: https://github.com/lukesmithxyz/dwmblocks
Automatically install it all: https://larbs.xyz
WEBSITE: https://lukesmith.xyz ?❓?
DONATE NOW: https://lukesmith.xyz/donate ????
...
https://www.youtube.com/watch?v=xnREqY-oyzM