Skip to content

Instantly share code, notes, and snippets.

@joxz
joxz / _01.md
Last active June 20, 2022 08:12
Azure Policy Collection

Azure Policy

@joxz
joxz / _01.md
Last active December 19, 2022 18:56
Netbox LetsEncrypt and SSO with OpenResty

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
@joxz
joxz / _01.md
Last active December 19, 2022 18:56
Netbox SSO with Okta, Vouch and Nginx

Netbox SSO with Okta, Vouch and Nginx

@joxz
joxz / alpine-harden.sh
Last active February 18, 2019 13:15
alpine hardening script for docker containers
#!/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
@joxz
joxz / extensions.list
Last active February 7, 2019 06:22
visual studio code settings and extensions
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
@joxz
joxz / netbox.service
Last active May 4, 2018 15:58
Netbox using uWSGI and systemd
[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
@joxz
joxz / open_vscode.reg
Last active June 29, 2018 19:23
regedit right click options for vscode
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
@joxz
joxz / _01.md
Last active April 6, 2021 19:25
tmux

TMUX

@joxz
joxz / README.md
Created March 24, 2017 17:05 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


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


@joxz
joxz / 01_linux_stuff.md
Last active March 30, 2017 07:39
Linux Stuff