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
Last active January 27, 2025 10:01
9P

Implement 9P File Sharing for Windows hosts

Motivation

File sharing is a critical capability for many software development and IT operations workflows. Allowing developers to easily access and collaborate on shared assets, such as source code, configuration files, and other project resources. Implementing a robust file sharing solution can improve productivity, facilitate version control, and enable seamless collaboration across different operating systems and environments.

Objectives

  • Add 9P server functionality to a Windows host system to enable file sharing.
  • Implement 9P client functionality on a RHEL virtual machine to access the shared files from the Windows host.
  • Ensure reliable and secure file transfer between the Windows host and the RHEL VM using the 9P protocol.
mindmap
   root)@gbraad(
      Hobbies
         𝑨𝑴𝑰𝑮𝑨
         Electronics
         RC cars
         ...
      Employment
 Sogyo
@gbraad
gbraad / README.md
Created October 29, 2024 06:33
Sponsor links
@gbraad
gbraad / README.md
Last active December 24, 2025 08:35
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=~