A no nonsense notebook for nerds
-
proxying websockets via nginx and https
-
Sample .htaccess for Laravel with PHP FPM
-
Gravityforms limit submission – once for user, unlimited for guest
File: gp-limit-submissions/includes/GPLS_Rule_User.php Plugin: https://gravitywiz.com/documentation/gravity-forms-limit-submissions
-
How to add Buy Now button on Product page – WordPress/woocommerce?
Change && to &&
-
How to get Gravity forms entry value by label?
-
How to edit wordpress woocommerce order api responses (legacy + latest)
-
Standalone script to print all published post IDs in WordPress
-
PHP caveats – int/float type conversion
The following code checks various scenarios in which inbuilt functions like intval, floatval, is_numeric, is_float and filter_var would result for several different types of values. Feel free to run in your local, leave comments if I can make the results more interesting with some more functions. https://gist.github.com/harshvardhanmalpani/8dd0222e4821d0e495532abe9007fef1 Output / Results
-
Jenkins auto deploying flask in test env with last build process kill and pipenv
killlastbuild.sh can have anything inside it depending upon your project requirements. I put 2 process killers to kill background-ed daemon processes from previous build command
-
How to whitelist IPs in NGINX configuration?
Add this code in your .conf file
Got any book recommendations?