Skip to content

Instantly share code, notes, and snippets.

View k-bharadwaj's full-sized avatar

Karthik Bharadwaj k-bharadwaj

View GitHub Profile
@k-bharadwaj
k-bharadwaj / usb-ssh-ubuntu-rpi.md
Created February 13, 2026 02:31
USB ssh into a raspberry pi running Ubuntu
  • Edit /boot/firmware/config.txt and add dtoverlay=dwc2 at the bottom

  • Edit /boot/firmware/cmdline.txt and add modules-load=dwc2,g_ether after rootwait (or at the end if there’s no rootwait)

  • Add the following to /etc/netplan/50-cloud-init.yaml

network:
    ethernets:
 usb0:
@k-bharadwaj
k-bharadwaj / building-sdl3-with-bazel.md
Last active May 31, 2025 10:43
Building SDL3 (or any CMake project) with Bazel

Building SDL3 (or any CMake project) with Bazel

NOTE: Currently only tested on macOS

Pre-requisites

  • Install Homebrew
  • Install bazel via brew install bazel
  • If needed, create a project

Building SDL3