- Originally (2018) we used Mailgun for both sending and receving (with
quantumsense.ai) for free by making use of the Mailgun free tier (about 10,000 emails per month for free). - In 2020 Mailgun removed the free tier and started providing only paid plans.
- In 2021 we changed the domain to
quantumsense.mland since Mailgun didn't provide a free tier anymore (we would have had to pay about $35 per month for using the new domain name with Mailgun), we stopped using Mailgun and didn't have email for a while. - In 2022 we implemented a new setup using SendGrid for sending and Cloudflare for receiving, which both could be used for free by using the free tier.
- This setup was sparked by this article: https://paulonteri.com/thoughts/how-to/custom-domain-with-gmail.
- At some point in 2023 sending stopped working because our SendGrid account was suspended (apparently, because it was dormant) and couldn't be recovered (customer service just advised to "create a n
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 get pods --all-namespaces -o 'custom-columns=:.metadata.namespace,:.metadata.name,:.spec.initContainers[*].name' | | |
| while read line; do | |
| namespace=$(awk '{print $1}' <<<"$line") | |
| pod=$(awk '{print $2}' <<<"$line") | |
| containers=($(awk '{print $3}' <<<"$line" | tr , ' ')) | |
| for container in "${containers[@]}"; do | |
| echo -n "$namespace | $pod | $container: " | |
| kubectl exec "$pod" -n "$namespace" -c "$container" -- whoami 2>/dev/null || echo "<unknown>" |
Procedure for editing all bookmarks in Chrome so that they open in a new tab:
- Open Bookmark Manager
- Vertical dots (upper right corner) > Export bookmarks
cat bookmarks_*.html | update-urls.sh >bookmarks_new.html- Delete all bookmarks in Chrome
- Vertical dots (upper right corner) > Import bookmarks > Select
bookmarks_new.html
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
| # Locally package a Helm chart by using a custom values file. | |
| usage() { | |
| echo -e "USAGE\n $(basename $0) chart-dir [values-file] [templates-dir]" | |
| } | |
| [[ ! ( "$#" -eq 1 || "$#" -eq 2 || "$#" -eq 3 ) ]] && { usage; exit 1; } | |
| chart=${1%/} | |
| values=$2 | |
| templates=$3 |
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
| #!/usr/bin/env bash | |
| set -e | |
| usage() { | |
| cat <<EOF | |
| $(basename $0) - Download the official logo pack of a CNCF project | |
| USAGE | |
| $(basename $0) project [dir] |
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
| name: upgrade | |
| on: | |
| repository_dispatch: | |
| types: [upgrade-formula] | |
| jobs: | |
| main: | |
| env: | |
| FORMULA: ${{ github.event.client_payload.formula }} | |
| URL: ${{ github.event.client_payload.url }} | |
| SHA256: ${{ github.event.client_payload.sha256 }} |
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
| name: release | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| env: | |
| ARCHIVE_NAME: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }} | |
| steps: |
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
| name: outputs-4 | |
| on: workflow_dispatch | |
| jobs: | |
| my-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: step-1 | |
| id: xyz | |
| run: echo "::set-output name=ip-address::$(curl -s ifconfig.me)" | |
| - name: step-2 |
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
| name: outputs-3 | |
| on: workflow_dispatch | |
| jobs: | |
| my-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: step-1 | |
| id: xyz | |
| uses: actions/create-release@v1 | |
| with: |
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
| name: outputs-2 | |
| on: workflow_dispatch | |
| jobs: | |
| my-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: step-1 | |
| id: xyz | |
| run: echo "::set-output name=ip-address::$(curl -s ifconfig.me)" | |
| - name: step-2 |
NewerOlder