next.js, nginx, reverse-proxy, ssl
$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt
<!-- | |
<p>Below is the statement which you have written in the html inpector github page.</p> | |
<quote> | |
This rule throws an error when an element class name is used but that element isn't a descendant of a block by the same name. | |
It also errors when a modifier is used on a block or element without the unmodified class there too. | |
</quote> | |
<p>Is it possible to make a change in the code below so that i can get the BEM warning. That is what i need.. Or is it possible to add some code which will throws the kind of error which you have mentioned regarding the BEM convention.</p> | |
<p>Really sorry if i am wasting your time :(</p> | |
--> |
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
html(lang="en", ng-app='test', ng-strict-di) | |
head | |
title(ng-bind="tfMetaTags.title") | |
meta(charset="utf-8") | |
meta(http-equiv="X-UA-Compatible", content="IE=edge") | |
meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0") | |
meta(name="fragment", content="!") | |
meta(ng-repeat="(key, value) in tfMetaTags.properties", name="{{key}}", content="{{value}}") | |
base(href="/") |
{ | |
"name": "checkout-main", | |
"version": "0.0.1", | |
"dependencies": { | |
"angular": "^1.6.1", | |
"angular-ui-router": "^0.4.2", | |
"lodash": "4.17.2", | |
"jquery": "3.1.1", | |
"angular-local-storage": "0.5.2", | |
"deep-diff": "0.3.4", |
{ | |
"name": "angular-starter-kit", | |
"description": "An HTML/JS/CSS app", | |
"version": "0.0.1", | |
"private": true, | |
"author": "Adam Albrecht", | |
"devDependencies": { | |
"babel-preset-env": "~1.1.8", | |
"bower": "~1.8.0", | |
"coffee-script": "~1.8.0", |
Sometimes it is useful to route traffic through a different machine for testing or development. At work, we have a VPN to a remote facility that we haven't bothered to fix for routing, so the only way to access a certain machine over that VPN is via an SSH tunnel to a machine that is reachable over the VPN. Other times, I have used this technique to test internet-facing requests against sites I am developing. It is pretty easy, and if you don't use firefox regularly, you can treat Firefox as your "Proxy" browser and other browsers can use a normal configuration (Although you can also configure an entire system to use the proxy, other articles exists that discuss this potential).