- Microsoft Documentation
- Welcome to the commercial marketplace | Microsoft Docs
- Plan a virtual machine offer
- Create an Azure virtual machine offer on Azure Marketplace ...
- Common questions about VM
- Relevant video walkthroughs related to VM publishing
- [Using Self-Test A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget: Thoth.Json.Net, 7.1.0" | |
open Thoth.Json.Net | |
type Foo = | |
{ Name: string | |
Age: int } | |
module Encoders = | |
let fooDecoder : Decoder<Foo> = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// My solution to https://strikecommunity.azurewebsites.net/articles/8612/course-introduction-to-the-rust-programming-langua-1.html | |
use std::collections::HashMap; | |
fn main() -> Result<(), std::io::Error> { | |
let mut arguments = std::env::args().skip(1); | |
let k = arguments.next().unwrap(); | |
let v = arguments.next().unwrap(); | |
let mut db = Database::from_disk("kv.db")?; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Azure; | |
using Azure.Storage.Blobs; | |
using Azure.Storage.Blobs.Models; | |
static class Program | |
{ | |
// https://github.com/Azure/azure-sdk-for-net/issues/22022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir device server | |
cd device | |
# Create a key pair | |
openssl genrsa -out device-priv.pem 2048 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
h1 {color: blue;} | |
p {color: red;} | |
</style> | |
</head> | |
<body> | |
<h1>This is a heading</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace JoseJwtTester | |
{ | |
using System; | |
using System.Text.Json; | |
using System.Text.Json.Serialization; | |
using Jose; // <PackageReference Include="jose-jwt" Version="2.6.0" /> | |
public class ApplicationCreationRequest | |
{ | |
[JsonPropertyName("tenantId")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --proxy http://127.0.0.1:8888/ --insecure \ | |
aadTenant="chgeuerfte.onmicrosoft.com" | |
subscriptionId="724467b5-bee4-484b-bf13-d6a5505d2b51" | |
resourceGroup="longterm" | |
storageAccountName="chgeuer" | |
containerName="aadtest" | |
blobName="index.html" |
For a customer project, I needed to define an interface, and an implementation of that interface, implementing a factory. I wanted to pass in a creation lambda (from C#) to the factory, and the Create()
function under the hood should invoke the lambda.
open System