Skip to content

Instantly share code, notes, and snippets.

View mayank7jan's full-sized avatar

Mayank Agrawal mayank7jan

  • Gold Coast, Australia
View GitHub Profile
@mayank7jan
mayank7jan / app.r
Created June 26, 2021 17:10
Shiny example app with dynamic number of plots with plot column width and auto align
library(shiny)
library(ggplot2)
ui <- shinyUI(fluidPage(
navbarPage(
windowTitle = "Automated EDA",
title = "Automated EDA",
collapsible = TRUE,
tabPanel(title = "EDA",
@mayank7jan
mayank7jan / snake.py
Created November 11, 2019 13:52 — forked from sanchitgangwar/snake.py
Snakes Game using Python
# SNAKES GAME
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import curses
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN
from random import randint
curses.initscr()
win = curses.newwin(20, 60, 0, 0)