When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
""" | |
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'): |
<?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 |