Skip to content

Instantly share code, notes, and snippets.

View jglien's full-sized avatar

John Lien jglien

View GitHub Profile
@jglien
jglien / iptables.rules
Last active April 23, 2024 21:01
A minimal, secure iptables rule list allowing SSH and http(s) to Docker
# Generated by iptables-save v1.8.10 on Tue Apr 23 14:57:55 2024
*filter
:INPUT DROP [28216:5015938]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [294460:212080236]
:DOCKER - [0:0]
:DOCKER-ISOLATION-STAGE-1 - [0:0]
:DOCKER-ISOLATION-STAGE-2 - [0:0]
:DOCKER-USER - [0:0]
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
@jglien
jglien / config.lua
Last active February 7, 2024 22:44
My LunarVim Config
-- Read the docs: https://www.lunarvim.org/docs/configuration
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
-- Forum: https://www.reddit.com/r/lunarvim/
-- Discord: https://discord.com/invite/Xb9B4Ny
-- tip: have ripgrep installed for telescope
-- note: LunarVim has language support built-in, don't use COC
lvim.plugins = {
-- Appearance