Skip to content

Instantly share code, notes, and snippets.

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@hhyyg
hhyyg / package.config
Created June 28, 2016 06:57
Azure Search API Sample
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net46" />
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net46" />
</packages>

メトリックスエクスプローラー

項目 説明 アラートルールに含められるか
Availability
Test duration

client

using System;
using Markdig;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
string input = @"
@hhyyg
hhyyg / AzureSearchHelper.cs
Created December 8, 2016 07:56
Azure Search の Blob Indexer のサンプルです
using Microsoft.Azure.Search;
using System.Configuration;
namespace Miso.AzureSearchSample.Models
{
public class AzureSearchHelper
{
public static SearchServiceClient CreateSearchServiceClient()
{
@hhyyg
hhyyg / CustomPicker.cs
Last active February 10, 2017 05:03
MyBindableCustomPicker / Xamarin.Forms
using System;
using System.Collections;
using System.Collections.Specialized;
using Xamarin.Forms;
namespace Miso.SearchForms.Controls
{
/// <summary>
/// Bindable Custom Picker
///
@hhyyg
hhyyg / RoundedBoxView.cs
Last active January 19, 2017 08:09
[AndroidHandsOn · P3PPP/NakayokunaruHandsOn Wiki](https://github.com/P3PPP/NakayokunaruHandsOn/wiki/AndroidHandsOn) こちらのハンズオン前半を、Prism で Bindable にした場合のコード。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace App.Controls
{
body {
padding-top: 50px;
padding-bottom: 223px;
background-image: url(/content/images/abc.png); background-image: url(/content/images/abc.png);
}
.div1 {
background-image: url(/content/images/abc.png);
}
#define HowToExample
using System;
using System.Configuration;
using System.Linq;
using System.Threading;
using Microsoft.Azure.Search;
using Microsoft.Azure.Search.Models;
using Microsoft.Spatial;
@hhyyg
hhyyg / Program.cs
Last active September 11, 2022 08:47
Azure Notification Hubs REST API in .NET Core [Read/Delete All Registrations of Channel]
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace MyApp
{