This file contains hidden or 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
| [color] | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| interactive = auto | |
| ui = true | |
| [alias] | |
| amend = !"git commit --amend -C HEAD" | |
| st = status | |
| ci = commit |
This file contains hidden or 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
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE_AFL.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php |
This file contains hidden or 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
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE_AFL.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php |
This file contains hidden or 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
| SELECT * | |
| FROM asdfg_posts | |
| WHERE post_content LIKE '%href="wiki%'; | |
| SELECT * | |
| FROM asdfg_posts | |
| WHERE post_content LIKE '%href="/wiki%'; | |
| UPDATE asdfg_posts | |
| SET post_content = replace(post_content, 'href="wiki', 'href="/wiki') |
This file contains hidden or 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
| # Block semalt.com | |
| if ($http_referer ~* "semalt\.com") { | |
| return 444; | |
| } |
This file contains hidden or 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
| SetEnvIfNoCase Referer buttons-for-website.com spammer=yes | |
| SetEnvIfNoCase Referer semalt.com spammer=yes | |
| Order allow,deny | |
| Allow from all | |
| Deny from env=spammer |
This file contains hidden or 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
| {source 0} | |
| <?php | |
| function getCarouselContentByLayout($layout, $title = '', $text = '', $count = 0) | |
| { | |
| if($layout == 'mobile') { | |
| return '<div class="carousel-caption carousel-caption-mobile">' | |
| . '<strong>' . $title . '</strong>' | |
| . '<p><a href="#myModal-' . $count .'" data-toggle="modal">lees meer</a></p>' | |
| . '</div>'; | |
| } |
This file contains hidden or 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
| Options +FollowSymLinks | |
| RewriteEngine On | |
| RewriteRule ^sitemap.xml$ index.php?option=com_xmap&view=xml&tmpl=component&id=1 [L] |
This file contains hidden or 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
| SetEnvIfNoCase Referer buttons-for-website.com spammer=yes | |
| SetEnvIfNoCase Referer semalt.com spammer=yes | |
| Order allow,deny | |
| Allow from all | |
| Deny from env=spammer |
This file contains hidden or 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
| <IfModule mod_headers.c> | |
| Header set Connection keep-alive | |
| # Cache-control headers | |
| # 2 HOURS | |
| #<filesMatch "*"> | |
| Header set Cache-Control "max-age=7200, must-revalidate" | |
| #</filesMatch> | |
| # 480 weeks - 290304000 |