Skip to content

Instantly share code, notes, and snippets.

@westelh
westelh / otel.yml
Last active October 28, 2025 08:21
Opentelemetry debug exporter config
# nerdctl run --rm -p 4317:4317 -p 4318:4318 -v "$PWD/otel.yml:/etc/otelcol/config.yaml" otel/opentelemetry-collector:latest
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
exporters:
@westelh
westelh / kustomization.yaml
Created April 6, 2024 08:06
Simple kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deploy.yaml
patches:
- some-patch.yaml
@westelh
westelh / Vagrantfile
Last active April 27, 2023 04:51
Vagrantfile of x86_64 image for aarch64 Mac with qemu
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu1804"
config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: []
config.disksize.size = '10GB'
config.vm.provider "qemu" do |qe|
qe.machine = "pc"
qe.arch = "x86_64"
qe.cpu = "qemu64"
qe.net_device = "virtio-net-pci"
@westelh
westelh / Vagrantfile
Created February 17, 2023 08:06
Vagrantfile for aarm64 Mac
Vagrant.configure("2") do |config|
config.vm.box = "starboard/ubuntu-arm64-20.04.5"
config.vm.box_version = "20221120.20.40.0"
config.vm.provider "vmware_desktop" do |v|
v.ssh_info_public = true
v.gui = true
v.linked_clone = false
v.vmx["ethernet0.virtualdev"] = "vmxnet3"
end
end
@westelh
westelh / docker.yml
Created December 16, 2022 15:15
Ansible tasks to install docker on Debian 11 (bullseye)
- name: Install aptitude
apt:
name: aptitude
state: latest
update_cache: true
- name: Install required system packages
apt:
pkg:
- apt-transport-https
@westelh
westelh / extlms.sh
Created April 25, 2022 12:39
[[ExtLMS Installation Commands]]
brew tap westelh/extlms
brew install --cask extlms