Skip to content

Instantly share code, notes, and snippets.

View bjori's full-sized avatar

Hannes Magnusson bjori

  • Tallied
  • Danville, CA
View GitHub Profile
@bjori
bjori / gist:d82fcfe8078fa113391a
Created May 19, 2015 16:55
~/.vagrant.d/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby et sw=2 :
Vagrant.configure(2) do |config|
config.vm.provision "file", source: "/home/bjori/.gitconfig", destination: "~/.gitconfig"
config.vm.provision "file", source: "/home/bjori/.bashrc", destination: "~/.bashrc"
config.vm.provision "file", source: "/home/bjori/.profile", destination: "~/.profile"
config.vm.provision "file", source: "/home/bjori/.vimrc", destination: "~/.vimrc"
config.vm.provision "file", source: "/home/bjori/.vim", destination: "~/.vim"
@bjori
bjori / _mo
Last active September 28, 2015 17:39
Use mongo-orchestration to launch relevant topology type to test against. Based on the mongo-c-driver .mci config file
#compdef mo
#autoload
# mo zsh completion
_mo() {
local curcontext="$curcontext" state line
local dir="/home/bjori/Sources/mongo-c-driver/orchestration_configs"
typeset -A opt_args