Shiny Reference Sheet
A web application framework for R quick function reference sheet.
Function | Creates |
---|---|
actionButton() |
Action button element |
submitButton() |
Submit button element |
#!/bin/bash | |
# Bash Progress Bar: https://gist.github.com/F1LT3R/fa7f102b08a514f2c535 | |
progressBarWidth=20 | |
# Function to draw progress bar | |
progressBar () { | |
# Calculate number of fill/empty slots in the bar |
A web application framework for R quick function reference sheet.
Function | Creates |
---|---|
actionButton() |
Action button element |
submitButton() |
Submit button element |
# /path/to/repo/bin/script
BIN_PATH="$(dirname ${BASH_SOURCE})" # gets 'bin' directory path script is in
DIR_PATH="$(dirname $BIN_PATH)" # gets the main 'repo' directory path
for f in *.txt ; do echo "${f/old/new}"; done
# ------------------------------------------------------------------------------- | |
# GENERAL | |
'.source': | |
# Main Description Header | |
'Main Header': | |
'prefix': 'header' | |
'body': """ | |
# ================================================================================ | |
# |
# .bashrc - interactive, non-login shells | |
# Template from https://gist.github.com/bretonics/f3b61fcd1fa946df6dac | |
#----------------------------------------------------------------------------------------------- | |
# GLOBAL SOURCE | |
# Global Definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
-- Launch all your desired apps at once, with a single call. | |
-- Works wonderful right after startup/reboot without compromising boot time | |
set appsFolder to "/Applications" | |
set Apps to {"Mail", "Google Drive", "MenuMate", "Due", "PopClip", "Window Tidy", "Yoink", | |
"Trickster", "DropZone", "Mint QuickView", "unDock", "Visits", "CalendarFree", "Degrees"} --Change/add desired apps here | |
repeat with theItem in Apps | |
launch application theItem | |
end repeat |
# .bash_profile - login shells | |
# Template from https://gist.github.com/bretonics/5176d35739a0f4e7acfd | |
#----------------------------------------------------------------------------------------------- | |
# SOURCE | |
# Get Aliases and Functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc |