Skip to content

Instantly share code, notes, and snippets.

View tayl0r's full-sized avatar

Taylor Steil tayl0r

View GitHub Profile
@tayl0r
tayl0r / startUnity.bat
Created July 31, 2014 15:32
command line Unity startup of specific project
perl startUnity.pl
@tayl0r
tayl0r / gist:48d3ed2f916a91d1cc2c
Created September 11, 2014 22:02
jsonfx reader for emoji
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),
@tayl0r
tayl0r / gist:6e92540e6f28655ac639
Last active August 29, 2015 14:06
jsonfx reader for emoji
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),
@tayl0r
tayl0r / gist:959b1aebb871080fa6ae
Created December 8, 2014 15:02
FCSponsorPay.cs
#if !UNITY_EDITOR || FCLOG
using Debug = FC.Debug;
#else
using Debug = UnityEngine.Debug;
#endif
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
@tayl0r
tayl0r / gist:aef79937a11e10bf663e
Created December 11, 2014 19:09
get launch options
+ (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];
@tayl0r
tayl0r / gist:64d63e90b758036f9771
Last active August 29, 2015 14:11
notif tracking
#include "PluginBase/AppDelegateListener.h"
+ (void)load
{
// startup notification (local and remote)
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(FoxCubIosOnLoad:) name:UIApplicationDidFinishLaunchingNotification object:nil];
// resume notification (local)
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(FoxCubIosOnLocalNotif:) name:kUnityDidReceiveLocalNotification object:nil];
@tayl0r
tayl0r / gist:bd943708358abf64732f
Created December 31, 2014 14:46
Java 2048m Command Line Interceptor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
namespace CommandlineInterceptor {
@tayl0r
tayl0r / Wmi Check
Last active April 22, 2019 02:38
datadog wmi check config for IIS request queue
- class: Win32_PerfFormattedData_ASPNET_ASPNET
metrics:
- [RequestsCurrent, iis.asp.RequestsCurrent, gauge]
- [RequestsInNativeQueue, iis.asp.RequestsInNativeQueue, gauge]
- [RequestsQueued, iis.asp.RequestsQueued, gauge]
- [RequestsRejected, iis.asp.RequestsRejected, gauge]
- [RequestWaitTime, iis.asp.RequestWaitTime, gauge]
tag_by: Name
# i have a mixed web-api (90%) and MVC (10%) app running on Windows Server 2012 / IIS 8 on .NET 4.5.2
https://www.destatis.de/EN/FactsFigures/NationalEconomyEnvironment/EarningsLabourCosts/EarningsEarningsDifferences/Tables/LongTimeSeriesD.html
Average gross monthly earnings1 - Germany
2015 3,612 monthly = 43,344 yearly
Accomodation and food service activities 27,386 = 2282 monthly = $31,088
https://www.destatis.de/EN/FactsFigures/NationalEconomyEnvironment/EarningsLabourCosts/EarningsEarningsDifferences/Tables/YearlyGrossEarnings.html#Link to table Average gross annual earnings in 2015
http://www.mybudget360.com/how-much-do-americans-earn-in-2015-household-income-wages-real-income-gdp/