Skip to content

Instantly share code, notes, and snippets.

View justaguywhocodes's full-sized avatar

Toussaint Louverture justaguywhocodes

View GitHub Profile
# Define the cache directory
$cacheDir = "<your dir>"
Write-Host "Cache directory: $cacheDir"
# Helper function to find byte sequence in a byte array
function Find-ByteSequence {
param (
[byte[]]$haystack,
[byte[]]$needle
)
sudo apt update && sudo apt install apt-offline -y
sudo apt-offline set --update --upgrade apt-offline.sig
sudo apt-offline get apt-offline.sig --bundle bundle.zip
# Transfer bundle.zip to air-gapped via USB.
# On air-gapped:
sudo apt-offline install bundle.zip
xMnueFSYC65LbBsCOGJKj29N0fU8ZEPJ0NqZZiARbW0=
https://drive.usercontent.google.com/download?id=1BldTmj6J64FnN99ME58fJObKOD-5itdP&export=download&authuser=0
https://drive.usercontent.google.com/download?id=19Ky0dYV9LZzToO3H74PI3gf5eMqFxeCH&export=download&authuser=0
https://drive.usercontent.google.com/download?id=10rDMwX27ySlt9kWUp479WxWsCzHUuiy2&export=download&authuser=0
https://drive.usercontent.google.com/download?id=1MVxdeynOyntjLVRiO2sm15hmVbsA6CxX&export=download&authuser=0
https://drive.usercontent.google.com/download?id=1g6F-y9bkNrIWE8OJXoE_-2C0Mp4hETEm&export=download&authuser=0
https://drive.usercontent.google.com/download?id=1BuPErom0tZmzEJtQPLl5CMDNTkbTIs2l&export=download&authuser=0
https://x.com/thebabylonbee/status/1981492100668473805?s=46