Skip to content

Instantly share code, notes, and snippets.

View kevinxh's full-sized avatar
:shipit:

Kevin He kevinxh

:shipit:
  • salesforce
View GitHub Profile
@kevinxh
kevinxh / git-branches-by-commit-date.sh
Last active March 29, 2019 19:49 — forked from jasonrudolph/git-branches-by-commit-date.sh
List remote Git branches and the last commit date for each branch. Sort by most recent commit date. #git
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
@kevinxh
kevinxh / API.md
Created May 22, 2016 21:17 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: