Skip to content

Instantly share code, notes, and snippets.

View spiritualhost's full-sized avatar

Ryan spiritualhost

View GitHub Profile
@gubatron
gubatron / rust projects default Makefile
Last active May 6, 2026 22:44
Makefile for rust projects
# Makefile
.PHONY: build release clean fmt check test install doc help tasks
default: help
# Default target (ensures formatting before building)
build: fmt ## Build the project in release mode (runs fmt first)
cargo build --release
@NullArray
NullArray / MAC-by-Vendor.txt
Created June 3, 2019 23:08
List of valid MAC adresses sorted by vendor
Misc MACs:
Num MAC Vendor
--- --- ------
0000 - 00:00:00 - XEROX CORPORATION
0001 - 00:00:01 - XEROX CORPORATION
0002 - 00:00:02 - XEROX CORPORATION
0003 - 00:00:03 - XEROX CORPORATION
0004 - 00:00:04 - XEROX CORPORATION
0005 - 00:00:05 - XEROX CORPORATION
0006 - 00:00:06 - XEROX CORPORATION
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active August 30, 2026 21:07
set -e, -u, -o, -x pipefail explanation
@rikwatson
rikwatson / Script-Template.ps1
Created February 25, 2015 10:24
A basic powerShell script template showing best practices,
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>