Should You Save Old I.T. Certification Study Guides?

Question
Given the obsolescence of information technology topics, should you hold on to study guides and books for years later as an investment?

Answer
Possibly. Sometimes one book that was published in 2010 can list for over $1,000. This book is RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300) 6th (sixth) edition Text Only Paperback by Michael Jang.

How Do You Write a Python Program to Parse a Log File and Return Lines with the Word “Failed”?

Problem scenario
You want to retrieve lines from a log file with the word “failed”. How do you do this with Python?

Solution

Assuming the log file is named “auth.log”, this will work:

log_reader = open(‘auth.log’, ‘r’)
for line in log_reader:
lower_line = line.lower()
if lower_line.find(“failed”) != -1:
print(line) …

How Do You Get a Table in HTML/Javascript to Display Only The First n (or 10) Rows?

Problem scenario
You have a web page with a table. It uses HTML and Javascript. You want only a sub-portion of the rows to be displayed and allow the user from the front-end to click a drop down menu to see more results. What should you do?

Possible Solution #1
Have two blocks in the .html file. Have the top one define a function that accepts a parameter and filters the table results if/when called.

How Do You Install Open Broadcast Studio on Fedora Linux?

Problem scenario
You want to install a feature rich screen capture video software program that can record via a camera too. What do you do?

Solution
Prerequisite
Install snap: sudo dnf install snapd

sudo snap install obs-studio

# If you are using Fedora 32, run this command:
sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-32.noarch.rpm

# If you are using a different version of Fedora, …

How Do You Troubleshoot the Error Message “libQt5svg.so.5 cannot open”?

Problem scenario
You try to run obs (Open Broadcaster Studio Software) on Fedora, but you get a message like this:

/var/lib/snapd/snap/obs-studio/1195/usr/bin/obs: error while loading shared libraries: libQt5Svg.so.5: cannot open shared object file: No such file or directory

What should you do?

Solution
Run this command:

sudo dnf install qt5-qtsvg …

How Do You Troubleshoot a Computer Camera That Is Not Rendering Images?

Problem scenario
The built-in camera of your laptop or desktop is not working. What should you do?

Possible Solutions

  1. Did you slide the cover open on the camera lense?
  2. Is your laptop connected to a KVM or other monitor? Could this KVM or other monitor have a camera of its own with a cover on the camera? Maybe there are two cameras and you do not realize it.