Here are some moderately secure methods for contacting me.
I'm brianscott on Keybase
| #!/usr/bin/env bash | |
| # | |
| # Walker Service Restart Script | |
| # Addresses: https://github.com/basecamp/omarchy/issues/2089 | |
| # | |
| # This script kills and restarts the Walker service which powers | |
| # the Omarchy application launcher when it becomes unresponsive. | |
| set -e |
| { | |
| "groups": { | |
| "group:gamers": ["[email protected]", "[email protected]", "[email protected]"], | |
| "group:game-admins": ["[email protected]"], | |
| "group:streamers": ["[email protected]", "[email protected]"], | |
| "group:casual-gamers": ["[email protected]", "[email protected]"] | |
| }, | |
| "tagOwners": { | |
| "tag:game-server": ["group:game-admins"], | |
| "tag:gaming-pc": ["autogroup:members"], |
| proxy: | |
| image: artifacts.plane.so/makeplane/plane-proxy:${APP_RELEASE:-stable} | |
| ports: | |
| - target: 80 | |
| published: ${NGINX_PORT:-80} | |
| protocol: tcp | |
| mode: host | |
| environment: | |
| <<: *proxy-env | |
| deploy: |
| javascript:(function() { | |
| javascript: Promise.all([ | |
| import('https://unpkg.com/[email protected]?module'), | |
| import('https://unpkg.com/@tehshrike/[email protected]'), | |
| ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { |
| import requests | |
| # Get API token from environment variable | |
| api_token = os.getenv('TAILSCALE_API_TOKEN') | |
| tailnet_name = os.getenv('TAILSCALE_TAILNET_NAME') | |
| # see if we have an API token | |
| if api_token is None: | |
| print("Please set TAILSCALE_API_TOKEN environment variable") | |
| exit(1) |
| func getEnvBool(key string) bool { | |
| val := os.Getenv(key) | |
| if val == "" { | |
| return false | |
| } | |
| v, err := strconv.ParseBool(val) | |
| if err != nil { | |
| return false | |
| } |
| FROM golang:1.15-alpine AS build | |
| RUN apk add --no-cache git | |
| WORKDIR /go/src/project | |
| COPY . /go/src/project | |
| RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /bin/index <PROJECT PATH> | |
| FROM scratch | |
| COPY --from=build /bin/index /bin/index |
| { pkgs ? import <nixpkgs> {} # here we import the nixpkgs package set | |
| }: | |
| pkgs.mkShell { # mkShell is a helper function | |
| name="dev-environment"; # that requires a name | |
| buildInputs = [ # and a list of packages | |
| pkgs.nodejs | |
| pkgs.python3 | |
| pkgs.go | |
| pkgs.rustc | |
| pkgs.wget |
| sudo du -a /dir/ | sort -n -r | head -n 20 |