Skip to content

Instantly share code, notes, and snippets.

@gadenbuie
Created April 26, 2018 17:11
Show Gist options
  • Save gadenbuie/8c364f2df6883d7735d06ca0ea2da636 to your computer and use it in GitHub Desktop.
Save gadenbuie/8c364f2df6883d7735d06ca0ea2da636 to your computer and use it in GitHub Desktop.
#' Create a public Github gist and send to carbon.now.sh, then browse to both.
#'
#' Create a public Github gist and browse to it, then open the gist in
#' [carbon.now.sh](https://carbon.now.sh), for easily Tweeting a saucy code pic.
#' The gist will contain the active text selection or the active RStudio tab.
#' Gist file is named: `RStudio_<project>_<filename or file_id>`. `file_id` is
#' a unique id for untitled files. It does not relate to the untitled number.
#' @return nothing.
#' @export
gistfoc <- function() gistfo_base(mode = "carbon")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment