Skip to content

Instantly share code, notes, and snippets.

View tvandoren's full-sized avatar

Trevor VanDoren tvandoren

View GitHub Profile
# set some history options
setopt appendhistory
setopt sharehistory
setopt incappendhistory
setopt hist_ignore_all_dups
setopt hist_save_no_dups
setopt hist_ignore_dups
setopt hist_find_no_dups
# case insensitive completion
@tvandoren
tvandoren / main.cpp
Last active October 14, 2019 01:21
#include <iostream>
#include <vector>
// starting node (can be anything from 0 to 9)
int START_NODE = 0;
// since int cannot represent infinity, a value high enough above anything we should encounter will be used
int HIGH_VAL = 999;
// size of adjacency matrix