Ensure there's folder docs/ in root directory. Then:
- Copy paste the code
generate-toc.php. - Run script
php generate-toc.php
| { | |
| "quotes": [ | |
| { | |
| "quote":"Life isn’t about getting and having, it’s about giving and being.","author":"Kevin Kruse"}, | |
| { | |
| "quote":"Whatever the mind of man can conceive and believe, it can achieve.","author":"Napoleon Hill"}, | |
| { | |
| "quote":"Strive not to be a success, but rather to be of value.","author":"Albert Einstein"}, | |
| { |
Ensure there's folder docs/ in root directory. Then:
generate-toc.php.php generate-toc.phpfrontend localnodes
bind *:80
reqadd X-Forwarded-Proto:\ http
# Add CORS headers when Origin header is present
capture request header origin len 128
http-response add-header Access-Control-Allow-Origin %[capture.req.hdr(0)] if { capture.req.hdr(0) -m found }
rspadd Access-Control-Allow-Methods:\ GET,\ HEAD,\ OPTIONS,\ POST,\ PUT if { capture.req.hdr(0) -m found }
rspadd Access-Control-Allow-Credentials:\ true if { capture.req.hdr(0) -m found }
Installing Brew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installing MSSQL Tools
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
| openapi: 3.1.0 | |
| info: | |
| title: Tasks API | |
| description: A simple CRUD API for managing tasks. | |
| version: 1.0.0 | |
| contact: | |
| name: API Support | |
| email: support@tasks.com | |
| license: | |
| name: MIT |
| openapi: 3.1.0 | |
| info: | |
| title: Chirps API | |
| description: |- | |
| Welcome to the Laravel Bootcamp! In this guide we will walk through building a modern Laravel application from scratch. To explore the framework, we'll build a microblogging platform called Chirper. | |
| termsOfService: http://chirps.com/terms/ | |
| contact: | |
| email: api@chirps.com | |
| license: |
| # Directory Listing | |
| Options -Indexes | |
| <IfModule mod_security.c> | |
| # Server Information Disclosure | |
| ServerTokens Prod | |
| ServerSignature Off | |
| SecServerSignature " " | |
| </IfModule> |