Skip to content

Instantly share code, notes, and snippets.

@jerrythomas
jerrythomas / merge-lcov.sh
Last active October 30, 2023 16:01
merge lcov.info from packages under a monorepo into a single one.
#!/bin/bash
files=`find ./ -name lcov.info`
args=""
for f in $files; do
prefix=`echo $f | sed -e s/coverage.lcov.info// | sed -e s#^\./##`
echo "fixing paths in $f"
sed -i.bak "s#^SF\:src#SF\:${prefix}src#g" $f
args="$args -a $f"
done
@troyfontaine
troyfontaine / 1-setup.md
Last active April 24, 2025 01:56
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits 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.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

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

@staltz
staltz / introrx.md
Last active April 24, 2025 06:10
The introduction to Reactive Programming you've been missing