Skip to content

Instantly share code, notes, and snippets.

@stephenll
stephenll / .bash_profile
Created February 2, 2014 02:45 — forked from jernejcic/.bash_profile
.bash_profile file on Mac OS X
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
@stephenll
stephenll / app.R
Last active August 29, 2015 14:17 — forked from wch/app.R
library(png)
shinyApp(
ui = fluidPage(
sidebarLayout(
sidebarPanel(width=3,
actionButton("newimages", "New images"),
h4("Double-click options"),
wellPanel(
sliderInput("dblclick_delay", "Delay", min=100, max=1000, value=400,
@stephenll
stephenll / custom.css
Last active August 29, 2015 14:26 — forked from ClintWeathers/custom.css
1000px rendering for rmarkdown
.main-container {
max-width: 1000px !important;
}
@stephenll
stephenll / stata_summary.R
Created February 21, 2018 13:48 — forked from leeper/stata_summary.R
Stata-style regression summaries
stata_summary <-
function(
x,
...
) {
# summarize
mod <- x
x <- summary(x)
# find outcome variable