Skip to content

Instantly share code, notes, and snippets.

View angelmoma's full-sized avatar

moma angelmoma

View GitHub Profile
@angelmoma
angelmoma / buildBook
Created November 12, 2019 06:42 — forked from alexboly/buildBook
Bash script to generate books from markdown in printable pdf, ebook pdf, epub, mobi and pdf preview formats
#!/bin/bash
hash pandoc 2>/dev/null || { echo >&2 "Please install pandoc. Aborting."; exit 1; }
hash pdftk 2>/dev/null || { echo >&2 "Please install pdftk. Aborting."; exit 1; }
hash ebook-convert 2>/dev/null || { echo >&2 "Please install ebook-convert. Aborting."; exit 1; }
SOURCE=Usable-Software-Design.md
PRINT_DESTINATION=Usable-Software-Design-print.pdf
PDF_DESTINATION=Usable-Software-Design.pdf
PREVIEW_DESTINATION=Usable-Software-Design-Preview.pdf
@jcheng5
jcheng5 / README.md
Last active December 15, 2022 16:01
Using arbitrary Leaflet plugins with Leaflet for R

Using arbitrary Leaflet JS plugins with Leaflet for R

The Leaflet JS mapping library has lots of plugins available. The Leaflet package for R provides direct support for some, but far from all, of these plugins, by providing R functions for invoking the plugins.

If you as an R user find yourself wanting to use a Leaflet plugin that isn't directly supported in the R package, you can use the technique shown here to load the plugin yourself and invoke it using JS code.

@fgregg
fgregg / ctrl.md
Last active November 9, 2018 17:24
Civic Tech Reading List (CTRL)

#FG's list

Things I haven't read, but would like to

  • Tools for Conviviality
  • Some things about information systems within corporations, maybe something about Toyota and Walmart
  • Some things about modern public relations
  • Some things about the Rand Corporation
  • Some things about Herman Kahn and early Hudson Institute
  • http://www.culturemachine.net/index.php/cm/article/view/511/526