Skip to content

Instantly share code, notes, and snippets.

🇺🇸
USA

Vincent Lee vincentclee

🇺🇸
USA
View GitHub Profile
View Install Python 3.7.6 on CentOS 7
Install Python 3.7.6 on CentOS/RHEL 7
1.Requirements:
yum install gcc openssl-devel bzip2-devel make
2.Download Python 3.7:
cd /usr/src
wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz
@vincentclee
vincentclee / firefox-esr-re-enable-addons
Created Aug 9, 2019
To re-enable all disabled non-system addons you can do the following. https://news.ycombinator.com/item?id=19824410
View firefox-esr-re-enable-addons
// For FF < v57 >...?
async function set_addons_as_signed() {
Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm");
Components.utils.import("resource://gre/modules/AddonManager.jsm");
let XPIDatabase = this.XPIInternal.XPIDatabase;
let addons = await XPIDatabase.getAddonList(a => true);
for (let addon of addons) {
// The add-on might have vanished, we'll catch that on the next startup
You can’t perform that action at this time.