Skip to content

Instantly share code, notes, and snippets.

View afbjorklund's full-sized avatar

Anders Björklund afbjorklund

  • Göteborg, Sweden
View GitHub Profile
@afbjorklund
afbjorklund / REVIEW.md
Last active August 29, 2015 14:21
git:review

Git: Gerrit Code Review

Review (notes)

refs/notes/review is a special reference that Gerrit creates on repositories to store information about code reviews.

When a repository is cloned from Gerrit, the refs/notes/review reference is not included by default. It has to be manually fetched:

$ git fetch origin refs/notes/review:refs/notes/review
@afbjorklund
afbjorklund / .gitignore
Last active November 28, 2022 17:47
ccache/memcached/distcc
.vagrant/
ubuntu-xenial-16.04-cloudimg-console.log
@afbjorklund
afbjorklund / .gitignore
Last active November 28, 2022 19:42
Multiple Servers
.vagrant
ubuntu-xenial-16.04-cloudimg-console.log
@afbjorklund
afbjorklund / machine-minikube.md
Last active September 26, 2020 11:19
Docker Machine - Kubernetes Minikube

Docker Machine - Kubernetes Minikube

Using a machine to run minikube.

This sets up a single-node Kubernetes installation, using the regular Boot2Docker ISO.

Tested with minikube version: v0.22.3 (latest) and kubernetes version: v1.8.0 (release)

Written by Anders Björklund (@afbjorklund)

@afbjorklund
afbjorklund / boot2docker-x11desktop.jpg
Last active October 13, 2023 17:47
Boot2Docker with X11 Desktop
boot2docker-x11desktop.jpg
@afbjorklund
afbjorklund / moxi.md
Last active September 16, 2019 08:45
Building moxi

Installing moxi

You need to use a supported OS, for the binary build dependencies to download.

This was tested with Ubuntu 16.04, but other distributions might also work...

Installing repo

https://code.google.com/archive/p/git-repo/

@afbjorklund
afbjorklund / minikube-modules.txt
Created August 7, 2019 11:42
minikube modules, listed by library size (in KB)
10120 k8s.io/api/core/v1
5968 github.com/aws/aws-sdk-go/service/s3
3716 net/http
3204 runtime
3124 github.com/googleapis/gnostic/OpenAPIv2
2808 k8s.io/api/extensions/v1beta1
2592 k8s.io/kubernetes/pkg/apis/core
2516 k8s.io/apimachinery/pkg/apis/meta/v1
2132 github.com/gogo/protobuf/proto
1984 github.com/json-iterator/go
@afbjorklund
afbjorklund / minikube-depth.txt
Created August 7, 2019 15:29
minikube dependencies, as plotted by github.com/KyleBanks/depth
k8s.io/minikube/cmd/minikube
├ bytes
├ fmt
├ log
├ os
├ strconv
├ github.com/golang/glog
├ bufio
├ bytes
├ errors
23388 github.com/containers/libpod/cmd/podman/cliconfig
12308 k8s.io/api/core/v1
4670 github.com/containers/libpod/libpod
3833 net/http
3436 runtime
3081 k8s.io/apimachinery/pkg/apis/meta/v1
2829 github.com/gogo/protobuf/proto
2554 github.com/vishvananda/netlink
2545 github.com/openshift/api/config/v1
2473 github.com/containers/libpod/cmd/podman/varlink
command-line-arguments
├ flag
├ fmt
├ os
├ github.com/golang/glog
├ bufio
├ bytes
├ errors
├ flag
├ fmt