Skip to content

Instantly share code, notes, and snippets.

/* RAINBOW INDENT COLORS */
:root {
/* default */
--font-use-default: var(--default-font);
--font-size-use-default: var(--editor-font-size);
--indent-use-default: 1.8ch;
/* ------- */
/* theme */
--font-use-theme: inherit;
@benmarwick
benmarwick / archaeology_on_wikipedia.R
Last active September 22, 2015 16:54
How does wikipedia see archaeology?
# install.packages("devtools")
# devtools::install_github("hadley/httr")
# devtools::install_github("petermeissner/wikipediatrend")
# http://www.r-datacollection.com/blog/Using-wikipediatrend/
# devtools::install_github("Ironholds/WikipediR")
# devtools::install_github("chainsawriot/pediarr")
#- sites per country
#- sites per time period
@fractaledmind
fractaledmind / EXPORT ALL SKIM NOTES TO EVERNOTE WITH DEVONTHINK HYPERLINKS
Created October 18, 2013 19:05
This script will (as the title suggests) export all of you Skim notes directly to Evernote with hyperlinks to redirect you to the item in your DEVONthink database. REQUIRED PROGRAMS: - Skim (pdf viewer and annotator) - Evernote (cloud based note app) - DEVONthink (database program)
@waltonjones
waltonjones / Skim_notes_to_clipboard.scpt
Last active December 20, 2015 03:59
Send color-coded Skim.app PDF notes to the clipboard with custom page urls. (See http://drosophiliac.com/2012/09/an-academic-notetaking-workflow.html)
tell application "Skim"
set the clipboard to ""
set numberOfPages to count pages of document 1
activate
set myColorCodes to my chooseColor()
set firstPage to "1" as number
set lastPage to numberOfPages
set the clipboard to "# Notes" & return & return