today's howtos
-
Looking for Something? How to grep Multiple Strings in Linux - The Tech Edvocate
As a Linux user, you may find yourself often needing to search for specific pieces of information within a file or a set of files. This can be a time-consuming task if you’re manually scanning through each file, but luckily the “grep” command exists to make it easier for you. Grep is a powerful tool that allows you to search for text within files, and with a few modifications, it can be used to search for multiple strings at once.
-
Social media posts aren't as small and simple as you might think
Over the years, I believe that both Twitter and the Fediverse have added quiet convenience features to their storage of post data. Some of this is pure metadata; for example, both know if a post is a reply to a previous post, and if so which post (and by who, and so on). Other features affect the contents of posts themselves. For example, I believe that Twitter has for some time tracked @mentions in tweets using the internal Twitter identifier for the user, so that if the account is renamed things still work (and an account name takeover can't suddenly mis-identify who the tweet was to or mentioning). I believe this is in addition to the raw '@<name>' text, which you want to retain in case the account vanishes entirely.
-
Using FreeBSD’s daemon(8)? Consider -r
FreshPorts make use of a simple python daemon (fp_listen). It has been in use since at least 2006. It was (I think) vermaden who mentioned it (I can’t find the reference) and it triggered an idea.
The role of fp_listen is to listen for backend notifications and respond accordingly. One of its primary goals is to clear the front end cache as required. Part of that strategy involves a persistent connection to the PostgreSQL database running on AWS and uses PostgreSQL running on RDS.
-
How to Install and Use Kubernetes Dashboard Step-by-Step