Skip to content

Instantly share code, notes, and snippets.

View rpodcast's full-sized avatar

Eric Nantz rpodcast

View GitHub Profile
@rpodcast
rpodcast / python_project.py
Created April 30, 2023 03:15
Python Project (Darren)
# Darren Nantz
# Final Project Name: My House And Yard
#Class: Beginner 2
from turtle import *
from random import *
bgcolor("lightblue")
tracer(0)
color("springgreen")
begin_fill()
up()
@rpodcast
rpodcast / castopod.subdomain.conf
Last active January 7, 2023 02:36
castopod in docker-compose
## Version 2022/10/06
# make sure that your dns has a cname set for castopod and that your castopod container is not using a base url
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name castopod.*;
include /config/nginx/ssl.conf;
@rpodcast
rpodcast / video_links.txt
Created August 20, 2022 18:14
rstudioconf(2022) video links
# Module UI
#' @title mod_explore_ui and mod_explore_server
#' @description A shiny Module.
#'
#' @param id shiny id
#' @param input internal
#' @param output internal
#' @param session internal
#'
@rpodcast
rpodcast / docker-compose.yml
Created August 30, 2021 12:40
hedgedoc in docker containers with swag for reverse proxy
version: "3"
services:
mariadb:
image: ghcr.io/linuxserver/mariadb:latest
container_name: hedgedoc_mariadb
restart: always
volumes:
- /home/eric/docker_configs/hedgedoc/mariadb:/config
environment:
- MYSQL_ROOT_PASSWORD=mypass123**
@rpodcast
rpodcast / README.md
Last active November 4, 2019 14:30
Shiny modules and custom SVG javascript

This app requires the shiny and xml2 packages. Run the gist interactively with the following:

shiny::runGist('6c33ee09a16d55569c562f7aa3951088')
@rpodcast
rpodcast / global.R
Created March 16, 2019 15:27
POC of rayshader in Shiny
# Must be executed BEFORE rgl is loaded on headless devices.
options(rgl.useNULL=TRUE)
library(shiny)
library(rgl)
library(rayshader)
library(magrittr)
#Here, I load a map with the raster package.
loadzip = tempfile()
@rpodcast
rpodcast / app.R
Last active March 27, 2017 16:22
Using throttle/debounce with numericInputs and renderUI/uiOutput
library(shiny)
ui <- fluidPage(
fluidRow(
numericInput(
"obs_low",
"Minimum obs",
value = 1000,
min = 500,
max = 5000,
@rpodcast
rpodcast / global.R
Created February 2, 2017 05:04
Using rintrojs with a navbar UI
library(shiny)
library(rintrojs)
data(mtcars)
my_data <- mtcars
@rpodcast
rpodcast / app.R
Created September 16, 2016 06:22
Using `rintrojs` with parsed markdown
library(rintrojs)
library(shiny)
# Define UI for application that draws a histogram
ui <- shinyUI(fluidPage(
introjsUI(),
# Application title
introBox(
titlePanel("Old Faithful Geyser Data"),