Skip to content

Instantly share code, notes, and snippets.

Thread 1, Queue : com.apple.main-thread
#0 0x0000000100462ff0 in mailcore::IMAPFetchFoldersOperation::setDelimiterDataOnMainThread(char*) at /Users/dkb/Dev/mailcore2/src/async/imap/MCIMAPFetchFoldersOperation.cc:64
#1 0x000000010043bbda in performOnMainThread(void*) at /Users/dkb/Dev/mailcore2/src/core/basetypes/MCObject.cc:155
#2 0x000000010044492b in -[LEPPPMainThreadCaller call] at /Users/dkb/Dev/mailcore2/src/core/basetypes/MCMainThread.mm:47
#3 0x00007fff866f41d0 in __NSThreadPerformPerform ()
#4 0x00007fff8cea6701 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#5 0x00007fff8cea5fd2 in __CFRunLoopDoSources0 ()
#6 0x00007fff8cec3847 in __CFRunLoopRun ()
#7 0x00007fff8cec2fc3 in CFRunLoopRunSpecific ()
#8 0x00007fff84672b11 in RunCurrentEventLoopInMode ()
@dbainbridge
dbainbridge / gist:4423314
Created December 31, 2012 22:21
CocoaPod spec for "latest" revision of CorePlot.
Pod::Spec.new do |s|
s.name = 'CorePlot'
s.version = '1.1'
s.license = 'BSD'
s.summary = 'Cocoa plotting framework for Mac OS X and iOS.'
s.homepage = 'http://code.google.com/p/core-plot/'
s.authors = { 'Drew McCormack' => 'drewmccormack@mac.com',
'Brad Larson' => 'larson@sunsetlakesoftware.com',
'Eric Skroch' => 'eskroch@mac.com',
'Barry Wark' => 'barrywark@gmail.com' }
@dbainbridge
dbainbridge / app.js
Created April 19, 2012 20:48
How to use socket.io with Express 3
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, http = require('http');
var app = express();
var server = app.listen(3000);
@dbainbridge
dbainbridge / sessionsStringFix.js
Created April 3, 2012 00:48
node-inspector full string output fix
// Replace refToObject in node-inspector's lib/sessions.js file to get rid of the 80 character limit on strings outputted from the console or tool tip.
// The Scope Variables panel will still show maximum of 80 characters along with the "(length: x)" suffix
function refToObject(ref) {
var desc = '',
name,
kids = ref.properties ? ref.properties.length : false;
switch (ref.type) {
case 'object':
name = /#<an?\s(\w+)>/.exec(ref.text);