Submitted by anto on Thu, 07/25/2024 - 13:12
Download and configure youtube-dl:
(Ref.: https://github.com/ytdl-org/youtube-dl)
(Requires ffmpeg pre-installed for the mp3 conversion to work).
Download the latest nightly into ~/youtube-dl and add proper aliases:
From https://github.com/ytdl-org/ytdl-nightly/releases/latest, download the latest "youtube-dl" file.
Now it was https://github.com/ytdl-org/ytdl-nightly/releases/download/2024.04.22/youtube-dl.
Submitted by anto on Sat, 05/25/2024 - 07:40
This guide will walk you through creating a "Related Content" block on the node view page of a content type in Drupal. The block will list other nodes of the same content type that share a common reference.
Definition:
To create a "Related Content" block using Views in Drupal 8/9/10/11, to be shown on the node view page of one item (node/entity) of content type A,
that lists other items (nodes/entities) of the same content type A which all share the same content reference to some other particular node/entity, as that on the initial item under consideration.
Submitted by admin on Fri, 11/12/2021 - 07:20
"I would rather be ashes than dust! I would rather that my spark should burn out in a brilliant blaze than it should be stifled by dry-rot. I would rather be a superb meteor, every atom of me in magnificent glow, than a sleepy and permanent planet. The proper function of man is to live, not to exist. I shall not waste my days in trying to prolong them. I shall use my time."
- Jack London American author, journalist, and social activist 1876 - 1916
Submitted by admin on Wed, 04/15/2020 - 12:11
There are two ways of adding images to your email signature, in Thunderbird:
One method is to use the HTML img tag to show an image hosted elsewhere.
But this method has the disadvantage that email clients sometimes block loading resources called from external URLs.
The second method, which does not have this problem, is by embedding a base64 encoded version of the image into the HTML body itself, and then using this single HTML file as your email signature.
Submitted by admin on Fri, 06/16/2017 - 08:20
When Good People come together, Good Things happen.
And when Good People come together for a noble cause, Great Things happen.
Submitted by admin on Thu, 06/15/2017 - 12:11
When we live most of our lives in front of screens, they bring us a lot of 'occupational hazards':
Our eyes, wrists and backbones are the most affected.
And that is where the importance of good ergonomic practices come into being.
There have been a lot of innovative solutions devised around it, and here are two to protect your eyes:
SafeEyes - https://itsfoss.com/reduce-computer-eye-strain-linux/
Submitted by admin on Fri, 04/28/2017 - 06:20
Drush can be one of the nicest tools to have, when you want to speed up quite a lot of your daily Drupal operations.
Here are some of the usages I've come across, for Drupal 7:
Clearing cache:
# clear all caches
drush cc all
# rebuild caches
drush cr
Download and enable modules:
# download module modulename
drush dl modulename
# enable a downloaded module
drush en modulename
# to skip the Yes or No confirmation questions:
drush -y en modulename
Submitted by admin on Mon, 10/24/2016 - 15:02
Submitted by admin on Thu, 09/29/2016 - 06:04
CPU temperature is usually good between 40 to 50 degrees Celsius.
To monitor CPU temperature, you can use the following:
Install lm-sensors:
sudo apt-get install lm-sensors
sudo sensors detect
sudo service kmod start
sensors
The latest version of psensor includes the ability to show individual sensor value along with the indicator icon.
To install that:
Submitted by anto on Thu, 06/16/2016 - 02:29
The world is full of interesting things.
Things that excite you. Things that make you happy.
Things that make you wonder. Things that make you dream.
And the list never ends.
But the men we are, the time that we have on this earth is limited.
And it is upon us, to prioritise.
To focus on what is most important to us, and to say no to what is not.
So that we can do best on what matters the most.
That, when you look back one day, you'll be the most happy.
Pages