This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # download with: | |
| # curl -Lo cloud-provider-kind "https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/$(curl -s https://api.github.com/repos/kubernetes-sigs/cloud-provider-kind/releases/latest | jq -r .tag_name)/cloud-provider-kind-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)" && chmod +x cloud-provider-kind && sudo mv cloud-provider-kind /usr/local/bin/ | |
| # then run wget | |
| # # Reload systemd to recognize the new file | |
| # sudo systemctl daemon-reload | |
| # Enable the service to start on boot | |
| # sudo systemctl enable cloud-provider-kind | |
| # Start the service | |
| #sudo systemctl start cloud-provider-kind |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <opnsense> | |
| <version>11.2</version> | |
| <theme>opnsense</theme> | |
| <sysctl> | |
| <item> | |
| <descr>Disable the pf ftp proxy handler.</descr> | |
| <tunable>debug.pfftpproxy</tunable> | |
| <value>default</value> | |
| </item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # GitHub username | |
| USERNAME="ams0" | |
| # Base directories | |
| BASE_DIR="$(pwd)" | |
| PUBLIC_DIR="${BASE_DIR}/public" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $storage_account="contostore" | |
| $resource_group="resources" | |
| az login -i | |
| az storage account list --query "[].{name:name, location:location}" --output table | |
| az storage account update -k true --resource-group $resource_group --name $storage_account --public-network-access Enabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Define the path to the new wallpaper | |
| $wallpaperPath = "C:\custom-background.jpg" | |
| # Load user32.dll and define the SystemParametersInfo function | |
| Add-Type @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| public class User32 { | |
| [DllImport("user32.dll", CharSet = CharSet.Auto)] | |
| public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: gateway.networking.k8s.io/v1 | |
| kind: Gateway | |
| metadata: | |
| name: public-gateway | |
| namespace: istio-system | |
| annotations: | |
| cert-manager.io/cluster-issuer: letsencrypt-prod | |
| spec: | |
| infrastructure: | |
| annotations: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # Default values | |
| DEFAULTK8SVERSION="v1.32.2" | |
| DEFAULTNAME="kind" | |
| CILIUM_VERSION="1.17.0" | |
| DEFAULTIMAGE="kindest/node" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file can be regenerated by running the following command: | |
| # cd examples/omni/apps/kube-system/cilium/ && helm dependency build | |
| # helm template cilium . --namespace kube-system | yq -i 'with(.cluster.inlineManifests.[] | select(.name=="cilium"); .contents=load_str("/dev/stdin"))' ../../../infra/patches/cilium.yaml | |
| cluster: | |
| inlineManifests: | |
| - name: cilium | |
| contents: "---\n# Source: cilium/charts/cilium/templates/cilium-secrets-namespace.yaml\napiVersion: v1\nkind: Namespace\nmetadata:\n name: \"cilium-secrets\"\n labels:\n app.kubernetes.io/part-of: cilium\n---\n# Source: cilium/charts/cilium/templates/cilium-agent/serviceaccount.yaml\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: \"cilium\"\n namespace: kube-system\n---\n# Source: cilium/charts/cilium/templates/cilium-envoy/serviceaccount.yaml\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: \"cilium-envoy\"\n namespace: kube-system\n---\n# Source: cilium/charts/cilium/templates/cilium-operator/serviceaccount.ya |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!ipxe | |
| # ubuntu plucky penguin | |
| # $seedfrom used to find the user-data and meta-data files by nocloud-net provider for cloud-init. | |
| # the trailing slash is important, the cloud-init sticks 'meta-data' or 'user-data' right after it, without prepending a forward slash. | |
| set seedfrom http://pi.nas.home:8888/ubuntu/metadata | |
| # $base url is where the vmlinuz and initrd live. | |
| # they were fished out from the live-server iso file. the iso file is also in this directory. | |
| set base http://pi.nas.home:8888/ubuntu/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #kubectl aliases | |
| curl https://raw.githubusercontent.com/ahmetb/kubectl-alias/master/.kubectl_aliases -o ~/.kubectl_aliases ; source ~/.kubectl_aliases | |
| echo "source ~/.kubectl_aliases" >> ~/.bashrc | |
| source ~/.kubectl_aliases | |
| #kube-ps1 | |
| wget https://raw.githubusercontent.com/jonmosco/kube-ps1/refs/heads/master/kube-ps1.sh -O $HOME/.kube-ps1.sh | |
| source "$HOME/.kube-ps1.sh" |
NewerOlder