Note: on legacy intel system the path may be /usr/local/etc/clamav instead of /opt/homebrew/etc/clamav/
$ brew install clamav
$ cd /opt/homebrew/etc/clamav/
$ cp freshclam.conf.sample freshclam.conf
#!/bin/bash | |
# Script for adding "space" separator to Dock in macOS. | |
# Before running make the file "macos_dock_spacing" executable. | |
# In the terminal, run | |
# $ chmod 700 macos_dock_spacing | |
# then run from the terminal as | |
# $ ./macos_dock_spacing | |
echo |
function getGreetingTime (m) { | |
var g = null; //return g | |
if(!m || !m.isValid()) { return; } //if we can't find a valid or filled moment, we return. | |
var split_afternoon = 12 //24hr time to split the afternoon | |
var split_evening = 17 //24hr time to split the evening | |
var currentHour = parseFloat(m.format("HH")); | |
if(currentHour >= split_afternoon && currentHour <= split_evening) { |