Skip to content

Instantly share code, notes, and snippets.

View wyike's full-sized avatar

Yike Wang wyike

View GitHub Profile
@mcastelino
mcastelino / iptables-cheatsheet.md
Last active May 25, 2024 12:38
iptables-cheatsheet

The netfilter hooks in the kernel and where they hook in the packet flow

The figure below calls out

  • The netfilter hooks
  • The order of table traversal
@wangruohui
wangruohui / Install NVIDIA Driver and CUDA.md
Last active May 17, 2024 09:02
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
@elasticdog
elasticdog / delete-ami
Last active March 7, 2023 12:19
Deregister an Amazon Machine Image (AMI) and delete its corresponding root device snapshot
#!/usr/bin/env bash
#
# delete-ami
#
# A script to deregister an Amazon Machine Image (AMI) and
# delete its corresponding root device snapshot.
#
##### Functions