Skip to content

Instantly share code, notes, and snippets.

View bartvdbraak's full-sized avatar
🎁
building en fostering

Bart van der Braak bartvdbraak

🎁
building en fostering
View GitHub Profile
@bartvdbraak
bartvdbraak / backup-wwwroot.py
Created January 30, 2024 20:07
(unfinished) Download wwwroot of Linux Web App on Azure using ssh and tar
import os
import sys
import time
import subprocess
import re
import paramiko
from paramiko import SSHClient, AutoAddPolicy
REMOTE_FILE_OUTPUT = "/home/site/wwwroot.tar"
@bartvdbraak
bartvdbraak / download-acr-helm-charts.sh
Created May 15, 2023 19:11
script to download all latest helm charts on your Azure Container Registry
#!/bin/bash
# Destination directory to save YAML files
DESTINATION_DIR="${1:-.}"
# Prompt for Azure Container Registry name if not provided
read -p "Enter Azure Container Registry name: " ACR_NAME
# Add Azure Container Registry to helm repositories
echo "Enter the password for your Azure Container Registry"
{"label":"lighthouse","message":"99","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"}
{"label":"lighthouse","message":"99","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"}