Skip to content

Instantly share code, notes, and snippets.

# This gist is compatible with Ansible 1.x .
# For Ansible 2.x , please check out:
# - https://gist.github.com/dmsimard/cd706de198c85a8255f6
# - https://github.com/n0ts/ansible-human_log
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active February 7, 2026 19:32 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@adamli
adamli / gist:668204
Created November 8, 2010 20:25
Creating a virtual directory in Apache server
in httpd-vhosts.conf append:
Alias /crm/[app_name]/media/ "D:/xampp/htdocs/crm/_core/modules/crm/media/"
<Directory "D:/xampp/htdocs/crm/_core/modules/crm/media">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
UPDATE destinations, (SELECT id, name_eng FROM destinations WHERE IFNULL(country_id,0)=0) AS d2
SET destinations.country_id = d2.id
WHERE IFNULL(destinations.country_id,0) = 0 AND destinations.name_heb = d2.name_eng