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 (window) { | |
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
// This code is released in the public domain. Do with it what you want, without limitations. I do not promise | |
// that it works, or that I will provide support (don't sue me). | |
// Author: rkorving@wizcorp.jp | |
var timeouts = {}; |
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
#include "UnityAppController.h" | |
/* | |
* This Plug in will set a "systemLanguage" string key in PlayerPrefs with the system language code. | |
*/ | |
@interface GetSystemLanguage : UnityAppController | |
@end | |
@implementation GetSystemLanguage |
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
var cluster = require('cluster'), | |
http = require('http'), | |
httpProxy = require('http-proxy'); | |
var httpPort = 4332; | |
var clusterSock = './cluster.sock'; | |
var httpServer = http.createServer(function (req, res) { | |
res.end('Worker! ' + process.pid); |
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 () { | |
// <minui-tabs> | |
// <minui-tabbar> | |
// <minui-tab name="tab1" active>Tab 1</minui-tab> | |
// <minui-tab name="tab2">Tab 2</minui-tab> | |
// </minui-tabbar> | |
// <minui-tabspace>Hello world</minui-tabspace> | |
// <minui-tabspace>Goodbye cruel world</minui-tabspace> | |
// </minui-tabs> |