Skip to content

Instantly share code, notes, and snippets.

View scottschreckengaust's full-sized avatar
☁️
AWSomeness

Scott Schreckengaust scottschreckengaust

☁️
AWSomeness
View GitHub Profile
@scottschreckengaust
scottschreckengaust / RenewExpiredGPGkey.md
Created August 1, 2025 20:41 — forked from TheSherlockHomie/RenewExpiredGPGkey.md
Updating expired GPG keys and backing them up 🔑🔐💻

Updating expired GPG keys and their backup 🔑🔐💻

I use a GPG key to sign my git commits.

An error like this one might be a sign of an expired GPG key.

error: gpg failed to sign the data fatal: failed to write commit object
// Convert Excel dates into JS date objects
//
// @param excelDate {Number}
// @return {Date}
function getJsDateFromExcel(excelDate) {
// JavaScript dates can be constructed by passing milliseconds
// since the Unix epoch (January 1, 1970) example: new Date(12312512312);