Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| <?php | |
| /** | |
| * Configure SilverStripe using apache environment variables | |
| * Usage: Put "require_once('conf/ConfigureFromEnv.php');" into your _config.php file. | |
| * Example Apache vhost: | |
| * <VirtualHost *:80> | |
| * ... | |
| * SetEnv SS_ENVIRONMENT_TYPE dev | |
| * SetEnv SS_DEFAULT_ADMIN_USERNAME admin |
| """ | |
| Outputs history with bash and git aliases expanded. | |
| """ | |
| from __future__ import print_function | |
| import re | |
| from subprocess import check_output | |
| BASH_ALIASES = {} | |
| for line in check_output('bash -i -c "alias -p"', shell=True).split('\n'): |