Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Path to Chart.yaml
CHART_FILE="$1"
# Helm repository name
HELM_REPO_NAME="$2"
# Helm repository URL
HELM_REPO_URL="$3"
# Chart name
CHART_NAME="$4"
@cappscolton
cappscolton / addhost.md
Last active June 7, 2023 17:46
Addhost

Add this to your ~/.bashrc or ~/.zshrc

Run source ~/.bashrc (or zshrc)

Run like this:

addhost 127.0.0.1 appname-dev

addhost(){
@cappscolton
cappscolton / convert.sh
Last active May 16, 2023 04:48 — forked from zengxinhui/convert2arch_x64.sh
Replace Oracle Cloud Linux with Arch Linux remotely
Refs:
1. http://mirror.cs.pitt.edu/archlinux/iso/2021.02.01/archlinux-bootstrap-2021.02.01-x86_64.tar.gz
2. https://dl-cdn.alpinelinux.org/alpine/v3.13/releases/x86_64/alpine-virt-3.13.1-x86_64.iso
3. https://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely
4. https://wiki.archlinux.org/index.php/installation_guide#Configure_the_system
Requirement:
Console access.
1. In Ubuntu