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
Matoma Setup on AWS |
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
HTTPS Setup/Renewal on AWS |
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
Response Headers we should set with webapps | |
Strict-Transport-Security | |
X-Content-Type-Options | |
X-Frame-Options | |
X-XSS-Protection | |
TODO: | |
Content-Security-Policy |
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
Apache Web Server Setup |
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 ../../..libs/bats/bin/bats | |
load '../../../lib/bats-support/load' | |
load '../../../lib/bats-assert/load' | |
# ^^ Make sure the above are correct, or make relative ^^ | |
# Locate the script file to test based on .bats file path | |
SCRIPT_DIR="$BATS_TEST_DIRNAME"<relative_path_from_this_file> | |
TEST_PREFIX="download-image.sh -"; |
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
ls | |
git clone https://github.com/devlinjunker/shell.git | |
cls | |
port | |
node | |
port install nvm | |
sudo port install nvm | |
vim ~/.zshrc | |
nvm | |
exit |
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
install nextcloud on AWS AMI Instance |
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 | |
# print last 20 lines | |
remember() { | |
cat ~/.bash_history | awk '{ if (NR % 2 == 0) print NR/2,$0 }' | awk '{ array[NR]=$0 } END { for (i=NR-20; i<=NR; i++) print array[i] }' | |
} | |
# TODO: | |
# - [ ] Accept parameters and check if |
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
Changes to EC2 Instance to enable sending email |
OlderNewer