These are code snippets for common usage in drupal installations. Fork it on github.
.gitignore for drupal projects without docroot
curl https://raw.githubusercontent.com/undpaul/code_snippets/master/git/default.gitignore > .gitignore
.gitignore for drupal projects with docroot (e.g. on freistilbox)
curl https://raw.githubusercontent.com/undpaul/code_snippets/master/git/freistilbox.gitignore > .gitignore
settings.php structure
curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/default.local.settings.php curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/settings.local.php; curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/shared.settings.php; ln -s settings.local.php settings.php;