Skip to content

Instantly share code, notes, and snippets.

View aliouneriddle's full-sized avatar

Alioune Badara Diop aliouneriddle

View GitHub Profile
@aliouneriddle
aliouneriddle / README.md
Created June 20, 2021 04:17 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
library(shiny)
library(ggplot2)
shinyServer(function(input, output) {
dataset <- reactive(function() {
diamonds[sample(nrow(diamonds), input$sampleSize),]
})
output$plot <- reactivePlot(function() {