What Can Go Wrong if You Try to Remove a Car Stereo?

Problem scenario
You want to remove a car stereo. Can something go wrong if so what should you look out for?

Solution
Yes. The airbags could be triggered. The car alarm could go off. Some anti-theft devices sound an alarm if the car stereo is tampered with.

You do not want the airbags to potentially inflate suddenly causing injury to you.

…

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, …