Skip to content

Instantly share code, notes, and snippets.

View martynscn's full-sized avatar
🎯
Focusing

Martyns Nwaokocha martynscn

🎯
Focusing
View GitHub Profile
@martynscn
martynscn / AdbCommands
Created April 14, 2020 14:03 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@martynscn
martynscn / app.R
Created April 15, 2018 19:25 — forked from mine-cetinkaya-rundel/app.R
Shiny dynamic UI - observers & lapply
# An example based on http://shiny.rstudio.com/articles/dynamic-ui.html
library(shiny)
ui = basicPage(
fluidRow(
actionButton(inputId = "add_buttons", label = "Add 5 Buttons")
),
uiOutput("more_buttons") # this is where the dynamically added buttons will go.
)
@martynscn
martynscn / app.R
Last active April 16, 2018 05:40
ShinyCode_20180415
# Load packages ----
library(shiny)
library(quantmod)
# Source helpers ----
# source("helpers.R")
if (!exists(".inflation")) {
.inflation <- getSymbols('CPIAUCNS', src = 'FRED',
auto.assign = FALSE)