Skip to content

Instantly share code, notes, and snippets.

@jackwhit3
jackwhit3 / hashtable.cc
Created January 2, 2016 08:56
Hashtable C++ Implementation (using templates)
#include <iostream>
#include <vector>
using namespace std;
template<class K, class V>
struct Bucket {
K key;
V val;
Bucket(const K &k, const V &v) : val(v), key(k) {}
};
@jackwhit3
jackwhit3 / .bash_profile
Created July 4, 2017 15:37
.bash_profile
export PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] '
export HISTTIMEFORMAT="%h/%d - %H:%M:%S "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias ll='ls -al'
alias l='ls -al'
alias java='/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java'
export WORKON_HOME=$HOME/.virtualenvs