Add `dhash` function

Make a commit on your contrib project, then run dhash to get a link to
that commit on drupalcode.org for pasting into an issue comment.