Skip to content

Instantly share code, notes, and snippets.

View stanfordprisonexperiment's full-sized avatar

stanfordprisonexperiment

View GitHub Profile
@stanfordprisonexperiment
stanfordprisonexperiment / Almost Every Twitter (Yes, Even Nitter) to FxTwitter and Strip Params Regex.txt
Last active October 2, 2025 17:04
Almost Every Twitter (Yes, Even Nitter) to FxTwitter and Strip Params Regex
(?:twitt[ep]r.com|[fv]xtwitter.com|x.com|fixupx.com|girlcockx.com|xcancel.com|nitter\.[^\.\/]+|nitter\.\w+?\.[^\.\/]+)(\/\w+?\/status\/\d+)(?:\?.*)?
@stanfordprisonexperiment
stanfordprisonexperiment / apa_style_gt.R
Last active April 21, 2025 11:05 — forked from pdparker/apa_style_gt.R
APA Style Table for GT Package
require(tidyverse)
require(gt)
# Provides APA 7th Styling to a GT table
apa_style <- function(data) {
data %>%
opt_table_lines(extent = "none") %>%
tab_options(
heading.border.bottom.width = 2,
heading.border.bottom.color = "black",
heading.border.bottom.style = "solid",