Skip to content

Instantly share code, notes, and snippets.

View disjustin's full-sized avatar

Justin Wong disjustin

  • Supermicro
  • 05:35 (UTC -08:00)
View GitHub Profile
@disjustin
disjustin / DmidecodeParser.py
Created January 6, 2026 23:20
Python script to convert dmidecode output to json
"""
This Python script defines a tool to extract and parse specific hardware information from a system's DMI (Desktop Management Interface) / SMBIOS data using the dmidecode command-line utility (commonly available on Linux systems).
Tested on Rocky Linux 9.5 using dmidecode version 3.6 (dmidecode-3.6-1.el9.x86_64)
Original version 1/6/2025 Justin Wong
"""
import subprocess
import json
from datetime import datetime
import re
@disjustin
disjustin / generate_ubuntu_live_iso.md
Last active October 6, 2025 09:39 — forked from varqox/install_debian_with_debootstrap_howto.md
Instructions how to install Debian using debootstrap
@disjustin
disjustin / download-outlook-attachment.py
Last active May 30, 2024 18:38
# Download attachments from unread Outlook emails from a specified date
'''
#requirements.txt
pypiwin32==223
pywin32==306
'''
# Download attachments from unread Outlook emails from a specified date
# original: https://www.linkedin.com/pulse/using-python-download-outlook-excel-attachment-victor-sun/
import os
import sys
from win32com.client import Dispatch