This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of country codes (ISO) on the blacklist. | |
# Usually countries I do not expect email traffic form. | |
TH | |
CN | |
RU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source=/Users/user1/one/ | |
destination=/Users/user1/two/ | |
cp -R $source $destination |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# local.d/antivirus.conf | |
# multiple scanners could be checked, for each we create a configuration block with an arbitrary name | |
clamav { | |
# If set force this action if any virus is found (default unset: no action is forced) | |
action = "reject"; | |
message = '${SCANNER}: virus found: "${VIRUS}"'; | |
# Scan mime_parts seperately - otherwise the complete mail will be transfered to AV Scanner | |
attachments_only = false; # Before 1.8.1 | |
#scan_mime_parts = true; # After 1.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Directory variables | |
# Where to start, in what directory. | |
start="/Users/ne/tmp/macnyt/music/" | |
# Subdir to look for. | |
sf="Soundfiles" | |
sb="soundbites" |