Skip to content

Instantly share code, notes, and snippets.

// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2020 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@LucasLarson
LucasLarson / gtag.js
Last active October 11, 2020 15:20
Google Analytics local `gtag.js` but less unreadable
window.dataLayer = window.dataLayer || []
function gtag () {
window.dataLayer.push(arguments)
}
gtag(
'js',
new Date()
)
gtag(
'config',
@LucasLarson
LucasLarson / keys.pub
Created January 31, 2021 20:54
keys.pub self-identity: re-voilà moi
BEGIN MESSAGE.
pPurSRDjhu4V5sQ FisPoPjh3YzIDWp mnPLFauJ48y0ohI Y3PLWhQrAmobbsc
tk7BT5uLlEMlgS0 COveWvl2ViSTCKq 6Xr2MZHgg79rOtz kMRtTwIYQyV5vW0
uDmrxHUBvCBdHkO U7i9tEPfKKRCIIZ JmtqAquW2kjszvO 3b0iQY2BUV9smnB
DhcgD9TC88KQZp3 jzLxunLuFUPGr3g o3YO90aLMzWSiL.
END MESSAGE.
@LucasLarson
LucasLarson / git-mailmap.md
Last active April 3, 2022 18:27
How to create a homemade `.mailmap` file

How to create a homemade .mailmap file

  1. copy one from someone whose work you trust so you know the format
command curl --location --remote-name \
  'https://web.archive.org/web/0id_/github.com/wincent/wincent/raw/f2598a0cdc/.mailmap'
  1. list all names and email addresses in your repository’s commit history