Skip to content

Instantly share code, notes, and snippets.

View kiler129's full-sized avatar

Gregory House kiler129

  • noFlash
  • Chicago, IL (USA)
View GitHub Profile
@kiler129
kiler129 / pp-iptables.py
Last active May 26, 2025 00:47 — forked from intijk/pp-iptables.py
Pretty print iptables output. Align columns and strip out comments.
#!/usr/bin/python3
import re
import sys
import os
from tabulate import tabulate
strip_comments = os.getenv('IPT_STRIP_COMMENTS') == '1'
comments_re = re.compile(r'/\*(.*?)\*/')
@kiler129
kiler129 / iommu.sh
Last active December 20, 2023 02:34 — forked from Roliga/iommu.sh
#!/bin/bash
### Improved IOMMU/PCIe list script
# The script was originally authored by Roliga (https://gist.github.com/Roliga/d81418b0a55ca7682227d57af277881b)
# This version changes:
# 1) enable listing of devices even if IOMMU is disabled
# 2) add support for NVMe & SAS block devices
# 3) display disks serial & firmware (if available)
# 4) QOL improvements: disabled paging by default; don't crash on missing lsusb
@kiler129
kiler129 / README.md
Last active June 4, 2025 23:27 — forked from seeker2921/ilo-console.sh
Run iLO remote console from shell

iLO Remote Console

This small script lets you start iLO Java-based console from shell.

But why not HTML5?

  • iLO 2/3 doesn't have HTML5 console
  • Mounting local (from the client computer) ISOs is PAINFULLY slow via HTML5 client

TL;DR

If you just start it, it will ask you for everything: