Skip to content

Instantly share code, notes, and snippets.

View shaneutt's full-sized avatar
🔴
Unavailable

Shane Utt shaneutt

🔴
Unavailable
View GitHub Profile
@shaneutt
shaneutt / dispatch.sh
Created October 13, 2021 13:59 — forked from ciiqr/dispatch.sh
github actions, repository_dispatch with client_payload
# TODO: replace :token, :user, and :repo
curl -H "Authorization: token :token" \
-H 'Accept: application/vnd.github.everest-preview+json' \
"https://api.github.com/repos/:user/:repo/dispatches" \
-d '{"event_type": "awesomeness", "client_payload": {"foo": "bar"}}'
@shaneutt
shaneutt / go-ssh-reverse-tunnel.go
Created October 17, 2021 22:31 — forked from codref/go-ssh-reverse-tunnel.go
Go SSH reverse tunnel implementation (SSH -R)
/*
Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command:
ssh -R 8080:127.0.0.1:8080 operatore@146.148.22.123
which opens a tunnel between the two endpoints and permit to exchange information on this direction:
server:8080 -----> client:8080
@shaneutt
shaneutt / README.txt
Created March 9, 2022 19:17 — forked from ncw/README.txt
Client side certificates with go
This demonstrates how to make client side certificates with go
First generate the certificates with
./makecert.sh [email protected]
Run the server in one terminal
go run server.go
@shaneutt
shaneutt / xfce-app-switcher.sh
Created November 2, 2025 22:33
xfce-app-switcher.sh
#!/bin/bash
# ------------------------------------------------------------------------------
# xfce-app-switcher.sh
#
# A script that lets you pin both launching and switching to an application
# using the same hotkey, similar to what you get by default in other
# environments like i3 or Cinnamon.
#
# To use: Open XFCE Keyboard settings and create a shortcut that runs this