Skip to content

Instantly share code, notes, and snippets.

View TysonStanley's full-sized avatar
🏠
Working from home

Tyson Barrett TysonStanley

🏠
Working from home
View GitHub Profile
@TysonStanley
TysonStanley / server.R
Created July 16, 2019 00:10 — forked from withr/server.R
Encrypt password with md5 for Shiny-app.
library(shiny)
library(datasets)
Logged = FALSE;
PASSWORD <- data.frame(Brukernavn = "withr", Passord = "25d55ad283aa400af464c76d713c07ad")
# Define server logic required to summarize and view the selected dataset
shinyServer(function(input, output) {
source("www/Login.R", local = TRUE)
observe({
if (USER$Logged == TRUE) {
@TysonStanley
TysonStanley / join-animations-with-gganimate.R
Created August 17, 2018 19:48 — forked from gadenbuie/join-animations-with-gganimate.R
Animated dplyr joins with gganimate
# 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)