This file contains hidden or 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 | |
set -x | |
# This script with documentation is available at: https://gist.github.com/blazewicz/04e666ae1f25387c8b291d81b12c550c | |
## 1. install required dependencies with apt | |
apt update && apt install python3-venv python3-dev libffi-dev libssl-dev | |
## 2. create directory for docker-compose's virtualenv | |
mkdir -p /opt/local/docker-compose |
This file contains hidden or 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
# Use macOS keychain to store AWS access keys | |
# Alias to return AWS access keys from macOS keychain as input to credential_process | |
# ~/.aws/cli/alias | |
keychain = | |
!f() { | |
# Pass in aws profile name | |
# Assumes you are using (default) login keychain | |
access_key_id=$(security find-generic-password -s "aws profile ${1}" -a "AccessKeyId" -w) | |
secret_access_key=$(security find-generic-password -s "aws profile ${1}" -a "SecretAccessKey" -w) |
This file contains hidden or 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
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable | |
schtasks /Change /TN "Microsoft\Windows\ApplicationData\CleanupTemporaryState" /Disable | |
schtasks /Change /TN "Microsoft\Windows\ApplicationData\DsSvcCleanup" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable | |
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable | |
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable |