Adding gitignore and importing script from emacswiki.