This file contains 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
package main | |
import ( | |
"github.com/elazarl/goproxy" | |
"net/http" | |
"regexp" | |
) | |
const Cookie = "" // TODO |
This file contains 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 python3 | |
import json | |
service_block = """ | |
worker_{org_clean}_{name_clean}: | |
image: myoung34/github-runner | |
restart: unless-stopped | |
environment: | |
REPO_URL: https://github.com/{org}/{name} |
This file contains 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 | |
# https://vincent.bernat.ch/en/blog/2017-vxlan-linux#unicast-with-static-flooding | |
ROOT_TS_IP=100.90.17.91 | |
LEAF_TS_IP=100.120.82.82 | |
# create vxlan device | |
ip link add name vxlan100 type vxlan id 100 local $LEAF_TS_IP dev tailscale0 dstport 4789 | |
bridge fdb append 00:00:00:00:00:00 dev vxlan100 dst $ROOT_TS_IP |