Skip to content

Instantly share code, notes, and snippets.

View dragonde's full-sized avatar
💭
Ready, Steady & Go!

dragonde

💭
Ready, Steady & Go!
View GitHub Profile
@dragonde
dragonde / mac-install.md
Last active December 2, 2024 05:14
mac install
@dragonde
dragonde / aws-notes.md
Last active October 3, 2024 13:43
Aws Notes

aws ecr batch-delete-image --repository-name plytix --image-ids imageTag=hotfix_5.106.2-2023261e-1727951428

@dragonde
dragonde / flux.md
Last active September 18, 2024 10:29
flux

Flux

flux -n default get hr flux -n default suspend hr kong

reconcile | resume

@dragonde
dragonde / git-pull.md
Last active September 3, 2024 15:15
git-pull

git pull

git pull --rebase

if merge conflict ->

git rebase --abort

@dragonde
dragonde / ubuntu-wh1000mx3
Created August 13, 2024 06:18
ubuntu problems with WH-1000-XM3
sudo alsa force-reload
@dragonde
dragonde / api-project.md
Last active August 3, 2024 17:03
api-project[object Object]

api project

package main

import (
	"context"
	"fmt"
	"net/http"
	"strconv"
@dragonde
dragonde / add-kubeconfig.md
Last active August 2, 2024 15:28
add-kubeconfig

add-kubeconfig

function add-kubeconfig() {
  if [[ -z $1 ]]; then
    echo "Usage: add-kubeconfig <path-to-kubeconfig>"
    return 1
  fi

 CONTEXT=$(yq e '.contexts[0].name' $1)
@dragonde
dragonde / awsvpnclient-ubuntu2404.md
Last active December 12, 2024 11:15
awsvpnclient-ubuntu2404

Steps

Working with awsvpnclient 3.14.0

Download & Install AwsVPNClient and LibSSL1.1

curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb

curl https://d20adtppz83p9s.cloudfront.net/GTK/latest/awsvpnclient_amd64.deb -o awsvpnclient_amd64.deb