Skip to content

Instantly share code, notes, and snippets.

View kellydavid's full-sized avatar

David Kelly kellydavid

View GitHub Profile
@kellydavid
kellydavid / gridlabd_ubuntu_readme.md
Created March 28, 2017 23:07
Building gridlab-d on ubuntu

Building gridlab-d on ubuntu (tested on 16.04.2 LTS)

  1. First install the following packages using apt-get :
  • autoconf
  • libtool
  • libxerces-c-dev
  • libcppunit-dev
  • libncurses5-dev
  • doxygen
@kellydavid
kellydavid / git_prompt_bash_profile.txt
Last active March 23, 2017 16:25
git bash prompt
# This just a few lines to add to a bash '~/.bashrc' configuration. This will add git
# command completion as well as display the current working branch. I like the format
# of the prompt that this produces so I want to document it here. The git completion
# scripts were obtained from https://github.com/git/git/tree/master/contrib/completion
# Set up git bash support
source ~/.git_bash/git-completion.bash
source ~/.git_bash/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\e[0;33m\u@\H\e[m:\e[0;32m\W\e[m\e[0;34m$(__git_ps1 " (%s)")\e[m\$ '