Skip to content

Instantly share code, notes, and snippets.

View gbraad's full-sized avatar
🇳🇱
Working from home

Gerard Braad gbraad

🇳🇱
Working from home
View GitHub Profile
@gbraad
gbraad / README.md
Created October 29, 2024 06:33
Sponsor links
@gbraad
gbraad / README.md
Last active October 31, 2024 09:40
Callouts supported by GitHub Markdown

Callouts

Supported by GitHub Markdown, VS Code and Obsidian

Important

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque quis placerat lacus, eu aliquam lorem. In hac habitasse platea dictumst. Donec congue, diam non accumsan hendrerit, eros risus euismod orci, vitae ullamcorper turpis mi ut leo.

Note

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque quis placerat lacus, eu aliquam lorem. In hac habitasse platea dictumst. Donec congue, diam non accumsan hendrerit, eros risus euismod orci, vitae ullamcorper turpis mi ut leo.

@gbraad
gbraad / README.md
Last active October 29, 2024 07:42
ikko ActiveBuds - AB02

ikko ActiveBuds - Android case

Applications

Use adb to sideload applications. Make sure to use ARM 32 bit applications

What works

@gbraad
gbraad / README.md
Last active November 22, 2024 16:06
Quickly install a Tailscale userspace proxy

Quickly install a Tailscale userspace proxy

For example on GitPod you can run the following:

$ curl -fsSL https://gist.githubusercontent.com/gbraad/3fbf35c7c8c435fd6aee2dbcccedf03f/raw/fcb7081234e404c4b3c2acba564b0cb92ca9c22a/install.sh | sh
$ . start-tailproxy

which starts a tailscale daemon with userspace networking turned on, and exposing a socks5 proxy on 3215.

Joystick pinout (Amiga/Sega)


Note: I moved button 1 and button 2 around (on the PCB end), as otherwise (A) gets mapped to button 2.

Links

@gbraad
gbraad / README.md
Created September 4, 2023 03:27
Cross build CRC
GOARCH=amd64 GOOS=windows go build -tags "containers_image_openpgp" -ldflags="-X github.com/crc-org/crc/pkg/crc/version.crcVersion=2.25.0 -X github.com/crc-org/crc/pkg/crc/version.ocpVersion=4.13.6 -X github.com/crc-org/crc/pkg/crc/version.okdVersion=4.13.0-0.okd-2023-06-04-080300 -X github.com/crc-org/crc/pkg/crc/version.podmanVersion=4.4.4 -X github.com/crc-org/crc/pkg/crc/version.microshiftVersion=4.13.6 -X github.com/crc-org/crc/pkg/crc/version.commitSha=7ae787 " -o out/windows-amd64/crc.exe  ./cmd/crc
@gbraad
gbraad / README.md
Last active July 29, 2023 16:31
Emacs as a service

Emacs as a service

$ touch /etc/systemd/system/emacs.service
$ chmod 664 /etc/systemd/system/emacs.service

/etc/systemd/system/emacs.service

@gbraad
gbraad / README.md
Last active July 23, 2023 02:57
Autologin to X

/etc/systemd/system/autologin-x11-gbraad.service

[Unit]
Description=X11 session for Gerard Braad
After=graphical.target systemd-user-sessions.service

[Service]
User=gbraad
WorkingDirectory=~
@gbraad
gbraad / README.md
Last active June 7, 2024 15:23
Cloudflare for Teams enrollment

Cloudflare for Teams enrollment (headless)

$ curl -fsSl https://pkg.cloudflareclient.com/cloudflare-warp-ascii.repo | sudo tee /etc/yum.repos.d/cloudflare-warp.repo
$ dnf install warp cloudflare-warp
  1. open the browser to https://.cloudflareaccess.com/warp
@gbraad
gbraad / README.md
Last active May 4, 2023 04:12
Proxy configuration files for use with my tailproxy command