Posts Tagged how to

Get WOTD from Subject Line in Multiple Thunderbird Emails – Part 2

📅 July 8, 2019
In the previous lesson, we explored regular expressions to create a Bash one-liner to extract words from Thunderbird email subject lines.

While it worked well for a simple task, residue was not filtered, and this required manual editing.

Can we improve it further to handle inconsistencies and reduce the manual edits? Yes! This article demonstrates using sed and regular expressions to eliminate any manual editing.

Read the rest of this entry »

Advertisements

, ,

Leave a comment

Get WOTD from Subject Line in Multiple Thunderbird Emails

📅 July 3, 2019
Do you use the Thunderbird email client for your emails? Do you want to grab words from a large list of subject lines?

There are times when we might want to get a single word from each subject line in a collection of emails. Sure, we could look and type by hand into a text file, but that is too tedious. Let’s use a computer to perform the task using Bash!

This article describes how to create a Bash one-liner that will grab a word from each subject line of each Thunderbird email and store the sorted result into a text file.

Read the rest of this entry »

, ,

Leave a comment

RetroPie and the BerryBlue DualShock 4 Controller

📅 September 27, 2018
A new color scheme of controllers has been released for the PlayStation 4 a few days ago, and one of these controllers is the colorful Berry Blue DualShock 4.

Of course, a fancy controller like this must have more than one purpose in life, right? So, here is the important question: How compatible is it with RetroPie?

As it turns out, this is a very good addition to any RetroPie system as a wired or Bluetooth wireless controller, and it works flawlessly.

Read the rest of this entry »

, , , ,

Leave a comment

Fixing a Slow 1550MHz Ryzen 5 2600 CPU Speed in Linux

📅 June 22, 2018
So, you purchased a brand new Ryzen 5 2600 3.4Ghz processor only to discover that Linux reports its speed as 1550 MHz. Why? Can it be fixed?

It turns out that that newer motherboards (X470, for example) for Ryzen CPUs include extra features. One feature is called PSS Support, and it needs to be disabled when using Linux in order for Linux to show the 3400 MHz CPU speed rating.

Read the rest of this entry »

, ,

Leave a comment

Set Custom Folder Icon Using Bash

📅 June 12, 2018
You are probably aware that you can set a custom icon using the file manager’s GUI, but did you know that you can also set a custom icon on a folder using the command line?

That’s right. The gvfs-set-attribute command will allow you to set a custom icon to a directory so that the new icon will appear in place of the default folder icon when viewed in a GUI file manager.

This is particularly handy for assigning multiple custom icons for movie and music directories while preserving the default folder icons for other system directories. It can be scripted, and it is easier to do than you think.

Read the rest of this entry »

, ,

Leave a comment

Computer Improvement Tips

📅 February 27, 2018
“I wanted to build a new computer, but RAM and video cards are too expensive!”

Given the ridiculous skyrocketing costs (as of the time of this writing) of RAM and GPUs due to cryptocurrency mining, you might feel dismayed at the prospect of building a new computer system. Whether it be a fancy SLI gaming system or a virtualizing system hosting servers, the current costs will make it more expensive than it would have been a few months ago.

But does this mean give up and wait for prices to fall before doing anything?

There is plenty to do with your current system right now. In fact, learning to work with what you have and improve it to the best of your ability will increase your skills and knowledge.

For hardware and software, here are a few tips that will make your system more pleasant to work with and seem faster than it actually might be.

Read the rest of this entry »

, , , ,

Leave a comment

Manage ProFTP Users with MySQL

📅 February 13, 2018
Suppose you want to maintain a list of users allowed to login to an FTP server but you do not want to create user accounts for them on the Linux system. The FileZilla server has this feature built in, so is there are way to specify usernames and their passwords for FTP users in ProFTP?

Yes!

One way is to use a MySQL database that ProFTP checks for allowed users. If a user is listed in the database, then he is allowed to log in.

This might sound like overkill. Why use a full-fledged relational database for FTP? Actually, you can much, much more than manage logins. Every aspect of the FTP session can be recorded and analyzed using a database. Uploads, IP addresses, last logins, login history, access count, upload/download quotas, and more are possible. Almost anything you want to record about your users is possible with ProFTP and a database, such as MySQL.

This article shows how to set up ProFTP to access a MySQL database that lists users allowed to log in without needing to create user accounts on a Linux Mint system.

Read the rest of this entry »

, ,

Leave a comment