Skip to content

Instantly share code, notes, and snippets.

View campbellr's full-sized avatar

Ryan Campbell campbellr

View GitHub Profile
@campbellr
campbellr / gmailGitlabLabels.gs
Created February 23, 2022 16:45
Google Apps Script script for adding labels based on gitlab email headers
function processInbox() {
// process all recent threads in the Inbox (see comment to this answer)
var threads = GmailApp.search("newer_than:1h");
Logger.log(threads.length)
for (var i = 0; i < threads.length; i++) {
Logger.log(i);
// get all messages in a given thread
var messages = threads[i].getMessages();
for (var j = 0; j < messages.length; j++) {
var message = messages[j];
@campbellr
campbellr / openpgp.txt
Created September 7, 2017 01:24
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7b5ac338f9400f85804566170bef6fa71fc3fa10]

Keybase proof

I hereby claim:

  • I am campbellr on github.
  • I am campbellr (https://keybase.io/campbellr) on keybase.
  • I have a public key ASAv5j2VQ7trSB-h615OHg8jbZiIui2xg8jB0a6uKLWtUAo

To claim this, I am signing this object:

@campbellr
campbellr / openpgp.txt
Created August 30, 2017 02:34
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7b5ac338f9400f85804566170bef6fa71fc3fa10]
@campbellr
campbellr / openpgp.txt
Created August 30, 2017 02:32
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7b5ac338f9400f85804566170bef6fa71fc3fa10]
@campbellr
campbellr / openpgp.txt
Created August 30, 2017 02:31
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7b5ac338f9400f85804566170bef6fa71fc3fa10]
@campbellr
campbellr / openpgp.txt
Created August 30, 2017 02:31
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7b5ac338f9400f85804566170bef6fa71fc3fa10]