Substitute ~/.emacs.d/ to emacs-init-dir, that's what the variable
for.
Add some go-mode snippets.
Some go-mode related settings.
Remove w3m fake user agent code.