Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env python | |
| import argparse | |
| import redis | |
| def connect_redis(conn_dict): | |
| conn = redis.StrictRedis(host=conn_dict['host'], | |
| port=conn_dict['port'], | |
| db=conn_dict['db']) | |
| return conn |
| вариант 1: | |
| содержание | |
| {{block type="core/template" name="cms" template="page/cms-lift-active.phtml"}} | |
| xml | |
| <reference name="root"> | |
| <action method="addBodyClass"> | |
| <class>cms-lift-active</class> | |
| </action> |