Last active
December 18, 2015 15:48
-
-
Save wheatpenny/5806574 to your computer and use it in GitHub Desktop.
dretup: a daily bash command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dretup() | |
{ | |
drush vset --yes preprocess_js FALSE | |
drush vset --yes preprocess_css FALSE | |
drush vset --yes file_private_path "sites/default/files/private" | |
drush vset --yes file_public_path "sites/default/files" | |
drush vset --yes page_compression 0 | |
drush vset --yes block_cache 0 | |
drush vset --yes cache 0 | |
drush vset --yes error_level 2 | |
drush vset theme_debug 1 | |
drdis ldap ldap_authentication cas securelogin acquia_spi acquia_agent securepages varnish google_analytics ldap_authorization ldap_authorization_drupal_role ldap_servers ldap_user | |
dren diff features views_ui devel context_ui field_ui devel_generate google_analytics dblog | |
drush sql-query "INSERT INTO role_permission VALUES (2,'switch users','devel')" | |
cowsay "All authenticated users can now switch between other authenticated users." | |
drush sql-query "INSERT INTO role_permission VALUES (3,'administer contexts','context_ui')" | |
drush upwd sigworth --password="awesome" | |
drush updatedb -y | |
drcc | |
cowsay "You are now all DRETUP!" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment