Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Stuck at Home

devlinjunker

🏠
Stuck at Home
View GitHub Profile
View example.bats
#!/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 -";
@devlinjunker
devlinjunker / -apache
Last active Nov 8, 2020
Apache Web Server Setup
View -apache
Apache Web Server Setup
@devlinjunker
devlinjunker / -webapp-headers
Last active Oct 8, 2020
Expected Security Headers for Web App
View -webapp-headers
Response Headers we should set with webapps
Strict-Transport-Security
X-Content-Type-Options
X-Frame-Options
X-XSS-Protection
TODO:
Content-Security-Policy
@devlinjunker
devlinjunker / -https
Last active Feb 13, 2021
HTTPS Setup
View -https
HTTPS Setup/Renewal on AWS
@devlinjunker
devlinjunker / -matoma
Last active Nov 9, 2020
AWS Matomo Setup
View -matoma
Matoma Setup on AWS