Skip to content

Instantly share code, notes, and snippets.

View buchizo's full-sized avatar
🍤
( ´・ω・)つΣ;:',;',',:'',:',;',',)

kosmos.ebi buchizo

🍤
( ´・ω・)つΣ;:',;',',:'',:',;',',)
View GitHub Profile
@buchizo
buchizo / sample.json
Created May 7, 2023 08:44
ClaudiaIDE sample webapi json
{
"backgroundImageUrl": "https://raw.githubusercontent.com/buchizo/ClaudiaIDE/b3c31993d2fba2708287eed1b44b73b0bc4e49c2/Shared/Images/background.png"
}
@buchizo
buchizo / Diagnostics3.json
Created June 1, 2021 21:00
ゲートウェイ接続・専用ゲートウェイ、整合性をEventualなクライアント診断ログ
{
"name": "ReadItemAsync",
"id": "24d83013-822e-43fa-b713-bf4f06e95694",
"caller info": {
"member": "OperationHelperWithRootTraceAsync",
"file": "ClientContextCore.cs",
"line": 219
},
"start time": "08:07:23:084",
"duration in milliseconds": 1554.2853,
@buchizo
buchizo / Diagnostics2.json
Created June 1, 2021 20:59
ゲートウェイ接続モード・専用ゲートウェイ+整合性がSessionなクライアントクエリの診断ログ
{
"name": "ReadItemAsync",
"id": "fc44e655-d934-46d3-9df4-365cca2262b2",
"caller info": {
"member": "OperationHelperWithRootTraceAsync",
"file": "ClientContextCore.cs",
"line": 219
},
"start time": "08:09:56:783",
"duration in milliseconds": 283.5465,
@buchizo
buchizo / diagnostics.json
Created June 1, 2021 20:57
直接接続モードのクライアントクエリの診断ログ
{
"name": "ReadItemAsync",
"id": "dc751f42-3903-4876-a4b8-d343bdbc5d5b",
"caller info": {
"member": "OperationHelperWithRootTraceAsync",
"file": "ClientContextCore.cs",
"line": 219
},
"start time": "08:07:18:807",
"duration in milliseconds": 4259.9249,
@buchizo
buchizo / Program.cs
Created December 14, 2020 19:12
Azure Storage SDK for .NET v12 stream / sas / zip sample
using Azure.Storage;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using Azure.Storage.Sas;
using Cocona;
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
@buchizo
buchizo / program.cs
Created May 24, 2020 07:51
neural TTS
using Microsoft.CognitiveServices.Speech;
using System;
using System.Threading.Tasks;
namespace ConsoleApp15
{
class Program
{
private static readonly string ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxx";
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Azure.Storage.Blobs;
@buchizo
buchizo / program.cs
Created April 29, 2019 19:10
call Azure ARM REST API with FileCache
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography; //add System.Security.Cryptography.ProtectedData nuget package
using System.Threading.Tasks;
using System.Net.Http;
namespace ConsoleApp11
{
@buchizo
buchizo / program.cs
Last active April 29, 2019 19:21
call Azure ARM REST API sample (for .NET Framework)
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.IO;
using System.Net.Http;
using System.Security.Cryptography; //add System.Security.Cryptography.ProtectedData nuget package
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
@buchizo
buchizo / program.cs
Last active April 27, 2019 07:40
call Azure ARM REST API using user token via devicelogin
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace ConsoleApp11
{
class Program
{
static void Main(string[] args)