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 | |
| # install dependencies | |
| sudo apt-get update | |
| sudo apt-get install -y iproute2 iptables iputils-ping dnsutils wget | |
| # download wsl-vpnkit and unpack | |
| VERSION=v0.4.1 | |
| wget https://github.com/sakai135/wsl-vpnkit/releases/download/$VERSION/wsl-vpnkit.tar.gz |
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 | |
| # Configuration | |
| CHANGELOG_PATH="CHANGELOG.md" | |
| REPO="your-repo-name" # Replace with your repository name | |
| # Dry run flag | |
| DRY_RUN=true | |
| # Authenticate to GitHub (only needed if not authenticated with `gh` CLI) |
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 | |
| # Check for arguments | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <team-url>" | |
| exit 1 | |
| fi | |
| # Extract organization and team slug from the URL | |
| TEAM_URL=$1 |
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 | |
| # Download and untar https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-aarch64.tgz | |
| TIMESTAMP=$(date +%s) | |
| echo running speedtest at $TIMESTAMP | |
| RESULTS=$(/tmp/home/root/speedtest --format=csv | awk -F, '{print $3, $6, $7}' | sed 's/"//g' | awk '{print $1, $2/125000, $3/125000}'); |