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
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-linux-x64.rpm" | |
sudo yum -y localinstall jdk-*.rpm | |
rm -fR jdk-*.rpm | |
/usr/sbin/alternatives --config java | |
# install JCE 8 | |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" | |
unzip jce_policy-8.zip | |
mv /usr/java/default/jre/lib/security/local_policy.jar /usr/java/default/jre/lib/security/local_policy.jar.backup |
sudo gem install jekyll s3_website jekyll-assets jekyll-min jekyll-sitemap | |
npm install uglify-js -g |
logs | |
*.log | |
project/project | |
project/target | |
.target | |
target | |
tmp | |
.cache | |
.history | |
.idea |
brew update | |
brew cask install java | |
brew cask install jce-unlimited-strength-policy | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` |
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
brew tap homebrew/science | |
brew install opencv3 --HEAD --with-contrib --with-java | |
brew install imagemagick |
var AWS = require('aws-sdk'); | |
var ses = new AWS.SES({apiVersion: '2010-12-01'}); | |
var toAddress = 'CodeEngine.com <[email protected]>'; | |
var source = 'Contact Form <[email protected]>'; | |
var successMsg = 'Thank you for contacting us! Your message has been sent.'; | |
var charset = 'UTF-8'; | |
var numberOfSubjectWords = 8; | |
var validateEmail = function (email) { |
exports.handler = (event, context, callback) => { | |
callback(null, "iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAA4pklEQVR4Ae2dd1xUd9b/LwWxY++KxnSjMRtN302yMSXrpuTZjfntZpM1m90YjRQYCgPMwEjvIoqKvaPYCxZAsceuiAXFgoACoShz7/S58/vcPCS7Ppgswgxc7pw/3i99Ucbhcs/b7/fc8z2HsVgsRBuzPXunc6Bc8Un4jKg14ADYDZL9AuQvVVfXONM1aj3MlZccWP9Og7gZwyeDcKBg5T0+0GeHdqPr0/bQRWhjcvP2jYWsjkJQJmAGfANmYJwRGXNSHqJ8S6vV0fWyIby6ioGYxnGRI3dDUkZgAuYGTFzEIyWsvOfnhoOz7fMakbCIg4cOjw0ICj3RICjLL8ADY0RUbIYyPLITXTcrYzYwrHJAVy7qsQXcDHcD5MQDy4NxN7JB3f0N3y+yr2tEwiKOHT/hBlmt/GVZNcIEzkdExQym62c9ONXwxyCiSw0rKst/ReV+j5W7fWo8udI+rhEJizh16gwTGKz4e5gq0ijI6CHgQUlsfOKTdB1bjib6iRchoKrGq6pfBzmu7cZTa4bRNSRh2QXHj5/sJQuQrxIk1EzKEpNTR9K1bD6ahLHPQ1Z1jYTUtFWWiQ3u9Tfj+c10LUlY0ufMmXNv+foHVQjyaQFXZs1O70/X8+HRzHx5LLaBdwT5NBfWv+NC49msHnQ9SViS5nzhBSY4NGwatoN8C4XF4zVOzJ2/sANd16ajnfP7YZDVjZbIqmFbWAhh/YauKQlL0pw5e66rr1/gPEE6VsAEaWUvXrqcrm0T0C74Yzds584KwmkprJ+ryXQx+xOpXzMSFglrhMw/aI8gHCthgLRWr1i5WhrbtZSXbSOrZZM6cKph+Y0S7M0Er2XhlAO9TEW5kr5fSVgkrPEQ1iVBNlZErwyPWL123Qarvc/0eRkMEvt9W/v6QA |
openssl s_client -connect owapi.net:443 </dev/null | |
ex +'g/BEGIN CERTIFICATE/,/END CERTIFICATE/p' <(echo | openssl s_client -showcerts -connect ) -scq > comodo-ecc-ca.cert | |
keytool -import -file comodo-ecc-ca.cert -alias comodo-ecc-ca -keystore truststore |