A no nonsense notebook for nerds
-
golang update in centos
-
basic cwp with jenkins and nodejs
-
Ways to block user via .htaccess
-
S3 notes – how to make all s3 images public
Dont forget to remove dryrun flag once you are sure.
-
JS Notes Object.is vs === Triple EqualTo
Source: Linkedin
-
How to fix Magento2 apis not working? fix coupon apis and other PUT OPTIONS APIs
The issue is actually related to your server’s configuration. By default all types of requests are not allowed. Please add the following to your .htaccess file
-
CSS Flashy button with glaze effect
I am FLASHY
-
How to put a site in maintenance? [Apache web server]
Content of your .htaccess file If you want to whitelist any IP, use this Here is a sample htaccess for a wordpress website with 1 IP whitelisted 4.129.45.44 and all others are banned. So you only will be able to load the website while everyone else will see contents of index.html with HTTP Status code…
-
How to generate a patch with edited files? How to zip latest committed changes only
Reference: https://stackoverflow.com/a/42971972/2229148 sometimes you need all the files that were updated so you can patch an external app which doesnt uses same git project or many other scenarios in which we need a zip or tar of those files. Use the above command to do so There is a smarter way also, if you want…
-
Basic Authentication in nginx for any domain, server or location block
Update the domain.conf file like /etc/nginx/conf.d/vhosts/myrestricteddomain.com.ssl.conf Ideally, use it in server config Save and restart nginx
Got any book recommendations?