- node.js をインストールしておく (Windows ならここからインストーラをダウンロード)
- 作業フォルダ(プロジェクトフォルダ)に移動。
> npm initで作業場所を準備、package.jsonを生成。
| using System; | |
| using System.Configuration; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| using Microsoft.Azure.KeyVault; // Install-Package Microsoft.Azure.KeyVault | |
| using Microsoft.IdentityModel.Clients.ActiveDirectory; // Install-Package Microsoft.IdentityModel.Clients.ActiveDirectory | |
| namespace KeyVaultSample | |
| { | |
| class Program |
> npm init で作業場所を準備、package.json を生成。| """ | |
| Example of iterating Bach Chorales and getting individual voice parts | |
| In this case, want specifically 4 voice pieces only | |
| Also transpose to key of C (major or minor depending on piece) | |
| Also shows how to write out all the xml as midi | |
| """ | |
| # Author: Kyle Kastner | |
| # License: BSD 3-Clause | |
| # Based on StackOverflow answer | |
| # http://stackoverflow.com/questions/36647054/music21-getting-all-notes-with-durations |
Dockerで稼働するGUIアプリをMacOSXから利用する
| <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
| <sitecore> | |
| <contentSearch> | |
| <indexConfigurations> | |
| <!-- If no configuration is specified for an index, it uses the default configuration. The configurations are not merged if the index also has a | |
| configuration. The system uses either the default configuration or the index configuration. --> | |
| <CustomIndexBaseConfiguration type="Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider"> | |
| <!-- This flag will index all fields by default. This allows new fields in your templates to automatically be included into the index. | |
| You have two choices : |
##Date and Time
=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))
##Date
=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))
##Time
| // NOTE: This is now rolled up in a package and supports more scenarios: https://github.com/dsherret/using-statement | |
| interface IDisposable { | |
| dispose(); | |
| } | |
| function using<T extends IDisposable>(resource: T, func: (resource: T) => void) { | |
| try { | |
| func(resource); | |
| } finally { |
#NoSQLデータモデリング技法
原文:NoSQL Data Modeling Techniques « Highly Scalable Blog
I translated this article for study. contact matope[dot]ono[gmail] if any problem.
NoSQLデータベースはスケーラビリティ、パフォーマンス、一貫性といった様々な非機能要件から比較される。NoSQLのこの側面は実践と理論の両面からよく研究されている。ある種の非機能特性はNoSQLを利用する主な動機であり、NoSQLシステムによく適用されるCAP定理がそうであるように分散システムの基本的原則だからだ。一方で、NoSQLデータモデリングはあまり研究されておらず、リレーショナルデータベースに見られるようなシステマティックな理論に欠けている。本稿で、私はデータモデリングの視点からのNoSQLシステムファミリーの短い比較といくつかの共通するモデリングテクニックの要約を解説したい。
本稿をレビューして文法を清書してくれたDaniel Kirkdorfferに感謝したいと思う
| /* | |
| * Copyright (c) 2013 Calvin Rien | |
| * | |
| * Based on the JSON parser by Patrick van Bergen | |
| * http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html | |
| * | |
| * Simplified it so that it doesn't throw exceptions | |
| * and can be used in Unity iPhone with maximum code stripping. | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining |