Skip to content

Instantly share code, notes, and snippets.

View kesyog's full-sized avatar
🧗‍♂️

Kesavan Yogeswaran kesyog

🧗‍♂️
View GitHub Profile
@kesyog
kesyog / embedded-rust-notes.md
Last active January 27, 2021 21:24
Rust embedded notes

Rust embedded notes

A place to jot down useful notes. Most if not all of this was lifted from the linked references, but I'm copying some of the highlights down here for my own reference.

Glossary

  • peripheral access crate (PAC): device crate (e.g. stm32f4) created using the svd2rust crate that presents an API to access a particular microcontroller's registers
  • hardware abstraction library (HAL) crate: higher-level abstraction on top of the PAC. This follows
@kesyog
kesyog / i3 multiple monitors.md
Last active December 1, 2023 12:54
Configuring multiple displays with i3

Configuring multiple displays with i3

Motivation

I've run into a few common issues running i3 on a laptop with external monitors.

  • When running i3, external monitors aren't always detected properly.
  • When running multiple displays with different resolutions, text scaling is inconsistent.
  • I'd like to be able to automatically change configurations if I unplug my external monitor(s), plug in a projector, etc.