Skip to content

Instantly share code, notes, and snippets.

View mattjmorrison's full-sized avatar

Matthew J Morrison mattjmorrison

View GitHub Profile
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.box = "ubuntu-14.04"
config.vm.provision "shell",
inline: <<-CMD
sudo apt-get install git vim python-virtualenv -y
@mattjmorrison
mattjmorrison / .vimrc
Last active August 1, 2020 14:28
Vimfiler Config
set nocompatible
if !1 | finish | endif
if has('vim_starting')
set nocompatible " Be iMproved
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
let neobundle_readme=expand($HOME.'/.vim/bundle/neobundle.vim/README.md')
if !filereadable(neobundle_readme)
silent !curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh | sh
endif
@mattjmorrison
mattjmorrison / chess_clock.sh
Created October 3, 2014 02:44
Tmux Chess Clock Pairing
#!/bin/bash
`tmux set-option -g display-time 2000`
IFS=$'\n'
CLIENTS=()
for CLIENT in $(tmux list-clients); do
CLIENTID="${CLIENT%:*}"
if [[ $CLIENT == *\(ro\) ]]
then
@mattjmorrison
mattjmorrison / .gitignore
Last active January 3, 2019 15:33
Tool Instructions
.vagrant/
*.swp
https://gist.github.com/mattjmorrison/2712d13932da8b35b187/edit
@mattjmorrison
mattjmorrison / templates.md
Last active August 29, 2015 14:02
Pyowa - Django Templates

Template Loaders

TEMPLATE_LOADERS = (
    ('django.template.loaders.cached.Loader', (
        'django.template.loaders.filesystem.Loader',
        'django.template.loaders.app_directories.Loader',
    )),
)
@mattjmorrison
mattjmorrison / prototypes.md
Created May 30, 2014 13:46
6-10-2014 DSMJS Prototype Talk

Prototypes

@mattjmorrison
mattjmorrison / caps_lock.md
Last active August 29, 2015 14:00
Caps Lock

How to use Caps Lock as both Ctrl and Esc on OS X

  1. Get [Homebrew][homebrew]
  2. Get [Homebrew Cask][cask]
  3. Install Seil using brew cask install seil
  4. Install Karabiner using brew cask install karabiner
  5. Disable Caps Lock
    • Open System Preferences
    • Open Keyboard Preferences
  • On the Keyboard Tab click "Modifier Keys..."
@mattjmorrison
mattjmorrison / setup.sh
Created December 4, 2013 05:39
New imtapps macbook setup
curl https://raw.github.com/toranb/osx-workstation/master/installer | bash
git clone https://github.com/JarrodCTaylor/imt_dotfiles.git
cd ~/imt_dotfiles/Mac
bash symlink.sh
@mattjmorrison
mattjmorrison / .zshrc
Created November 30, 2013 14:27
.zshrc
#!/bin/zsh
# vim: set foldmarker=<<,>> foldlevel=1 foldmethod=marker:
#===================================================================================
# .__
# ________ _____| |_________ ____
# \___ / / ___/ | \_ __ \_/ ___\
# / / \___ \| Y \ | \/\ \___
# /_____ \/____ >___| /__| \___ >
# \/ \/ \/ \/
#===================================================================================