Skip to content

Instantly share code, notes, and snippets.

View jabranham's full-sized avatar

Alex Branham jabranham

View GitHub Profile
@jabranham
jabranham / evernote-to-org-mode.org
Last active October 24, 2023 13:52
Evernote to org-mode

Export from evernote

You’ll have to open up the evernote application on either Mac or Windows (they don’t have a linux client), right click on the notebook you want to export, and select “Export.” Select the option to export to html (either one page or several pages, depending on your preference. I went with one html page for each note).

Clean filenames

@jabranham
jabranham / analyze-bib-file.R
Last active March 24, 2019 16:32
analyze-bib-file
library(tidyverse)
library(bibtex)
theme_set(theme_minimal())
## You'll need to modify the next line to wherever your bib file is
entries <- read.bib("~/Dropbox/bibliography/references.bib")
lentries <- length(entries)
years <- list(lentries)
type <- list(lentries)
pkgname=emacs26
pkgver=26.0.99
pkgrel=1
pkgdesc="GNU Emacs RC1."
arch=('x86_64')
url="http://www.gnu.org/software/emacs/"
license=('GPL3')
depends=(
'alsa-lib'
'dbus'
@jabranham
jabranham / Net support
Last active August 8, 2016 19:14
netsupport function in R
netsupport <- function(thedata){
prop_more <- mean(thedata == 1, na.rm = TRUE)
prop_less <- mean(thedata == 3, na.rm = TRUE)
prop_more - prop_less
}