Skip to content

Instantly share code, notes, and snippets.


Dave Kleinschmidt kleinschmidt

View GitHub Profile
ldez /
Last active Apr 8, 2021
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:( AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed 1 commit." "pushed 2 commits." "pushed 3 commits."}

label: gh-pull-request

srvanderplas / Plot fragment hook
Created Mar 24, 2015
Knitr plot fragment hook for reveal.js
View Plot fragment hook
c0 <- knitr::knit_hooks$get('chunk')
if(is.null(options$class) & is.null(options$fragIndex)){
c0(x, options)
} else if(is.null(options$fragIndex)) {
classidx <- which(names(options)=="class")
clintel / gist:1155906
Created Aug 19, 2011
Fenced code in bullet lists with GitHub-flavoured MarkDown??
View gist:1155906

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    More Code