Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Yoo justinyoo

View GitHub Profile
@justinyoo
justinyoo / 01-kv-reference-1.txt
Created Apr 30, 2020
3 Ways Referencing Azure Key Vault from Azure Functions
View 01-kv-reference-1.txt
@Microsoft.KeyVault(SecretUri=https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>)
@justinyoo
justinyoo / 01-create-bin.cs
Created Apr 22, 2020
Building RequestBin with Durable Functions
View 01-create-bin.cs
[FunctionName(nameof(CreateBin))]
public async Task<IActionResult> CreateBin(
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route="bins")] HttpRequest req,
[DurableClient] IDurableClient client)
{
...
}
@justinyoo
justinyoo / 01-embedded-request.cs
Created Apr 14, 2020
Building Online Check-in App with Power Apps
View 01-embedded-request.cs
public class EmbeddedRequest
{
public virtual string PersonGroup { get; set; }
public virtual string Image { get; set; }
}
@justinyoo
justinyoo / 00-environment-variables.cs
Last active Apr 8, 2020
Identifying Faces through Azure Functions Using Face API
View 00-environment-variables.cs
var sasToken = Environment.GetEnvironmentVariable("Blob__SasToken");
var containerName = Environment.GetEnvironmentVariable("Blob__Container");
var personGroup = Environment.GetEnvironmentVariable("Blob__PersonGroup");
var numberOfPhotos = Convert.ToInt32(Environment.GetEnvironmentVariable("Blob__NumberOfPhotos"));
var tableName = Environment.GetEnvironmentVariable("Table__Name");
var authKey = Environment.GetEnvironmentVariable("Face__AuthKey");
var endpoint = Environment.GetEnvironmentVariable("Face__Endpoint");
var confidence = Convert.ToDouble(Environment.GetEnvironmentVariable("Face__Confidence"));
@justinyoo
justinyoo / 01-photo-capture-1.html
Created Mar 31, 2020
Capturing Images from Browser to Azure Blob Storage via Azure Functions
View 01-photo-capture-1.html
<div id="screenshot">
<video autoplay></video>
<img src="">
<canvas style="display:none;"></canvas>
<div>
<button class="capture-button">Capture video</button>
<button id="screenshot-button">Take screenshot</button>
</div>
</div>
@justinyoo
justinyoo / 01-payload-ac.json
Last active Mar 25, 2020
Scheduling Posts with GitOps, Durable Functions and GitHub Actions
View 01-payload-ac.json
{
"owner": "aliencube",
"repository": "blog",
"issueId": 3,
"schedule": "2020-03-25T07:00:00+09:00"
}
@justinyoo
justinyoo / naver-map-api-facade.cs
Created Mar 12, 2020
Building PowerApps with Naver Map API
View naver-map-api-facade.cs
public static class StaticMapHttpTrigger
{
[FunctionName("StaticMapHttpTrigger")]
public static async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get", Route = "staticmap")] HttpRequest req,
ILogger log)
{
log.LogInformation("C# HTTP trigger function processed a request.");
var qs = req.QueryString.ToString();
@justinyoo
justinyoo / actionable-message-card.json
Created Mar 5, 2020
Implementing ChatOps on GitHub Actions
View actionable-message-card.json
[
{
"@type":"HttpPOST",
"name":"Distribute to App Center",
"target":"${{ steps.kvsecrets.outputs.ApprovalTargetUri }}",
"headers":[
{
"name":"x-functions-key",
"value":"${{ steps.kvsecrets.outputs.ApprovalTargetAuthKey }}"
}
@justinyoo
justinyoo / action.yml
Created Feb 19, 2020
Building Custom GitHub Action with .NET Core
View action.yml
name: <Name of Custom GitHub Action>
description: <Short description of Action>
inputs:
input_parameter:
description: <Short description of input parameter>
required: <true|false>
default: <default value>
runs:
using: docker
image: Dockerfile
View Ignite the Tour Seoul materials.md

Ignite the Tour - Seoul: 자료 모음

공유된 커뮤니티 발표 자료 (한글)

You can’t perform that action at this time.