Skip to content

Instantly share code, notes, and snippets.

View stefanstranger's full-sized avatar
💭
Developing code for our customers and just for fun!

Stefan Stranger stefanstranger

💭
Developing code for our customers and just for fun!
View GitHub Profile

Azure Logic App Documentation - Issue26-2

Introduction

This document describes the Azure Logic App Workflow Issue26-2 in the demo-rg resource group in the Visual Studio Enterprise subscription.

This document is programmatically generated using a PowerShell script.

Date: 2024-04-01 15:13:08

@stefanstranger
stefanstranger / issue26.md
Created March 30, 2024 14:15
Issue 26 result

Azure Logic App Documentation - Issue26

Introduction

This document describes the Azure Logic App Workflow Issue26 in the demo-rg resource group in the Visual Studio Enterprise subscription.

This document is programmatically generated using a PowerShell script.

Date: 2024-03-30 15:09:52

@stefanstranger
stefanstranger / top2000song.yaml
Created December 26, 2023 14:42
Toon huidige top 2000 number op Ulanzi Pixel clock
# Create a new sensor met de volgende inhoud.
# Top 2000 huidige song
- platform: rest
scan_interval: 60
name: Top 2000 huidige song
method: GET
headers:
User-Agent: Home Assistant
Content-Type: application/json
resource: https://www.nporadio2.nl/api/miniplayer/info?channel=npo-radio-2
@stefanstranger
stefanstranger / test.mmd
Created November 23, 2023 15:30
Mermaid code
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stefanstranger
stefanstranger / mitmproxycertinstall.md
Last active September 26, 2023 10:15
# How to install mitmproxy certificate as root CA steps:

How to install mitmproxy certificate as root CA steps:

  1. Create a Android Virtual Device (AVD) using a non Google image to enable root access

  2. Start mitmproxy

  3. Install DuckDuckGo browser via downloaded apk on AVD

    Download via: https://apkcombo.com/duckduckgo/com.duckduckgo.mobile.android/

  4. Start ADV emulator with mitmproxy configured:

@stefanstranger
stefanstranger / battery-report.html
Created September 13, 2023 08:16
Laptop Battery Report
<!DOCTYPE html>
<!-- saved from url=(0016)http://localhost -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:bat="http://schemas.microsoft.com/battery/2012" xmlns:js="http://microsoft.com/kernel"><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="ReportUtcOffset" content="+2:00"/><title>Battery report</title><style type="text/css">
body {
font-family: Segoe UI Light;
letter-spacing: 0.02em;
@stefanstranger
stefanstranger / Azure-LogicApp-Documentation.md
Created July 9, 2023 14:01
Example Logic App Markdown document

Azure Logic App Documentation - logic-jiraintegration-demo

Introduction

This document describes the Azure Logic App Workflow logic-jiraintegration-demo in the jiraintegration-demo-rg resource group in the Internal Subscription subscription.

This document is programmatically generated using a PowerShell script.

Date: 2023-07-09 15:53:39

@stefanstranger
stefanstranger / logic-jiraintegration-demo.json
Created December 22, 2022 15:15
Logic App Workflow - JIRA Integration
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"For Each - SHA": {
"actions": {
"Condition_-_Status": {
"actions": {
"Compose - Current Item": {
"inputs": "@items('For Each - SHA')",
@stefanstranger
stefanstranger / decompile-bicep-to-psarm.ps1
Last active April 21, 2021 14:34
Decompiling Bicep file to PSArm object
<#
Decompiling a bicep file to PSArm
Inspired on issue posted on PSArm Github repo.
https://github.com/PowerShell/PSArm/issues/154
#>
# Decompile ARM template to Bicep file
bicep decompile C:\Users\stefstr\Documents\Github\PSArm\examples\simple-test\template.json
@stefanstranger
stefanstranger / parallel-pester-tests.ps1
Last active May 16, 2021 19:58
Run Pester Tests parallel
# Example code of running multiple Pester test in parallel and merging the result into one NUnitReport Test Report file
#region Run Pester Test scripts in parallel
$job = Get-ChildItem -Path "./tests" -Filter "Demo*"
| ForEach-Object -Parallel {
Invoke-Pester -Path $_ -PassThru
} -ThrottleLimit 10 -AsJob
$Results = ($job | Wait-Job | Receive-Job -Keep)
#endregion