Skip to content

Instantly share code, notes, and snippets.

View sean-d's full-sized avatar

sean dougherty sean-d

  • kexp
  • big island
View GitHub Profile
@sean-d
sean-d / .tmux.conf
Created August 8, 2022 18:55
tmux conf
# Set default terminal
set-option default-terminal "tmux-256color"
set-option -a terminal-overrides ",*256col*:RGB"
# Remap b to space to make the prefix less inury prone. this isn't emacs afterall.
unbind C-b
set -g prefix C-Space
bind Space send-prefix
# give a tad more time to enter the stupid combos before tmux makes you start over.
@sean-d
sean-d / _README.md
Created October 5, 2016 23:09 — forked from schickling/_README.md
Script to import and export docker-machine configurations to sync between hosts/collaborators

docker-machine import/export

Script to import and export docker-machine configurations to sync between hosts/collaborators

Export (on host A)

$ docker-machine ls
NAME       ACTIVE   DRIVER         STATE     URL                            SWARM   DOCKER    ERRORS
dev        -        digitalocean   Running   tcp://example.com:2376                 v1.10.1
@sean-d
sean-d / generators-free-your-mind.ipynb
Last active August 29, 2015 14:27 — forked from dutc/generators-free-your-mind.ipynb
IPython Notebook for "Generators Will Free Your Mind"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sean-d
sean-d / python.vim
Created July 29, 2015 20:05
python vim specifics
setlocal tabstop=4
" column highlight for pep8; thou shall not pass 79 columns
highlight ColorColumn ctermbg=090
let &colorcolumn=join(range(80,80),",")
" set text width, tabs, and other goodies for Python
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal textwidth=79
setlocal smarttab
@sean-d
sean-d / .bash_profile
Last active March 19, 2016 04:35
bash_profile
##################################################################
## file: .bash_profile ##
## version: 1.1 ##
#---------------------------------------------------------------##
## Changlog ##
## ##
## 1.1 ##
## -colorized ps1 ##
## - added table of contents ##
## 1.0 ##