Skip to content

Instantly share code, notes, and snippets.

View peterfabian's full-sized avatar

Peter Fabian peterfabian

View GitHub Profile
@kenanfallon
kenanfallon / gist:260149218ad43b5252785faa5f968589
Created September 22, 2016 01:32
Protect Nginx Digital Downloads
location ~ ^/wp-content/uploads/woocommerce_uploads/(.*?)\.zip$ {
rewrite / permanent;
}
location ~ ^/wp-content/uploads/woocommerce_uploads/(.*?)\.wav$ {
rewrite / permanent;
}
location ~ ^/wp-content/uploads/woocommerce_uploads/(.*?)\.mp3$ {
rewrite / permanent;
@ahmadawais
ahmadawais / flywheel-local-xdebug-vscode.md
Last active September 5, 2024 01:57
Debug WordPress with Visual Studio Code | VSCode WordPress Debug Setup | WordPress xDebug Setup for Local by FlyWheel with VSCode | Part of the VSCode Learning Course → https://VSCode.pro

VSCode WordPress Debugging Setup: WordPress Xdebug Setup for Local by FlyWheel with VSCode


Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User

🚅 TL;DR

  • Make sure your Local by FlyWheel WordPress install is a custom install