Skip to content

Instantly share code, notes, and snippets.

@rafi
rafi / k3d-istio.md
Last active August 16, 2023 11:29
K3d and Istio (Service Mesh - Governing the data plane)

K3d and Istio

Prerequisites

Ensure docker, k3d and istioctl installed.

brew update
brew install --cask docker
brew install k3d istioctl
@andrisasuke
andrisasuke / install_m2crypto.txt
Created May 2, 2017 10:12
python install m2crypto on Mac OS X
$> brew install openssl
$> brew install swig
$> env LDFLAGS="-L$(brew --prefix openssl)/lib" \
CFLAGS="-I$(brew --prefix openssl)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \
pip install m2crypto
@n00bsys0p
n00bsys0p / vdi2raw.sh
Created July 31, 2012 17:11
Script to convert a VirtualBox VDI to RAW disk image
#!/bin/bash
LODEV=$(sudo losetup -f)
# The output file name
FNAME="diskimage"
# File extension for the vmdk copy
VMDKEXT="vmdk"
# File extension for the raw copy
RAWEXT="raw"