Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Kleinschmidt kleinschmidt

View GitHub Profile
@ldez
ldez / gmail-github-filters.md
Last active Apr 8, 2021
Gmail and GitHub - Filters
View gmail-github-filters.md

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:(notifications@github.com) 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
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')
knitr::knit_hooks$set(
list(
chunk=function(x,options){
if(is.null(options$class) & is.null(options$fragIndex)){
c0(x, options)
} else if(is.null(options$fragIndex)) {
classidx <- which(names(options)=="class")
@clintel
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:

    Code
    More Code