The current setup has been tested on Next Js 7.0.0.
You need to install Axios.
$ npm install axios
| // Date : 28/05/2021 | |
| // Last Updated : 04/05/2022 | |
| // Author : Ghassane SEBAÏ | |
| // Contact : [email protected] | |
| // Source : https://en.wikipedia.org/wiki/List_of_iOS_and_iPadOS_devices | |
| // Format : | |
| // "Model Name : [Hardware Strings]" | |
| // -> Using '/' as a separator between hardware strings. |
| # Automatic nginx virtual subdomains with sub-folders or sub-directories | |
| # | |
| # Since the original source where I found this code is now offline, I have decided to mirror it here. | |
| # All credit goes to: http://web.archive.org/web/20150307193208/http://www.messaliberty.com/2010/10/automatic-nginx-virtual-subdomains-with-sub-folders-or-sub-directories | |
| # | |
| # Description: In my web root directory I wanted create a folder called photos, and another called | |
| # music using a sftp program. Without manually going back to the config file or to the shell I like to | |
| # be able to access them at photos.nginxdomain.com and music.nginxdomain.com. That is what this config does. | |
| # Redirect visitors from http://nginxdomain.com/ to http://www.nginxdomain.com/ |
| $positions: ( | |
| t: ('top'), | |
| r: ('right'), | |
| b: ('bottom'), | |
| l: ('left'), | |
| x: ('left', 'right'), | |
| y: ('top', 'bottom') | |
| ); | |
| @mixin sizeValue($prop, $i) { |
| $breakpoint-sm: 400px !default; | |
| $breakpoint-md: 768px !default; | |
| $breakpoint-lg: 1024px !default; | |
| // min-width | |
| $breakpoint-up: ( | |
| 'sm': 'screen and (min-width: #{$breakpoint-sm})', | |
| 'md': 'screen and (min-width: #{$breakpoint-md})', | |
| 'lg': 'screen and (min-width: #{$breakpoint-lg})', | |
| ) !default; |
| ################################################################################ | |
| ######################## STUBBY YAML CONFIG FILE ############################### | |
| ################################################################################ | |
| # This is a yaml version of the stubby configuration file (it replaces the | |
| # json based stubby.conf file used in earlier versions of getdns/stubby). | |
| # | |
| # For more information see | |
| # https://dnsprivacy.org/wiki/display/DP/Configuring+Stubby | |
| # | |
| # This format does not fully support all yaml features - the restrictions are: |
| // Node v6.9.0 | |
| // | |
| // TEST FILE (cut down for simplicity) | |
| // To ensure Golang encrypted string can be decrypted in NodeJS. | |
| // | |
| let crypto; | |
| try { | |
| crypto = require('crypto'); |
Original article explanation is here:
http://www.kirstencassidy.com/cleaning-up-formatting-shortcodes/
\[/vc(.*?)\]
\[vc(.*?)\]
\[custom_font(.*?)\]