Skip to content

Instantly share code, notes, and snippets.

@craic
craic / cleanup_gisaid.rb
Created April 11, 2020 15:51
Simple script to cleanup a FASTA file from the GISAID SARS-CoV-2 database
#!/usr/bin/env ruby
# cleanup_gisaid.rb
# Robert Jones jones@craic.com
# Freely distributed under the MIT licence
# This script takes a fasta format file from GISAID and fixes various data quality issues
# The vast majority of the sequences are fine but the few anomalies can cause problems downstream
@troyfontaine
troyfontaine / 1-setup.md
Last active April 24, 2024 14:19
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.