Skip to content

Instantly share code, notes, and snippets.

Stephen Eglen sje30

View GitHub Profile
View check_biorxiv.R
## How many new articles have been deposited in biorxiv? When new
## papers get uploaded to biorxiv, this information is sent to
## crossref. So, we can use the excellent rcrossref package from the
## ropensci team to get information.
## Note, this does not include revised versions of papers.
##
## Thanks to Scott Chamberlain for providing the magic lines of code to
## grab the information efficiently from crossref.
## Note also there is some code below to grab the infomration from
@sje30
sje30 / .emacs.el
Last active Feb 1, 2016
makefile-eval-current-target
View .emacs.el
;; This is inspired by Org mode: hitting C-c C-c inside a Makefile
;; rule will run "make TARGET" where TARGET is the name of the current
;; target at point.
;; Stephen Eglen 2016-01-31 GPL applies.
(defun makefile-eval-current-target ()
"Evaluate the current Makefile rule in a *Compile* buffer."
(interactive)
(let ((target (makefile-add-log-defun)))
(if (null target)
View gist:c9cf694db59c034a011d
---
title: "Can we keep slides in sync?"
author: Stephen J Eglen
date: 2014-06-09
output:
ioslides_presentation:
self_contained: false
---
## Getting started
You can’t perform that action at this time.