Skip to content

Instantly share code, notes, and snippets.

@timlo
timlo / github-conventional-comments.js
Last active May 20, 2022 16:44 — forked from ifyoumakeit/github-conventional-comments.js
GitHub Conventional Comments (instructions to install in comment below code)
// https://github.com/settings/replies
// Settings > Saved Replies
// Execute in JS console.
(async function generateReplies(document) {
// https://conventionalcomments.org/#labels
const LABEL = {
praise: "praise",
nitpick: "nitpick",
suggestion: "suggestion",
issue: "issue",
@timlo
timlo / git-rr
Created March 6, 2020 22:16
Git Random Reviewr
#!/bin/sh
# random recent committer
function rr() {
git status >/dev/null 2>&1
if [[ $? -ne 0 ]]; then
echo "Not a git repo"
return 128
fi