Skip to content

Instantly share code, notes, and snippets.

View cristisulighetean's full-sized avatar

Cristian Sulighetean cristisulighetean

View GitHub Profile
@cristisulighetean
cristisulighetean / 1-setup.md
Created October 18, 2023 11:40 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS

Methods of Signing with a GPG Key on MacOS

Last updated September 21, 2022

This Gist explains how to do this using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

There has been a number of comments on this gist regarding some issues around the pinentry-program and M1 Macs. I've finally gotten a chance to try things out on an M1 and I've updated the documentation in 2-using-gpg.md to reflect my findings.

Flashing Firmware on ESP32-S2 DevKit Clone (Red TypeC board)

Recently bought a ESP32-S2 DevKit Clone from Aliexpress and found a single place where it tells you the procedure to flash the firmware onto it. I have written this gist so that multiple people can benefit from this finding.

Steps:

  • Strap GPIO0 to GND
  • Flash the firmware
  • Remove the strap from GPIO0 to GND
  • Reset the board