nano ~/.bash_profile
source ~/.bash_profile
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Team Map</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<!-- Leaflet CSS (no SRI) --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.css" /> | |
<!-- MarkerCluster CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet.markercluster@1.5.3/dist/MarkerCluster.css" /> |
echo "Installing Helm..." | |
curl -LO https://get.helm.sh/helm-v3.11.2-linux-amd64.tar.gz | |
tar -zxvf helm-v3.11.2-linux-amd64.tar.gz | |
sudo mv linux-amd64/helm /usr/local/bin/helm | |
helm version | |
echo "Installing Helm Diff..." | |
helm plugin install https://github.com/databus23/helm-diff |
version: 2.1 | |
jobs: | |
my_job: | |
docker: | |
- image: cimg/base:stable | |
steps: | |
- checkout | |
- run: echo "hello" |
#!/bin/bash | |
if kubectl get svc circleci-proxy-acm -n "$NAMESPACE" > /dev/null 2>&1; then | |
echo '{"exists": "true"}' # Return string "true" | |
else | |
echo '{"exists": "false"}' # Return string "false" | |
fi |
#!/bin/bash | |
### For signing in | |
eval $(op account add --signin) | |
### List All accounts | |
op account list | |
### List Vaults | |
op vault list |
#!/bin/bash | |
PACKER_VERSION=${1:-1.10.3} # Default to 1.10.3 if no version is provided | |
wget "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip" | |
unzip "packer_${PACKER_VERSION}_linux_amd64.zip" | |
sudo mv packer /usr/local/bin/ | |
packer version |
#!/bin/sh | |
OPTIONS=`vagrant ssh-config | awk -v ORS=' ' '{print "-o " $1 "=" $2}'` | |
scp ${OPTIONS} "$@" || echo "Transfer failed. Did you use 'default:' as the target?" |
import java.util.ArrayList; | |
import java.util.List; | |
/* root with three children | |
O | |
/ | \ | |
O O O | |
/ / \ \ | \ | |
O O O O O O |