View macOS
# Reduce autohide animation
defaults write com.apple.dock autohide-time-modifier -float 0.25; killall Dock
# Reset autohide animation defaults
defaults delete com.apple.dock autohide-time-modifier; killall Dock
View template.qsub
#!/bin/bash -l
# template.qsub - Template file for Sun Grid Engine (SGE) job submissions
# Andrés Bretón, http://andresbreton.com
# Template from https://gist.github.com/bretonics/1dc5d0926aefa7787ebf48a0bad5316b
#-------------------------------------------------------------------------------
# ENVIRONMENTAL VARIABLES AVAILABLE
View cellranger.qsub
#!/bin/bash -l
# cellranger.qsub - A template file to run Cell Ranger on Sun Grid Engine (SGE)
# Andrés Bretón, http://andresbreton.com
# Template from https://gist.github.com/bretonics/f6c57474bb077d2acd293092cf7fa449#file-cellranger-qsub
#-------------------------------------------------------------------------------
# ENVIRONMENTAL VARIABLES AVAILABLE
View crontab
# Crontab - the tab that crons!
# Yeah. I know. I suck at jokes. But I will run all your commands!
# Template from https://gist.github.com/bretonics/9a48a3b9ef32d93d15f45c3f007550b4
# ==============================================================================
# MIN(0-59) HOUR(0-23) DOM(1-31) M(1-12) DOW(0-6) CMD
# |__________|_________|_______|________|______|__MINUTE of
# |_________|_______|________|______|__HOUR of
# |_______|________|______|__DAY of
View .bash_functions
# .bash_functions - User bash functions
# Template from https://gist.github.com/bretonics/894d8c2d1d4813c36b7d36e9a97aedd6
#-------------------------------------------------------------------------------
# System
mkcd() {
mkdir "$1"
cd "$1"
}
View progress-bar.sh
#!/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
View shiny_references.md

Shiny Reference Sheet

A web application framework for R quick function reference sheet.

Input

Function Creates
actionButton() Action button element
submitButton() Submit button element
View bashTricks.md

Rename file by replacing old text pattern with new (overwrite existing)

for f in *.txt ; do echo "${f/old/new}"; done

for f in *.txt; do mv "$f" `echo $f | sed s/old/new/\`; done

Find symlink to same inode

View snippets.cson
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
View .bashrc
# .bashrc - interactive non-login shells
# Template from https://gist.github.com/bretonics/f3b61fcd1fa946df6dac
#-------------------------------------------------------------------------------
# SOURCE
# Global Definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc