I hereby claim:
- I am mivano on github.
- I am mivano (https://keybase.io/mivano) on keybase.
- I have a public key ASBzhbvTYkTZ0AoYCqR-99I58z-TV-MCJUJXNrUpBBmBWAo
To claim this, I am signing this object:
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Runtime.CompilerServices; | |
using Serilog; | |
using Serilog.Configuration; | |
using Serilog.Core; | |
using Serilog.Events; | |
namespace ConsoleApp24 |
(& docker images --all --quiet --filter 'dangling=true') | Foreach-Object { | |
& docker rmi $_ | out-null | |
} | |
(& docker ps --quiet --filter 'status=exited' ) | Foreach-Object { | |
& docker rm $_ | out-null | |
} |
I hereby claim:
To claim this, I am signing this object:
SELECT query_stats.query_hash AS "Query Hash", | |
SUM(query_stats.total_worker_time) / SUM(query_stats.execution_count) AS "Avg CPU Time", | |
MIN(query_stats.statement_text) AS "Statement Text" | |
FROM | |
(SELECT QS.*, | |
SUBSTRING(ST.text, (QS.statement_start_offset/2) + 1, | |
((CASE statement_end_offset | |
WHEN -1 THEN DATALENGTH(ST.text) | |
ELSE QS.statement_end_offset END | |
- QS.statement_start_offset)/2) + 1) AS statement_text |
// Application Insights Application ID and API key: | |
var appID = “YOUR APP ID”; | |
var apiKey = “YOUR API KEY”; | |
// Statuspage metric info | |
var api_key = “YOUR KEY”; | |
var page_id = “YOUR PAGE ID”; | |
var metric_id = YOUR METRIC ID | |
var api_base = “https://api.statuspage.io/v1”;; |
Setup interface eth1 and configure the DHCP/DNS server
configure
set interfaces ethernet eth1 address 192.168.2.254/24
set interfaces ethernet eth1 description "eth1 - LAN"
set interfaces ethernet eth1 duplex auto
set interfaces ethernet eth1 speed auto
FROM microsoft/dotnet:2.1-sdk AS build | |
ARG PROJECT_VERSION | |
ENV DOTNET_CLI_TELEMETRY_OPTOUT = 1 | |
WORKDIR /src | |
RUN apt-get update && apt-get install -y \ | |
openjdk-8-jre-headless | |
RUN apt-get clean | |
COPY . . |
curl --insecure -v https://webservertocheck 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }' |
{ | |
"basics": { | |
"name": "Michiel van Oudheusden", | |
"label": "Lead Consultant, Software Developer and Architect. Helping customers with cutting edge cloud technology.", | |
"image": "https://mindbyte.nl/images/profile.jpg", | |
"email": "[email protected]", | |
"phone": "", | |
"url": "https://www.mindbyte.nl", | |
"summary": "Michiel is an all-round Microsoft Azure and DevOps Consultant. He has worked at many organizations in a lead architect role but is still extremely hands-on. Michiel helps teams in their journey to the cloud and towards DevOps and assists them by showing how things should be done, work together to transfer the knowledge, and then guide the team when they are proficient in doing it themselves. Michiel has a lot of experience in the banking industry, Oil and Gas, and aerospace industry and is very familiar with building software delivery capabilities that need to comply with strong regulations. His expertise is not only in the setup of a secure and compliant Azure infrastruct |
builder.Services.PostConfigure<CosmosDBOptions>(options => | |
{ | |
if (string.IsNullOrWhiteSpace(managedIdentity)) | |
{ | |
// When local, read it from the config. Most likely from the not checked in local.settings.json file | |
options.ConnectionString = configuration.GetValue<string>(CosmosDbConfig.ConnectionStringSetting); | |
} | |
else | |
{ | |
// If we do have a managed identity, we can fetch the keys from Azure |