Skip to content

Instantly share code, notes, and snippets.

View dotsara's full-sized avatar

Sara dotsara

View GitHub Profile
@dotsara
dotsara / a-signing-commits-with-a-specific-gpg-key.md
Last active November 6, 2020 18:02
How I use multiple GPG keys to sign all my commits (personal and work) and increased the credential-timeout so I only need the passphrases after a reboot.

Signing commits with a specific GPG key

We started signing commits at work and as soon as I started generating the first key (GitHub guide), I realized I would be taking extra steps. I don't use my default GitHub email for work commits, I use my work email address. The instructions for setting up commit-signing describe how to make signing automatic, but I wouldn't want to sign my non-work commits with my work key… 

So.

Using @sabbour's Quick and easy way to setup signed GitHub commits on MacOS as a starting point, these are the modifications I made so that I could assign a specific GPG key just to my work repos on my machine[1].

  1. When generating a new GPG key, I generated 2: 1 for my default GitHub email address; 1 for my work email address
  • I saved the passphrase f
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Finding the first non-repeating character</title>
</head>
<body>
@dotsara
dotsara / reference.md
Last active July 7, 2020 15:28
Twitter threads, articles, blog posts, etc.
@dotsara
dotsara / tweets.md
Last active December 18, 2019 19:45
Dark Money-related items.
@dotsara
dotsara / sample-pr-template-with-emoji
Last active September 9, 2022 00:10
Links to Pull Request and Issue templates. And even a few sample ones.
## 📝 Description
## 🔗 Related links
## 🛠 Changes
## 🖼 Screenshots
## ✏️ Notes

I change the wallpaper on my laptop, external display, and mobile devices fairly frequently. I've got links for wallpaper sites stashed all over the place instead of one location. Let's see if this sticks.

🖥 💻 Desktop, laptop

@dotsara
dotsara / afropunk.md
Last active September 5, 2017 21:43
Afropunk listening notes! 🎶

Afropunk

10-July Last week, I learned about the AFROPUNK FEST. While looking at the live acts page, I started counting and realized I've only ever heard of 5 of the 41 performers. 😕

In nerd-fashion, I set up a very long ToDo in Habitica with each act as a checklist item and the goal is to listen to 1-5 songs (minimum) by each act (even those I've heard of) by the time the festival starts (it's a convenient time-frame, I'm not actually going to the festival).

Legend:

  • 🤙🏽 Artists I'm familiar with
  • 🔎 Artists who're new to me!
@dotsara
dotsara / writing-documentation.md
Last active March 22, 2017 22:05
I asked for advice & good documentation recommendations and this is what I received. 🎉
@dotsara
dotsara / reminders.md
Last active April 12, 2018 15:50
Stuff that tends to be muscle memory while I'm at a job/on a project, but then I forget when contexts switch.

interrogating tests

Rails environment, using rspec: spit out objects and things to the console with puts

it 'checking a thing' do
puts activity # where activity is the name of an object
puts activity.class
# etc

Keybase proof

I hereby claim:

  • I am dotsara on github.
  • I am dotsara (https://keybase.io/dotsara) on keybase.
  • I have a public key whose fingerprint is 274E E8A7 7749 5AF7 6481 6856 7390 F079 9264 A519

To claim this, I am signing this object: