create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| ######################################################################3 | |
| FROM node:10 | |
| # This first part uses a node image to build the frontend dependencies and copies | |
| # the results into the next setep to produce the final deployed image | |
| ADD . /var/www/symfony | |
| WORKDIR /var/www/symfony | |
| RUN yarn install --no-progress | |
| RUN yarn build |
| public class CustomLoggingScopeHttpMessageHandler : DelegatingHandler | |
| { | |
| private readonly ILogger _logger; | |
| public CustomLoggingScopeHttpMessageHandler(ILogger logger) | |
| { | |
| _logger = logger ?? throw new ArgumentNullException(nameof(logger)); | |
| } | |
| protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.Azure.KeyVault; | |
| using Microsoft.Azure.Services.AppAuthentication; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Identity.Client; | |
| using Microsoft.IdentityModel.Clients.ActiveDirectory; | |
| using Serilog; | |
| using System; | |
| using System.Reflection; |
| $('#calendar').fullCalendar({ | |
| // Other Calendar Options go here | |
| viewDisplay: function(view){ | |
| $('.fc-day').filter( | |
| function(index){ | |
| return moment( $(this).data('date') ).isBefore(moment(),'day') | |
| }).addClass('fc-other-month'); | |
| } | |
| }) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
| #!/bin/bash | |
| set -e | |
| set -u | |
| set -o pipefail | |
| COMMAND=${1:-"help"} | |
| MACHINE_NAME=myapp | |
| DENV=${DENV:-"dev"} |
| #!/bin/bash | |
| set -e | |
| set -u | |
| set -o pipefail | |
| COMMAND=${1:-"help"} | |
| MACHINE_NAME=myapp | |
| DENV=${DENV:-"dev"} |