This file contains 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
--- | |
- name: Group by Distribution | |
hosts: all | |
tasks: | |
- group_by: key={{ansible_distribution}} | |
- name: Set Time Zone | |
hosts: Ubuntu | |
gather_facts: False | |
vars: |
This file contains 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
<? | |
// this is more the PHP-way | |
// requires the bcmath extension so make sure your shared hosting provider has it. | |
is_even($argv[1]); | |
function is_even($number) { | |
$oldnumber = $number; | |
goto a; | |
result: |
This file contains 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
# Set up your site so that static files can be accessed from the static | |
# domain *or* from a subfolder of the main site (e.g. use a symlink) | |
# Then add a setting like the following to your site's settings.py, | |
# such that /static/ is the same as http://static.yourdomain.com | |
############################################################################# | |
WYM_CMS_STATIC_URL = '/static/cms/' | |
############################################################################# | |
# Replace the last line of cms/plugins/text/settings.py with the following: |