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 June 28, 2024 12:30
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/Azure/go-ansiterm d185dfc1b5a1 306776ec8161 https://github.com/Azure/go-ansiterm/compare/d185dfc1b5a1...306776ec8161
github.com/Microsoft/go-winio v0.6.0 v0.6.2 https://github.com/Microsoft/go-winio/compare/v0.6.0...v0.6.2
github.com/Microsoft/hcsshim v0.8.26 v0.12.4 https://github.com/Microsoft/hcsshim/compare/v0.8.26...v0.12.4
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/armon/circbuf bbbad097214e 5111143e8da2 https://github.com/armon/circbuf/compare/bbbad097214e...5111143e8da2
github.com/asaskevich/govalidator f61b66f89f4a a9d515a09cc2 https://github.com/asaskevich/govalidator/compare/f61b66f89f4a...a9d515a09cc2
github.com/cenkalti/backoff/v4 v4.2.1 v4.3.0 https://github.com/cenkalti/backoff/v4/compare/v4.2.1...v4.3.0
github.com/cespare/xxhash/v2 v2.2.0 v2.3.0 http
@nadavrot
nadavrot / Matrix.md
Last active July 1, 2024 17:31
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 June 19, 2024 11:31
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*".