Go to the vendor_name folder.
- Ex.: cd vendor/amasty
Create the file at that folder.
- Ex.: zip-all.sh
| # PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues | |
| # | |
| # For context please read this thread: | |
| # https://github.com/microsoft/WSL/issues/8995 | |
| # | |
| # How to use? | |
| # - Save the Script: Open a text editor like Notepad and paste the PowerShell script into it. | |
| # - Save the file with a .ps1 extension, for example, Add_WindowsDefender_Exclusions.ps1. | |
| # - Run PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on it, and choose "Run as administrator". | |
| # - Navigate to the Script's Location: Use the cd command to navigate to the directory where you saved the .ps1 file. |
| <?php | |
| ini_set('max_execution_time', 0); | |
| ini_set('display_errors', 1); | |
| require __DIR__ . '/../app/bootstrap.php'; | |
| use \Magento\Framework\App\Bootstrap; | |
| $bootstrap = Bootstrap::create(BP, $_SERVER); | |
| $objectManager = $bootstrap->getObjectManager(); | |
| $state = $objectManager->get('\Magento\Framework\App\State'); |
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.6 - 10/2022 | |
| # ---------------------------------------------------------------------- | |
| # @Author: Andreas Hecht | |
| # @Author URI: https://seoagentur-hamburg.com | |
| # License: GNU General Public License v2 or later | |
| # License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| ######################################################################## | |
php (greater than v5.4, if at all possible), mysql, git, wp-cli, magerun (if Magento project), openssl (if https), rsync, etc.Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
| ############ WordPress #################### | |
| # Disable logging for favicon and robots.txt | |
| location = /favicon.ico { | |
| try_files /favicon.ico @empty; | |
| access_log off; | |
| log_not_found off; | |
| expires max; | |
| } |