Skip to content

Instantly share code, notes, and snippets.

View coofdy's full-sized avatar

Martin Kenny coofdy

  • Coofdy Labs
  • Australia
View GitHub Profile
@jeremyjbowers
jeremyjbowers / varnish-simple.vcl
Created December 31, 2011 04:59
A simple Varnish configuration file.
/*
*
* First, set up a backend to answer the request if there's not a cache hit.
*
*/
backend default {
# Set a host.
.host = "192.168.1.100";
@raven
raven / Breakpoints_v2.xcbkptlist
Last active August 30, 2019 00:53
Symbolic breakpoint for dynamically linking libReveal against UIApplicationMain
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "2"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.SymbolicBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
@andymatuschak
andymatuschak / MultiDirectionAdjudicatingScrollView.swift
Created January 26, 2015 19:31
Source for the Khan Academy app's unusual scrolling interactions
//
// MultiDirectionAdjudicatingScrollView.swift
// Khan Academy
//
// Created by Andy Matuschak on 12/16/14.
// Copyright (c) 2014 Khan Academy. All rights reserved.
//
import UIKit
import UIKit.UIGestureRecognizerSubclass
@teancom
teancom / gist:0d80c417b49cdc926a1c381b195fa522
Created October 18, 2017 20:32
console.app output every time the screen pauses
fault 14:30:05.230227 -0600 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 8060894 (gpu_stamp=8060893)
fault 14:30:09.230120 -0600 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 8060894 (gpu_stamp=8060893)
fault 14:30:09.230137 -0600 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault 14:30:09.230141 -0600 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault 14:30:09.230190 -0600 kernel void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault 14:30:09.230194 -0600 kernel void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)