Download static tailscaled binary here
TAILSCALED_SOCKET="/tmp2/$USER/tailscaled.sock"
TAILSCALED_STATE="tailscaled.state"
./tailscaled --tun=userspace-networking --state="$TAILSCALED_STATE" --socket "$TAILSCALED_SOCKET"
| /* | |
| Compile: | |
| gcc -framework Foundation -framework AppKit screenshot.m -o screenshot | |
| */ | |
| #import <Foundation/Foundation.h> | |
| #import <AppKit/AppKit.h> | |
| int main(void) { |
| import argparse | |
| import json | |
| import ast | |
| from ast import parse,walk | |
| from astor import to_source | |
| def extract_functions(node,is_class=False): | |
| """Recursively extract function names and code from an AST node.""" | |
| functions = {} | |
| for child in walk(node): |
Download static tailscaled binary here
TAILSCALED_SOCKET="/tmp2/$USER/tailscaled.sock"
TAILSCALED_STATE="tailscaled.state"
./tailscaled --tun=userspace-networking --state="$TAILSCALED_STATE" --socket "$TAILSCALED_SOCKET"