Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 3, 2023
1 parent edc34be commit 95c2d1f
Show file tree
Hide file tree
Showing 345 changed files with 7,564 additions and 5,543 deletions.
2 changes: 1 addition & 1 deletion .curlrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ progress-bar
referer = ";auto"
remote-time
show-error
verbose
verbose
2 changes: 1 addition & 1 deletion .gnupg/gpg-agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pinentry-program /usr/bin/pinentry-curses
#pinentry-program /usr/bin/pinentry-qt
#pinentry-program /usr/local/bin/pinentry-curses
#pinentry-program /usr/local/bin/pinentry-mac
#pinentry-program /opt/homebrew/bin/pinentry-mac
#pinentry-program /opt/homebrew/bin/pinentry-mac
2 changes: 1 addition & 1 deletion .gnupg/gpg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ throw-keyids
# Verbose output
#verbose
# Show expired subkeys
#list-options show-unusable-subkeys
#list-options show-unusable-subkeys
1,136 changes: 568 additions & 568 deletions .vscode/PythonImportHelper-v2-Completion.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers"
],
"defines": [],
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-x64"
}
],
"version": 4
}
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers"
],
"defines": [],
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-x64"
}
],
"version": 4
}
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ compinit

fpath+=~/.zfunc

eval "$(direnv hook zsh)"
eval "$(direnv hook zsh)"
3 changes: 1 addition & 2 deletions better_anonymity
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ hello() {
local text=${BASH_CLI_OPT_VALUE[1]}
local enabled_uppercase=${BASH_CLI_OPT_VALUE[2]}
local enabled_lowercase=${BASH_CLI_OPT_VALUE[3]}

if [ ${enabled_uppercase} == true ]; then
echo "${prefix} ${text}" | tr '[:lower:]' '[:upper:]'
elif [ ${enabled_lowercase} == true ]; then
Expand All @@ -138,4 +138,3 @@ hello() {
}

source ../base.sh

2 changes: 1 addition & 1 deletion bin/clean
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ if [ -z "$1" ]; then
echo ""
else
$METAMODULE $@
fi
fi
2 changes: 1 addition & 1 deletion bin/homebrew_tap
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH"
else
printf "WARNING: Homebrew Tap script does not exist or is not executable.\n"
fi
fi
2 changes: 1 addition & 1 deletion blockips.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ block drop log quick from <emerging_threats> to any
table <compromised_ips> persist file "@PREFIX@/etc/@NAME@/compromised-ips.txt"
block drop log quick from <compromised_ips> to any

# THIS RULESET HAS BEEN OBSOLETED!!
# THIS RULESET HAS BEEN OBSOLETED!!
# http://rules.emergingthreats.net/blockrules/rbn-ips.txt
#table <rbn_ips> persist file "@PREFIX@/etc/@NAME@/rbn-ips.txt"
#block drop log quick from <rbn_ips> to any
Expand Down
1 change: 0 additions & 1 deletion config/bin/apply_basic_settings
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ sudo scutil --set ComputerName $mac_os_label
sudo scutil --set HostName $mac_os_name
sudo scutil --set LocalHostName $mac_os_name
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $mac_os_name

2 changes: 1 addition & 1 deletion config/bin/apply_default_settings
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ printf "%s\n" "See: https://security.stackexchange.com/a/47786/8918"
defaults write com.apple.terminal SecureKeyboardEntry -bool true

printf "%s\n" "Photos - Prevent Photos from opening automatically when devices are plugged in."
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
2 changes: 1 addition & 1 deletion config/bin/homebrew_tap
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# Homebrew tap.

brew tap cmars/onionpipe
brew tap cmars/onionpipe
2 changes: 1 addition & 1 deletion config/bin/install_applications
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

install_dmg_app "$DOCKER_APP_URL" "$DOCKER_VOLUME_NAME" "$DOCKER_APP_NAME"
install_dmg_pkg "$GPG_KEYCHAIN_APP_URL" "$GPG_KEYCHAIN_VOLUME_NAME" "$GPG_KEYCHAIN_APP_NAME"
install_zip_app "$POSTMAN_APP_URL" "$POSTMAN_APP_NAME"
install_zip_app "$POSTMAN_APP_URL" "$POSTMAN_APP_NAME"
2 changes: 0 additions & 2 deletions config/bin/install_homebrew_casks
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ brew install --cask iterm2
brew install --cask librewolf
brew install --cask rstudio
brew install --cask visual-studio-code


2 changes: 1 addition & 1 deletion config/bin/restore_backup
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ rsync \

# Newsyslog
sudo cp -p "$mac_os_backup_root/etc/newsyslog.d/patrick.roach.conf" "/etc/newsyslog.d"
sudo cp -p "$mac_os_backup_root/etc/newsyslog.d/homebrew.conf" "/etc/newsyslog.d"
sudo cp -p "$mac_os_backup_root/etc/newsyslog.d/homebrew.conf" "/etc/newsyslog.d"
4 changes: 2 additions & 2 deletions docs/papers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ You can use OTR on top of any existing [XMPP](https://xmpp.org/about) chat servi

The first time you start a conversation with someone new, you'll be asked to verify their public key fingerprint. Make sure to do this in person or by some other secure means (e.g. GPG encrypted mail).

A popular macOS GUI client for XMPP and other chat protocols is [Adium](https://adium.im/).
A popular macOS GUI client for XMPP and other chat protocols is [Adium](https://adium.im/).

Other XMPP clients include [profanity](http://www.profanity.im/) and [agl/xmpp-client](https://github.com/agl/xmpp-client). Another relatively new XMPP chat client is [CoyIM](https://coy.im/), it's focused and security and has built-in support for OTR and Tor.

Expand Down Expand Up @@ -1499,7 +1499,7 @@ $ :>~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2
$ sudo chflags schg ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2
```

Alternatively, you can also disable Gatekeeper using the following command:
Alternatively, you can also disable Gatekeeper using the following command:

```sudo spctl --master-disable```

Expand Down
Loading

0 comments on commit 95c2d1f

Please sign in to comment.