This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.
Upgrade the system
yum -y update
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| chrome.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| chrome.tabs.executeScript(tab.ib, { | |
| file: 'inject.js' | |
| }); | |
| }); |
| #!/bin/bash | |
| set -eu | |
| _UID=$(id -u) | |
| GID=$(id -g) | |
| # give lxd permission to map your user/group id through | |
| grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root | |
| # set up a separate key to make sure we can log in automatically via ssh | |
| # with $HOME mounted |
| $dt=new DateTime;$model->created_at=$dt->format('m-d-y H:i:s'); | |
| /* | |
| * This block of code could be added to your models (or you can create a new model which contains these and extend from your | |
| * model. Each section will make sure the created_at and updated_at timestamp fields are updated in the database. | |
| */ | |
| class YourModel extends Eloquent.... | |
| public static function boot() { | |
| public $timestamps = false; |