Skip to content

Instantly share code, notes, and snippets.

View akhilerm's full-sized avatar

Akhil Mohan akhilerm

View GitHub Profile
@dims
dims / differences.md
Last active November 5, 2024 01:27
Python script to compute updates to the Kubernetes go.mod to see how far we are behind latest in vendored repos
Package Current Latest URL
github.com/Microsoft/hnslib v0.0.7 v0.0.15 https://github.com/Microsoft/hnslib/compare/v0.0.7...v0.0.15
github.com/antlr4-go/antlr/v4 v4.13.0 v4.13.1 https://github.com/antlr4-go/antlr/v4/compare/v4.13.0...v4.13.1
github.com/asaskevich/govalidator f61b66f89f4a a9d515a09cc2 https://github.com/asaskevich/govalidator/compare/f61b66f89f4a...a9d515a09cc2
github.com/chai2010/gettext-go v1.0.2 v1.0.3 https://github.com/chai2010/gettext-go/compare/v1.0.2...v1.0.3
github.com/container-storage-interface/spec v1.9.0 v1.10.0 https://github.com/container-storage-interface/spec/compare/v1.9.0...v1.10.0
github.com/containerd/containerd/api v1.7.19 v1.8.0 https://github.com/containerd/containerd/api/compare/v1.7.19...v1.8.0
github.com/containerd/errdefs v0.1.0 v1.0.0 https://github.com/containerd/errdefs/compare/v0.1.0...v1.0.0
github.com/containerd/ttrpc v1.2.5 v1.2.6
@nadavrot
nadavrot / Matrix.md
Last active November 15, 2024 16:00
Efficient matrix multiplication

High-Performance Matrix Multiplication

This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).

Intro

Matrix multiplication is a mathematical operation that defines the product of

@dpino
dpino / ns-inet.sh
Last active October 6, 2024 13:07
Setup a network namespace with Internet access
#!/usr/bin/env bash
# set -x
if [[ $EUID -ne 0 ]]; then
echo "You must be root to run this script"
exit 1
fi
# Returns all available interfaces, except "lo" and "veth*".