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
| # main root gitignore for Joomla3 and Joomla4 component like a com_myawesomecomponent | |
| * | |
| !*/ | |
| !/components/com_myawesomecomponent | |
| !/components/com_myawesomecomponent/** | |
| !/administrator/components/com_myawesomecomponent | |
| !/administrator/components/com_myawesomecomponent/** | |
| #joomla 3# !/administrator/language/en-GB/en-GB.com_myawesomecomponent.ini |
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
| # Check your website headers here: https://www.serpworx.com/check-security-headers/ or https://gf.dev/ | |
| # This configuration works for WP, WC on LiteSpeed server. Be careful. Test site after installing. All lines are explained are in serpworx.com tester. | |
| # More docs: | |
| # https://www.netsparker.com/whitepaper-http-security-headers/#XFrameOptionsHTTPHeader | |
| # https://owasp.org/www-project-secure-headers/ | |
| # https://www.keycdn.com/blog/http-security-headers | |
| # WordPress plugin for Headers setup https://wordpress.org/plugins/http-headers/ | |
| # Main security options in .htaccess file: |
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
| # === Optimized my.cnf configuration for MySQL/MariaSQL on cPanel/WHM servers === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated January 2020 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
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
| window.addEventListener('load', function() { | |
| var ems=document.getElementsByTagName('em'); | |
| for (i=0;i<ems.length;++i) { | |
| ems[i].className = " found"; | |
| if (ems[i].innerHTML.includes('auto')){ | |
| ems[i].className = ems[i].innerHTML; | |
| } | |
| if (ems[i].innerHTML.indexOf('*commercial*') > -1 || ems[i].innerHTML.indexOf('*business*') > -1){ |
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
| (function($) { | |
| $(window).load(function() { | |
| $('a[href*=#]:not([href=#])').click(function() | |
| { | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
| || location.hostname == this.hostname) | |
| { | |
| var target = $(this.hash), | |
| headerHeight = $(".primary-header").height() + 5; // Get fixed header height |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| <!-- | |
| autor: TEUCG | |
| https://twitter.com/teucg | |
| --> | |
| <div class="button">TEUCG</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
| <!-- | |
| autor: TEUCG | |
| https://twitter.com/teucg | |
| --> | |
| <div class="button">TEUCG</div> |