This is my collection of emacs configuration.
Do backup your original configurations in .emacs and .emacs.d, as follows
$ mv .emacs .emacs.backup && mv .emacs.d .emacs.d.backup
After that, checkout this configuration by issuing the following commands.
$ git clone --recursive https://github.com/benquike/emacs.d ~/.emacs.d
$ git submodule update --init