Angular Specific:
General:
| ** This builds on the previous sample code provided at https://gist.github.com/kalyankrishna1/0a6ea6d00a09f7ae81c89960e1038d79 | |
| -------------------------- | |
| 2. Add the following using statements on top of the class | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Graph; | |
| using Microsoft.Identity.Client; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; |
| #!/usr/bin/env bash | |
| set -eu | |
| # Solves the problem with open ports with docker and ufw | |
| # As Docker uses the nat table, the filter table FORWARD chain is used and does not touch ufw-input chains as expected. | |
| # Even for ufw-forward chains it would not work, as DOCKER chains are inserted in front. | |
| # This is a simple fix that worked for me. | |
| # https://github.com/moby/moby/issues/4737#issuecomment-420264979 | |
| # Unfortunately this fix stops forwarding users origin ip to host mode configured service |
Angular Specific:
General:
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |