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
#!/usr/bin/env bash | |
set -e | |
VOLUME_PATH=/Volumes/installer | |
while getopts ":d:h" opts; do | |
case $opts in | |
d) | |
VOLUME_PATH=$OPTARG | |
;; |
#!/bin/sh | |
# More Mac setup at https://mac.iamdeveloper.com | |
# Log file | |
timestamp=$(date +%s) | |
logFile="./my-mac-setup-$timestamp.log" | |
# if true is passed in, things will reinstall | |
reinstall=$1 |
/* | |
* Handling Errors using async/await | |
* Has to be used inside an async function | |
*/ | |
try { | |
const response = await axios.get('https://your.site/api/v1/bla/ble/bli'); | |
// Success 🎉 | |
console.log(response); | |
} catch (error) { | |
// Error 😨 |
|
# See also: http://docs.couchdb.org/en/latest/cluster/index.html | |
# Before you can add nodes to form a cluster, you have to have them listen on a public ip address | |
# and set up an admin user (use same admin:password for all nodes). | |
# Do this, once per node: | |
# If you have installed couchdb in /opt (else change the Path) | |
cd /opt/couchdb/etc | |
cp local.ini local.ini.orig | |
cp vm.args vm.args.orig |
Let me first preface this guide with the fact that I had zero experience with raspberry pi before tonight. I'm comfortable in the command line and I've played with linux as an enthusiastic dabbler.
If you follow this guide, you should be able to go from fresh raspberry pi to running roms on piplay. Also, only use roms that you've legally obtained. I used Robot Bowl available for free, for non-commercial use at mamedev.org.
Install raspbian to your sd card using a different computer than your pi
plug in the pi your username/password will be pi/raspberry
const listDirectivesApp = () => { | |
const listDirectives = name => { | |
return angular | |
.module(name) | |
._invokeQueue | |
.filter(item => 'directive' === item[1]) | |
.map(item => item[2][0]); | |
}; | |
return angular |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)