This file contains hidden or 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
+ (void)load | |
{ | |
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; | |
// this one contains userInfo about our notification | |
//[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(FoxCubIosOnLoad:) name:UIApplicationDidFinishLaunchingNotification object:nil]; | |
// these two do not contain any useful userInfo about notifications | |
//[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(FoxCubIosOnLoad:) name:UIApplicationDidBecomeActiveNotification object:nil]; | |
//[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(FoxCubIosOnLoad:) name:UIApplicationWillEnterForegroundNotification object:nil]; |
This file contains hidden or 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 !UNITY_EDITOR || FCLOG | |
using Debug = FC.Debug; | |
#else | |
using Debug = UnityEngine.Debug; | |
#endif | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; |
This file contains hidden or 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
case 'u': | |
{ | |
// Unicode escape sequence | |
// e.g. Copyright: "\u00A9" | |
// unicode ordinal | |
int utf16; | |
if (this.index+4 < this.SourceLength && | |
Int32.TryParse( | |
this.Source.Substring(this.index+1, 4), |
This file contains hidden or 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
case 'u': | |
{ | |
// Unicode escape sequence | |
// e.g. Copyright: "\u00A9" | |
// unicode ordinal | |
int utf16; | |
if (this.index+4 < this.SourceLength && | |
Int32.TryParse( | |
this.Source.Substring(this.index+1, 4), |
This file contains hidden or 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
perl startUnity.pl |
This file contains hidden or 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 UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
// for some reason its not letting me change the language to c# =( | |
// report is a HashTable with lots of bugsense data in it, including the breadcrumbs | |
string jsonReport = string.Format("data={0}", JsonFx.Json.JsonWriter.Serialize(report)); |
This file contains hidden or 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
10 second query: | |
XN Merge (cost=1000000000000.07..1000000000000.07 rows=1 width=76) | |
-> XN Network (cost=1000000000000.07..1000000000000.07 rows=1 width=76) | |
-> XN Sort (cost=1000000000000.07..1000000000000.07 rows=1 width=76) | |
-> XN HashAggregate (cost=0.05..0.06 rows=1 width=76) | |
-> XN Subquery Scan volt_dt_0 (cost=0.04..0.05 rows=1 width=76) | |
-> XN HashAggregate (cost=0.04..0.04 rows=1 width=76) | |
-> XN Subquery Scan derived_table1 (cost=0.02..0.03 rows=1 width=76) | |
-> XN HashAggregate (cost=0.02..0.02 rows=1 width=44) |
This file contains hidden or 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
==> /Applications/TeamCity/buildAgent/logs/output.log <== | |
Starting TeamCity Build Agent Launcher... | |
Agent home directory is /Applications/TeamCity/buildAgent | |
Lock file: /Applications/TeamCity/buildAgent/logs/buildAgent.properties.lock | |
==> /Applications/TeamCity/buildAgent/logs/launcher.log <== | |
[2014-04-29 13:51:24,003] DEBUG - dServer.agent.lock.LockManager - Lock file: /Applications/TeamCity/buildAgent/logs/buildAgent.properties.lock | |
==> /Applications/TeamCity/buildAgent/logs/output.log <== | |
Using no lock |
This file contains hidden or 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
#!/usr/bin/perl | |
# Searches for other PostprocessBuildPlayer scripts and executes them. Make sure the other script | |
# have a name suffix with an underscore "_" like "PostprocessBuildPlayer_AnotherBuild" or whatever. | |
# | |
# Based on script by Rob Terrell, [email protected] | |
# | |
use File::Glob ':glob'; |
This file contains hidden or 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
static void Main(string[] args) { | |
// this news a new instance of TournamentService/BaseService, | |
// which runs StartTickLoop, which creates the new threads | |
BaseService.OnStart(true); | |
Console.CancelKeyPress += delegate(object sender, ConsoleCancelEventArgs e) { | |
Console.WriteLine("captured ctrl-c, setting close flag"); | |
e.Cancel = true; | |
CommandLineApp.close = true; | |
}; |