date | topic | url |
---|---|---|
2021-01-11 | issue titles | https://twitter.com/jimhester_/status/1348742632491646976 |
2021-01-13 | new features | https://twitter.com/jimhester_/status/1349369619891564544 |
2021-01-15 | writing too much | https://twitter.com/jimhester_/status/1350076918520045568 |
2021-01-19 | imitation in PRs | https://twitter.com/jimhester_/status/1351533870261399555 |
2021-01-20 | issues crop | https://twitter.com/jimhester_/status/1351930803656257544 |
2021-01-25 | community sites | https://twitter.com/jimhester_/status/1353749482425491456 |
2021-01-29 | second contributions | https://twitter.com/jimhester_/status/1355195248612356099 |
2021-02-01 | robot pedantry | https://twitter.com/jimhester_/status/1356272709345419264 |
This file contains 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
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> | |
<title>Wordle - A daily word game</title> | |
<meta name="description" content="Guess the hidden word in 6 tries. A new puzzle is available each day."> | |
<!-- FB Meta Tags --> |
This file contains 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(ggplot2) | |
# sample data for plot ---- | |
points <- | |
data.frame( | |
x = rep(1:10,3), | |
y = rep(1:10,3), | |
z = sort(rep(letters[1:2], 15)), | |
w = rep(letters[3:4], 15) | |
) | |
# ggplot using many theme options ---- |
This file contains 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
# started with `foghorn`, but that comes with dependencies and | |
# slows down R startup. `browseURL` just barely slows startup, | |
# even if actual page is slow to load. | |
check_cran_old <- function(email) { | |
utils::browseURL( | |
sprintf( | |
"https://cran.r-project.org/web/checks/check_results_%s.html", | |
gsub("[^A-Za-z0-9_:.-]", "_", sub("@", "_at_", email)) | |
) ) } |
This file contains 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
<!doctype html> | |
<!-- This is just a very slightly modified tracking.js demo: https://trackingjs.com/examples/face_camera.html --> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.3/tracking-min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.3/data/face-min.js"></script> | |
<style> | |
video, canvas { | |
margin-left: 100px; |
This file contains 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
needs(rvest, tidyverse, zoo) | |
df <- c('minutes', 'words') %>% | |
map(function(var) { | |
doc <- var %>% | |
sprintf(fmt = 'http://www.presidency.ucsb.edu/sou_%s.php') %>% | |
read_html() | |
doc %>% | |
html_node('table tr:nth-of-type(2) table') %>% | |
html_table(fill = T) %>% |
- Eurostat, World Bank and others: https://ikashnitsky.github.io/2017/data-acquisition-two/
- Star Wars data: in dplyr, http://dplyr.tidyverse.org/reference/starwars.html
- Baby names data: babynames package, https://cran.r-project.org/web/packages/babynames/index.html
- Movies data: https://cran.r-project.org/web/packages/ggplot2movies/index.html ggplot2movies package
- Game of Thrones screen time: https://github.com/Preetish/GoT_screen_time
- Open Bike Data: https://github.com/ropensci/bikedata
- Tons of data through 538: https://cran.r-project.org/web/packages/fivethirtyeight/vignettes/fivethirtyeight.html
- Public health data England: fingertipsR, https://cran.r-project.org/web/packages/fingertipsR/
- Financial data via Quandl: https://www.quandl.com/tools/r
- Cyclones: https://github.com/ropensci/rrricanesdat
This file contains 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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<link rel="stylesheet" type="text/css" href="excel-2000.css"/> | |
<link rel="stylesheet" type="text/css" href="excel-xp.css"/> | |
<link rel="stylesheet" type="text/css" href="excel-2003.css"/> | |
<link rel="stylesheet" type="text/css" href="excel-2007.css"/> | |
<script lang="javascript"> |
NewerOlder