The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so
{ | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"benchmarkIndex": 1274 | |
}, | |
"lighthouseVersion": "3.2.1", | |
"fetchTime": "2018-11-06T02:24:41.239Z", | |
"requestedUrl": "https://ofro.pwc.com/ecosystems/digital-risk-solutions", |
{ | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.0 Safari/537.36", | |
"benchmarkIndex": 1294 | |
}, | |
"lighthouseVersion": "3.2.1", | |
"fetchTime": "2018-11-05T23:07:19.929Z", | |
"requestedUrl": "https://ofro.pwc.com/", |
// Moral Code | |
var command = 'Love one another'; | |
console.log(command); |
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.0 Safari/537.36","lighthouseVersion":"3.0.3","fetchTime":"2018-09-24T13:42:44.786Z","requestedUrl":"https://www.manh.com/","finalUrl":"https://www.manh.com/","runWarnings":[],"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/https).","score":1,"scoreDisplayMode":"binary","rawValue":true,"displayValue":"","details":{"type":"table","headings":[],"items":[]}},"redirects-http":{"id":"redirects-http","title":"Redirects HTTP traffic to HTTPS","description":"If you've already set up HTTPS, make sure that you redirect all HTTP tra |
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.0 Safari/537.36","lighthouseVersion":"3.0.3","fetchTime":"2018-09-24T14:24:57.185Z","requestedUrl":"https://www.manh.com/","finalUrl":"https://www.manh.com/","runWarnings":[],"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/https).","score":1,"scoreDisplayMode":"binary","rawValue":true,"displayValue":"","details":{"type":"table","headings":[],"items":[]}},"redirects-http":{"id":"redirects-http","title":"Redirects HTTP traffic to HTTPS","description":"If you've already set up HTTPS, make sure that you redirect all HTTP tra |
<?php | |
/** | |
* @file | |
* Settings for local development. | |
*/ | |
/** | |
* Change location of oauth keys for local development. | |
*/ |
docker-compose up -d | |
Creating network "drupal8_default" with the default driver | |
Creating drupal8_traefik_1 ... | |
Creating drupal8_mailhog_1 ... | |
Creating drupal8_portainer_1 ... | |
Creating drupal8_mariadb_1 ... | |
Creating drupal8_php_1 ... | |
Creating drupal8_mariadb_1 | |
Creating drupal8_traefik_1 | |
Creating drupal8_php_1 |
<?php | |
// Array of user IDs to email. | |
$uids = array('1'); | |
// Loop through array of uids and attempt to send password reset emails. | |
foreach ($uids as $uid) { | |
// Load a user. | |
$account = user_load($uid); | |
// Invoke the email. It will be queued along with other system mail to be sent during cron |
<?php | |
/** | |
* @file | |
* Drush policies to restrict what is allowed for certain drush commands. | |
*/ | |
/** | |
* Prevent production databases from being overwritten using drush sql-sync. | |
*/ |
The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so