MicroPosts
- GitHub .diff and .patch URLs
Given a commit like https://github.com/3v0k4/hotdocs/commit/c6df526f432257cc1bd9bad86c4b57f948b33b11, you can see:
- The raw diff by appending .diff: https://github.com/3v0k4/hotdocs/commit/c6df526f432257cc1bd9bad86c4b57f948b33b11.diff
- The commit info (and raw diff) by appending .patch https://github.com/3v0k4/hotdocs/commit/c6df526f432257cc1bd9bad86c4b57f948b33b11.patch
- Tabs in GitHub textareas
You can use (Shift)+Tab to indent text on GitHub.
Useful when you paste some code like:
echo "indented"
and want to de-indent it:
echo "ok"
- Render Html, Css, and Js from a GitHub gist
You can use
https://gistpreview.github.io/?GIST_ID
to render a gist: