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.Collections.Generic; | |
using System.Text.RegularExpressions; | |
public static class StringFormatter { | |
/// <summary> | |
/// How to use: | |
/// <code> | |
/// var args = new Dictionary<string, string> { | |
/// { "test", "def" } | |
/// }; |
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.Runtime.Serialization; | |
using System.Runtime.Serialization.Json; | |
using System.Text; | |
public class ToJsonSample { | |
public string ToJson(Type type, object value) { | |
if (value == null) { | |
return null; |
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
{ | |
"name": "WebGL Constants", | |
"url": "https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants", | |
"1": [ | |
{ | |
"functions": [ | |
"WebGLRenderingContext.clear()" | |
], | |
"constants": { |
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
// http://qiita.com/sushichop/items/ac4ae99b905ce523c2fe | |
// https ではなく、 http でアクセスする場合は | |
// info.plist で設定が必要 | |
// http://qiita.com/peromasamune/items/f5b72c4dbd33b5019611 | |
// http://qiita.com/BurialMound/items/87b8c33e2c7ad767c9dc | |
// [http自体を許可する手順] | |
// 1. NSAppTransportSecurity を追加 | |
// 2. その下に NSAllowsArbitraryLoads を追加 |