This file contains 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.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
internal class Program | |
{ |
This file contains 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
// Consumer3.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 | |
// | |
#include "stdafx.h" | |
#include "../Provider3/ProviderManifest3.h" | |
VOID WINAPI EventRecordCallback(_In_ PEVENT_RECORD eventRecord); | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ |
This file contains 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 CodeEmbed.Sample | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Hello, World."); | |
} | |
} | |
} |
This file contains 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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
<!DOCTYPE html> | |
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Microsoft Public License (MS-PL)</title> | |
<style type="text/css"> | |
body { |
This file contains 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
<script type="text/javascript"> | |
alert("Hoge"); | |
</script> |
This file contains 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.Linq.Expressions; | |
using System.Management.Automation; | |
internal static class PSCmdletExtensions | |
{ | |
public static string GetMemberName<TType, TProperty>( | |
this TType obj, | |
Expression<Func<TType, TProperty>> expression) | |
{ |
This file contains 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
public static class ExpressionCombiner | |
{ | |
public static Expression<Func<T, bool>> OrElse<T>( | |
params Expression<Func<T, bool>>[] expressions) | |
{ | |
return OrElse(expressions.AsEnumerable()); | |
} | |
public static Expression<Func<T, bool>> OrElse<T>( | |
this IEnumerable<Expression<Func<T, bool>>> expressions) |
This file contains 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
function ConvertTo-Dictionary { | |
param( | |
[Parameter(Mandatory, Position = 0, ValueFromPipeline)] | |
[PSObject[]] $InputObject = @()) | |
@($InputObject) | % { | |
$result = @{} | |
$obj = $_ |
This file contains 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
{ | |
"webroot": "wwwroot", | |
"version": "1.0.0-*", | |
"dependencies": { | |
"Microsoft.AspNet.Mvc": "6.0.0-beta7", | |
"Microsoft.AspNet.Server.IIS": "1.0.0-beta7", | |
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta7", | |
"Microsoft.AspNet.StaticFiles": "1.0.0-beta7", | |
"Swashbuckle": "6.0.0-beta6", |