This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |