Archive for April, 2024

Disable updates in Thunderbird

April 2nd, 2024 – 11:13 pm
Tagged as: Computing Notes

Open the Thunderbird program folder (e.g. C:\Program Files (x86)\Thunderbird) create a new folder named distribution Create a file named policies.json with the following content:   { “policies”: { “DisableAppUpdate”: true } } Thanks to sifferedd.

Print environmental variables in Bash

April 2nd, 2024 – 11:06 pm
Tagged as: Computing Notes

Use printenv to see what environment variables are set. #!/usr/bin/env bash printenv set -x

.nanorc in CentOS

April 2nd, 2024 – 11:03 pm
Tagged as: Computing Notes

Edit $HOME/.nanorc to contain the following: include /usr/share/nano/java.nanorc include /usr/share/nano/man.nanorc include /usr/share/nano/nanorc.nanorc include /usr/share/nano/python.nanorc include /usr/share/nano/sh.nanorc include /usr/share/nano/html.nanorc include /usr/share/nano/perl.nanorc include /usr/share/nano/php.nanorc CentOS 7 uses a much older version of nano than the one that presently ships on most distributions. The php.nanorc on newer The following should appear in /usr/share/nano/php.nanorc on CentOS7 to allow syntax [...]

The .bashrc file I use on CentOS6

April 2nd, 2024 – 11:00 pm
Tagged as: Computing Notes

The .bashrc file I use on CentOS6   # .bashrc # User specific aliases and functions alias rm=’rm -i’ alias cp=’cp -i’ alias mv=’mv -i’ # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # system variables export VISUAL=nano # sets nano as the crontab editor export GZIP=-9 # maximum compression [...]