Skip to content

Instantly share code, notes, and snippets.

View tebb's full-sized avatar
🎯
Focusing

tebb

🎯
Focusing
View GitHub Profile
@tebb
tebb / semantic-commit-messages.md
Last active May 18, 2025 22:05 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@tebb
tebb / Betaflight for ubuntu
Last active September 21, 2020 11:07 — forked from wlgrd/Betaflight for ubuntu
How to set up betaflight fc with Ubuntu
#### Adapted to allow pasting into a bash shell.
# 1. Create a rule for the DFU
(echo '# DFU (Internal bootloader for STM32 MCUs)'; echo 'ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev"') | sudo tee /etc/udev/rules.d/45-stdfu-permissions.rules > /dev/null
## - Model ID *may be* 5740,
## - which *may be* HappyModel Mobula6 Tiny Whoop Drone or it's F4, All In One, Flight Controller
MODEL_ID="5740"
# 2. Filter connection info to check MODEL_ID *is* your model, for example by unpluggin and pluging-in the flight controller while udevadm is active