Skip to content

Instantly share code, notes, and snippets.

sean dougherty sean-d

  • kexp
  • seattle
Block or report user

Report or block sean-d

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View setup-grav.md

TechOps CMS Setup Guide

This document describes how the techops-cms is stood-up and why, where relevant.

GOALS

  • For 1.0, all steps should be able to be copy-pasta'd into a freshly dist-upgraded Ubuntu 16.0.4 LTS Server and work
  • For 2.0, a playbook will orchestrate 1.0. Where to place the content to be solved.
  • For 3.0, containers

##Base System

@sean-d
sean-d / _README.md
Created Oct 5, 2016 — forked from schickling/_README.md
Script to import and export docker-machine configurations to sync between hosts/collaborators
View _README.md

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 Aug 29, 2015 — forked from dutc/generators-free-your-mind.ipynb
IPython Notebook for "Generators Will Free Your Mind"
View generators-free-your-mind.ipynb
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 Jul 29, 2015
python vim specifics
View python.vim
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
View .vimrc
" This needs to be set before nocompatible is set
"
" Tell vim to remember certain things when we exit
" '10 : marks will be remembered for up to 10 previously edited files
" "100 : will save up to 100 lines for each register
" :20 : up to 20 lines of command-line history will be remembered
" % : saves and restores the buffer list
" n... : where to save the viminfo files
set viminfo='10,\"100,:20,%,n~/.viminfo
@sean-d
sean-d / .bash_profile
Last active Mar 19, 2016
bash_profile
View .bash_profile
##################################################################
## file: .bash_profile ##
## version: 1.1 ##
#---------------------------------------------------------------##
## Changlog ##
## ##
## 1.1 ##
## -colorized ps1 ##
## - added table of contents ##
## 1.0 ##
You can’t perform that action at this time.