Skip to content

Instantly share code, notes, and snippets.

@AlexGluck
AlexGluck / nexus-ingress.yaml
Last active April 19, 2025 06:26
ingress-nginx manifests for sonatype nexus docker repositories
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ingress-nginx-controller
data:
http-snippet: "proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nexus:100m inactive=30d max_size=2g use_temp_path=off;"
...
---
@hermanbanken
hermanbanken / Dockerfile
Last active September 1, 2025 21:47
Compiling NGINX module as dynamic module for use in docker
FROM nginx:alpine AS builder
# nginx:alpine contains NGINX_VERSION environment variable, like so:
# ENV NGINX_VERSION 1.15.0
# Our NCHAN version
ENV NCHAN_VERSION 1.1.15
# Download sources
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active November 1, 2025 03:59
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line