Skip to content

Instantly share code, notes, and snippets.

View cojo's full-sized avatar

Cory Johnson cojo

View GitHub Profile
@cojo
cojo / react-native-timers.patch
Created December 11, 2018 22:10
React Native Background Timers w/ synchronization fixes
From be12c321f40f58782f103a526937df3f06e773af Mon Sep 17 00:00:00 2001
From: James Reggio <james.reggio@gmail.com>
Date: Tue, 2 Jan 2018 12:49:05 -0500
Subject: [PATCH] Fire timers in the background exclusively via NSTimer
---
React/Modules/RCTTiming.m | 40 ++++++++++++++++++++++++++++++++++-----
1 file changed, 35 insertions(+), 5 deletions(-)
diff --git a/React/Modules/RCTTiming.m b/React/Modules/RCTTiming.m
@cojo
cojo / ReplacementBuildPostprocessor.cs
Created January 15, 2016 00:20
Unity 5.3 PostprocessBuildPlayer Trigger Replacement
using System;
using System.IO;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;