Skip to content

Instantly share code, notes, and snippets.

View CarlosVilasAlvarez's full-sized avatar
🐢
Making progress

Carlos Vilas Alvarez CarlosVilasAlvarez

🐢
Making progress
  • Vigo, Spain
  • 13:01 (UTC +02:00)
View GitHub Profile
@phortuin
phortuin / signing-git-commits.md
Last active June 1, 2024 10:46
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg
@jakub300
jakub300 / run.sh
Last active January 9, 2022 01:48
Compile headless shell (Chromium)
# Based on:
# https://web.archive.org/web/20200212121848/http://www.zackarychapple.guru/chrome/2016/08/24/chrome-headless.html
# https://www.chromium.org/developers/how-tos/get-the-code
# https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
apt-get update
apt-get install -y curl git htop man unzip vim wget python
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`pwd`/depot_tools
mkdir Chromium && cd Chromium