- "In for a Penny" Econophysics activity
- [Flint Water Lead Contamination Data][flint]
- [AI 360 Bias Analysis Tool][bias]
- [Data Feminism][feminism] (Free to read as an e-book if you scroll down)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### --------------------------------------------- | |
## Edit via: RStudio > Tools > Edit Code Snippets | |
# Released under a MIT license | |
snippet fragment | |
[${1:text}]{.${2:type}} | |
snippet aside | |
[${1:text}]{.aside} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make NSF award badges for your github readme or Markdown-based website! | |
nsf_badges <- function(award_id) { | |
nsf_button_template="[](https://nsf.gov/awardsearch/showAward?AWD_ID={award_id})]" | |
badges<- stringr::str_glue(nsf_button_template) | |
return(paste(badges, collapse = ' ') ) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Read Persistent Data on RStudio Connect" | |
output: | |
flexdashboard::flex_dashboard: | |
orientation: columns | |
vertical_layout: fill | |
--- | |
```{r setup, include=FALSE} | |
library(flexdashboard) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
# using expression() for the text formatting: | |
ggplot(mtcars, | |
aes(disp, | |
mpg)) + | |
geom_point() + | |
# ~ for spaces, and * for no-space between (unquoted) expressions | |
ylab(expression(Anthropogenic~SO[4]^{"2-"}~(ngm^-3))) + | |
xlab(expression(italic(delta)^13*C[ap]*"‰")) + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Animated dplyr joins with gganimate | |
# * Garrick Aden-Buie | |
# * garrickadenbuie.com | |
# * MIT License: https://opensource.org/licenses/MIT | |
# Note: I used Fira Sans and Fira Mono fonts. | |
# Use search and replace to use a different font if Fira is not available. | |
library(tidyverse) | |
library(gganimate) |
brew install ImageMagick
ffmpeg -ss 14:55 -i video.mkv -t 5 -s 480x270 -f image2 %04d.png
- -ss 14:55 gives the timestamp where I want FFmpeg to start, as a duration string.
- -t 5 says how much I want FFmpeg to decode, using the same duration syntax as for -ss.
- -s 480x270 tells FFmpeg to resize the video output to 480 by 270 pixels.
- -f image2 selects the output format, a series of still images — make sure there are leading zeros in filename.
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
- The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.
Translations: (No guarantee that the translations are up-to-date)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Default Important Label */ | |
treechildren::-moz-tree-cell(lc-FF0000) { | |
border-bottom: 1px solid #FF0000 !important; background-color: #FFCCCC !important; | |
} | |
treechildren::-moz-tree-cell-text(lc-FF0000) { | |
color: #000000 !important; | |
} | |
treechildren::-moz-tree-cell(lc-FF0000, selected) { | |
background-color: #FF0000 !important; | |
} |