Netbox LetsEncrypt and SSO with OpenResty
sudo apt-get -y install --no-install-recommends wget gnupg ca-certificates
wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" \
| sudo tee /etc/apt/sources.list.d/openresty.list
sudo apt-get update
Netbox SSO with Okta, Vouch and Nginx
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/sh | |
# Credits: | |
# https://github.com/ellerbrock/docker-collection/blob/master/dockerfiles/alpine-harden/harden.sh | |
# https://github.com/HazCod/hardened-alpine/blob/master/Dockerfile | |
set -euxo pipefail | |
# Remove existing crontabs, if any. | |
rm -rf /var/spool/cron |
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
ccy.ayu-one | |
dracula-theme.theme-dracula | |
faceair.ayu-one-dark | |
GitHub.vscode-pull-request-github | |
mohsen1.prettify-json | |
ms-python.python | |
ms-vscode.Go | |
okon3.ayu-miragemod | |
PeterJausovec.vscode-docker | |
piotrpalarz.vscode-gitignore-generator |
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
[Unit] | |
Description=NetBox IPAM/DCIM Tool | |
Documentation=http://netbox.readthedocs.io/en/stable/ | |
Requires=netbox.socket | |
After=syslog.target | |
[Service] | |
ExecStart=/usr/local/bin/uwsgi --ini /opt/netbox/uwsgi.ini | |
ExecReload=/bin/kill -1 $MAINPID | |
ExecStop=/bin/kill -2 $MAINPID |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Classes\*\shell\VSCode] | |
@=hex(2):4f,00,70,00,65,00,6e,00,20,00,77,00,69,00,74,00,68,00,20,00,43,00,26,\ | |
00,6f,00,64,00,65,00,00,00 | |
"Icon"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\ | |
00,46,00,69,00,6c,00,65,00,73,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,00,00 |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed
# sudo -i
# get cert in base64 encoded format
NewerOlder