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
;;; -*- mode:lisp; package: gist -*- | |
;; gist.l - xyzzyでGistの閲覧, ポスト | |
;; | |
;; Copyright (c) 2011-2012 Yousuke Ushiki | |
;; | |
;; Permission is hereby granted, free of charge, to any person obtaining a copy | |
;; of this software and associated documentation files (the "Software"), to deal | |
;; in the Software without restriction, including without limitation the rights | |
;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Table; |
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
private Dictionary<ulong, FaceFrameSource> _faceSources = new Dictionary<ulong, FaceFrameSource>(); | |
private Dictionary<ulong, FaceFrameReader> _faceReaders = new Dictionary<ulong, FaceFrameReader>(); | |
/// <summary> | |
/// Process body frames | |
/// </summary> | |
private void OnBodyFrameReceived(object sender, BodyFrameArrivedEventArgs e) | |
{ | |
// Get Frame ref | |
BodyFrameReference bodyRef = e.FrameReference; |
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
# | |
# Windows Server 2016 TPにGUI Shellをインストールするやーつ | |
# ※ソースドライブは最初に見つかったドライブ決め打ちで | |
# | |
PowerShell "&{ Add-WindowsFeature Server-GUI-Mgmt-Infra,Server-GUI-Shell -Source (\"WIM:{0}\sources\install.wim:4\" -F (Get-CimInstance Win32_CDROMDrive | Sort-Object Drive)[0].Drive) -Restart }" |
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
@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off | |
:: ---------------------- | |
:: KUDU Deployment Script | |
:: Version: 0.1.13 | |
:: ---------------------- | |
:: Prerequisites | |
:: ------------- |
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.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
// Extremely fast micro serice locator. | |
namespace MicroResolver |
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 BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
/// <summary> | |
/// こんなの、常に Ordinal 付けるしかないじゃない… | |
/// (デフォルト動作が CurrentCulture なのつらい。) | |
/// |
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.IdentityModel.Tokens.Jwt; | |
using System.Security.Claims; | |
using System.Security.Cryptography; | |
using Microsoft.IdentityModel.Tokens; | |
namespace ConsoleApp | |
{ | |
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
#!C:/Python27/python.exe | |
# | |
# Convert PDF files to Microsoft Office Word compatible doc/docx files, | |
# using LibreOffice's command line interface. | |
# | |
# http://stackoverflow.com/questions/26358281/convert-pdf-to-doc-python-bash | |
# http://ask.libreoffice.org/en/question/20111/converting-files-using-soffice-convert-to-with-embedded-images-html-to-doc/ | |
# http://cgit.freedesktop.org/libreoffice/core/tree/filter/source/config/fragments/filters | |
# |
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.IO; | |
using System.IO.Pipes; | |
using System.Reactive.Concurrency; | |
using System.Reactive.Disposables; | |
using System.Reactive.Linq; | |
using System.Runtime.Serialization; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Security.AccessControl; | |
using System.Security.Principal; |
OlderNewer