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
Disable-InternetExplorerESC | |
Disable-UAC | |
Enable-RemoteDesktop | |
Install-WindowsUpdate | |
cinst boxstarter | |
cinst chocolatey | |
cinst google-chrome-x64 |
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
Disable-InternetExplorerESC | |
Disable-UAC | |
Enable-RemoteDesktop | |
Install-WindowsUpdate | |
cinst boxstarter | |
cinst chocolatey | |
cinst google-chrome-x64 | |
cinst firefox | |
cinst googledrive |
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
filebeat.prospectors: | |
- input_type: log | |
paths: | |
- /var/log/{example}.log | |
output.logstash: | |
hosts: ["{IP}}:5520"] | |
logging.level: info |
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
{ | |
"Version": "2008-10-17", | |
"Id": "PolicyForCloudFrontPrivateContent", | |
"Statement": [ | |
{ | |
"Sid": "1", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity ${yourIdentity}" | |
}, |
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
stages: | |
- test | |
- deploy | |
- invalidate | |
test: | |
stage: test | |
script: | |
- python munkilinter.py $CI_PROJECT_DIR | |
only: |
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
<?php | |
/** | |
* Super-simple AWS CloudFront Invalidation Script | |
* | |
* Steps: | |
* 1. Set your AWS access_key in gitlab CI/CD | |
* 2. Set your AWS secret_key in gitlab CI/CD | |
* 3. Set your CloudFront DISTRIBUTION_ID in gitlab CI/CD | |
* 4. Define the batch of paths to invalidate | |
* 5. Run it on the command-line with: php invalidate-cloudfront.php $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY $DISTRIBUTION_ID |
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
nebula | |
├── binaries # store local binaries here | |
├── ca # ca related activities | |
├── lighthouse1 # lighthouse related items and configs | |
└── node1 # node related itemd and configs |
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
/nebula/lighthouse1 | |
├── ca.cert # > /etc/nebula/ | |
├── config.yaml # > /etc/nebula/ | |
├── lighthouse.cert # > /etc/nebula/ | |
├── lighthouse.key # > /etc/nebula/ | |
├── nebula # > /user/local/bin/ | |
└── nebula.service # > /etc/systemd/system/ |
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
inbound: | |
# Allow icmp between any nebula hosts | |
- port: any | |
proto: icmp | |
host: any |