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
| #################################################### | |
| # Cohen's d Viz and Practice Tool | |
| # Author: Brendan A. Schuetze (https://schu.etze.co) | |
| # Paper: https://psyarxiv.com/ncsvd | |
| #################################################### | |
| library(shiny) | |
| library(shinyjs) | |
| library(ggplot2) |
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
| #!/bin/sh | |
| # Author: Brendan Schuetze | |
| # Created 4/11/2020 | |
| # This script updates your S3 website and invalidates a cloudfront cache (assumedly the one that holds your website) | |
| # Replaces antiquated s3_website ruby script | |
| # Install AWS CLI first. | |
| # Use AWS CLI to find s3 bucket names and cloudfront id using the following commands: | |
| # aws s3 ls | |
| # aws cloudfront list-distributions |
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
| cd FOLDER_WITH_WEBSITE_CONTENTS; | |
| aws s3 sync . s3://BUCKET_NAME; | |
| aws cloudfront create-invalidation --distribution-id CLOUDFRONT_ID --paths "/*" |
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
| var ans_upper_bound = 10; | |
| function getInteger() { | |
| return(Math.ceil(Math.random() * ans_upper_bound)) | |
| } | |
| function getEquationString() { | |
| let preselected_answer = getInteger(); | |
| let answer = -1; |
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
| # Statistical Fizzbuzz | |
| # Brendan Schuetze | |
| # November 1, 2018 | |
| # Minimal stackoverflow help (this was my first time using multinomial regression and purrr) | |
| library(nnet) | |
| library(purrr) | |
| library(dplyr) | |
| rm(list = ls()) |