Create Swagger from API Utility

Apigee Utility to create an Open API Spec directly from a URL
http://specgen.apistudio.io/open-api/53d49866-433b-476e-bf19-96d312b92f36/run-api

Or via npm: https://www.npmjs.com/package/api2swagger

Nginx Mechanic

https://github.com/punkave/mechanic

Command-line tool to manage nginx-powered proxies for node apps. Static file delivery, load balancing, HTTPS, all that jazz with a clean interface.

Headless Chrome

Overview Refer: https://developers.google.com/web/updates/2017/04/headless-chrome

With Python: https://duo.com/blog/driving-headless-chrome-with-python

Puppeteer: https://github.com/GoogleChrome/puppeteer

Example Automation: https://tutorialzine.com/2017/08/automating-google-chrome-with-node-js

Getting Started: https://medium.com/@e_mad_ehsan/getting-started-with-puppeteer-and-chrome-headless-for-web-scrapping-6bf5979dee3e

Docker: Refer: https://hub.docker.com/r/justinribeiro/chrome-headless/

NodeJS: Refer: https://www.npmjs.com/package/simple-headless-chrome

$ chromium-browser --headless --disable-gpu --dump-dom https://www.chromestatus.com/

Browsers failing with inline JavaScript Issues

10:19 AM] Rohith Poreddy: These are the changes I made to apache config

# X-FRAME Options
Header set X-Frame-Options SAMEORIGIN

# X-XSS-Protection:
Header always set X-XSS-Protection "1; mode=block"

# X-Content-Type-Options:
Header always set X-Content-Type-Options: nosniff

# Content-Security-Policy
Header set Content-Security-Policy "script-src 'self'; object-src 'self'"

[10:20 AM] Rohith Poreddy: In /etc/httpd/conf/httpd.conf

Setup WordPress SSL for Admin Panel

Refer: http://crunchify.com/wordpress-how-to-force-specific-pages-to-be-secure-ssl-https/

That part is actually pretty easy. Just drop this in the wp-config.php. That’ll force the entire admin over SSL, which is what you want in most cases.

define('FORCE_SSL_ADMIN', true);

 

Disable WordPress Emeds

When updating to a new theme, WP start converting links into embeds, which exposes this site to 3rd party tracking, etc.

Refer: https://kinsta.com/knowledgebase/disable-embeds-wordpress/

Plug-in Used to disable: "Disable Embeds" by Pascal Birchler