Working with permissions on a Linux system.

When you list directories in long format (the -l switch), you’ll be presented with a long list of information. What does it all mean? The first column on the far left represents permissions. The first character is a marker to define what the object is. For example, ‘-’ for a…

Read More

Pipewire audio system to take over from Pulseaudio and Jack.

The pipe wire system is a new audio system that is taking over from Pulseaudio in Fedora 34. This is also in Ubuntu 21.04. This is a superior audio system and also replaces the Jack audio system. I hope this is a low latency system and gives better performance. Pulseaudio…

Read More

Very useful and obscure computing tips.

A disturbing amount of people do not know you can reopen your last tab in the Firefox browser with Control+Shift+T. If you use Windows you can drag and snap windows so you can work on stuff side by side. Apparently, pressing F5 on notepad.exe adds a timestamp to the current…

Read More

How to log CPU usage over a period of time on Linux.

Logging CPU usage over a certain period of time is very easy. The command below will print 24 lines of CPU statistics, printing a line every 4 seconds. ┌──[[email protected]]─[~] └──╼ ╼ $ sar -u 4 24 –human Linux 5.8.0-41-generic (jason-desktop) 12/04/21 _x86_64_ (4 CPU)   09:05:33 CPU %user %nice %system…

Read More

Useful tips for running a website in 2021.

Running a website in 2021 is easy, but there are many things to remember. For one, ensure that all bills are paid automatically. It is very embarrassing when your SSL certificate expires and everyone can see your incompetence. Paying these bills on time is important. Having fast web hosting and…

Read More

The old web is vanishing.

The many websites I used to enjoy like forums are vanishing and are not all being archived. This is a pity, especially if the forums had various solutions on them that another forum does not have, then the information is lost forever. But this is the evolution of the Internet….

Read More

How to view videos on Youtube and not count as a view.

Use this code in the uBlock Origin dashboard, and this will block Youtube views code, this allows viewing a video and your visit with a browser will not count views. ||https://s.youtube.com/api/stats/* ||https://www.youtube.com/ptracking ||https://s.youtube.com/api/stats/playback ||https://www.youtube.com/api/stats/watchtime||https://s.youtube.com/api/stats/* ||https://www.youtube.com/ptracking ||https://s.youtube.com/api/stats/playback ||https://www.youtube.com/api/stats/watchtime This could be very useful for any Youtube user who does not care…

Read More

First look at the Justice League Snyder cut.

This is a first look at the 4 hour long Snyder Cut epic of Justice League. This is an epic retelling of the story of the Justice League battling the forces of evil to save the world. This is a more adult retelling of the story, and therefore it has…

Read More

How the bash shell works in Linux.

If you’ve ever piped the output of one command into the input of the other or joined simple commands together to do complex tasks, then you have a taste for the power of the shell. As you use the shell more and more you’ll discover how powerful it is and…

Read More

How do programs run on Linux?

Ever wondered what happens when you run a program? Ever downloaded software from the Net that didn’t work, even though it may have compiled and installed correctly? If the answer to either of these questions is yes, you probably want to know more about how Linux runs programs. Even if…

Read More

Working with file permissions on Linux.

When a user runs a program on Linux, the program runs with the same permissions as that user account. For example, if user Joe doesn’t have permission to modify the files in /etc, any program that Joe runs won’t have permission either. There’s an exception to every rule. Files that…

Read More

How to save a Youtube playlist as mp3 files with Linux.

Saving a Youtube playlist as mp3 files is easy with Linux. The youtube-dl script is capable of handling this easily. You need to specify the playlist ID instead of the whole URL. Below is an example, this shows how easy it is to save a bunch of videos as mp3…

Read More

Searching for words in random data. This is very interesting.

I have found a nice method of searching randomly generated data for certain words. This takes a while but can bear fruit in the end. Here is an example, this is searching through the /dev/urandom file and then finding an instance of the word “linux”. jason@jason-Lenovo-H50-55:~$ time tr -cd [:lower:]…

Read More