Skip to content

Instantly share code, notes, and snippets.

View djreed's full-sized avatar
🤠
Uhh, howdy!

David Reed djreed

🤠
Uhh, howdy!
View GitHub Profile
@djreed
djreed / explanation.md
Created June 6, 2018 14:49 — forked from masak/explanation.md
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <jnthn@jnthn.net>
Date:   Sun Apr 15 16:35:03 2012 +0200

When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.

Keybase proof

I hereby claim:

  • I am djreed on github.
  • I am djreed (https://keybase.io/djreed) on keybase.
  • I have a public key ASA7ewYh80xVNXNmcRXW7WY9gws92LEEDveSSafeDYUugQo

To claim this, I am signing this object:

@djreed
djreed / .zshrc
Last active December 4, 2017 03:14
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/djreed/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"