Skip to content

Instantly share code, notes, and snippets.

View agos's full-sized avatar

Agostino Carandente agos

View GitHub Profile
@agos
agos / Backtrace
Created January 11, 2011 01:08
Crash report
#0 0x00007fff8011b11c in objc_msgSend ()
#1 0x000000010001ddf0 in -[KBrowserWindowController updateToolbarWithContents:shouldRestoreState:] (self=0x102e481b0, _cmd=0x1003b38c0, contents=0x0, shouldRestore=0 '\0') at KBrowserWindowController.mm:346
#2 0x000000010076c00b in -[CTBrowserWindowController tabClosingWithContents:atIndex:] (self=0x102e481b0, _cmd=0x10078a988, contents=0x143df7280, index=44) at CTBrowserWindowController.mm:983
#3 0x000000010076b066 in CTTabStripModelObserverBridge::TabClosingAt (this=0x102e42fc0, contents=0x143df7280, index=44) at CTTabStripModelObserverBridge.mm:49
#4 0x0000000100752ef3 in CTTabStripModel::InternalCloseTab (this=0x141468ab0, contents=0x143df7280, index=44, create_historical_tabs=true) at CTTabStripModel.mm:984
#5 0x00000001007544c4 in CTTabStripModel::InternalCloseTabs (this=0x141468ab0, indices=@0x7fff5fbfeb18, close_types=2) at CTTabStripModel.mm:975
#6 0x0000000100755b98 in CTTabStripModel::CloseAllTabs (this=0x141468ab0) at CTTabStripModel.mm:372
#7 0x000
@agos
agos / Kod Sample
Created January 4, 2011 00:36
Kod is using 80% CPU. It sampled itself o.O
Sampling process 77279 for 1 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Kod (pid 77279) every 1 millisecond
Call graph:
834 Thread_1465135 DispatchQueue_1: com.apple.main-thread (serial)
834 start
834 main
834 NSApplicationMain
834 -[NSApplication run]
834 -[NSApplication sendEvent:]
# @title Diff
# @matchuti public.diff-text
# @matchext diff, patch
# @matchfirstline (?x)^(=== modified file|====\s*//.+\s-\s.+\s+ ====|Index: |--- [^%]|\*\*\*.*\d{4}\s*$|\d+(,\d+)*(a|d|c)\d+(,\d+)*$|diff --git )
# language definition for files created with 'diff'
# diff created with -u option
state oldfile = '(?=^[-]{3})' begin
oldfile start '^[-]{3}'