create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# https://github.com/microsoft/azure-container-apps/issues/307#issuecomment-1180884150 | |
openssl pkcs12 -inkey cert.key -in cert.pem -export -out output.pem |
######################################################################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'); | |
} | |
}) |
// GPS | |
// TX - Pin 8 - green | |
// RX - Pin 9 - yellow | |
// | |
// SD card attached to SPI bus as follows: | |
// MOSI - Pin 11 | |
// MISO - Pin 12 | |
// CLK - Pin 13 | |
// CS - Pin 10 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
version: '3'
services:
fpm:
image: php:7.2-fpm
// 🔥 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 | |
}); | |
} |