Skip to content

Instantly share code, notes, and snippets.

Dheepak Krishnamurthy kdheepak

View GitHub Profile
@kdheepak
kdheepak / README.rst
Created Dec 4, 2015 — forked from dupuy/README.rst
Common markup for Markdown and reStructuredText
View README.rst

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@kdheepak
kdheepak / GIF-Screencast-OSX.md
Created Nov 6, 2015 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@kdheepak
kdheepak / git-loglive
Created Sep 15, 2015 — forked from tlberglund/git-loglive
Log Live Git Command
View git-loglive
#!/bin/bash
while :
do
clear
git --no-pager log --graph --abbrev-commit --decorate --color=always --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) - %C(dim red)%an%C(reset)%C(bold yellow)%d%C(reset)' --all $*
sleep 1
done
You can’t perform that action at this time.