Skip to content

Instantly share code, notes, and snippets.

View chrisyoung's full-sized avatar

Chris Young chrisyoung

View GitHub Profile
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x0000000194527bd0 objc_msgSend + 16
1 UIKit 0x0000000187dd59ac +[UIViewAnimationState popAnimationState] + 64
2 MediaPlayer 0x00000001857ad708 -[MPVolumeSlider _layoutForAvailableRoutes]
3 MediaPlayer 0x00000001857b7a78 __59-[MPAVRoutingController _scheduleSendDelegateRoutesChanged]_block_invoke
4 libdispatch.dylib 0x0000000194b65994 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x0000000194b65954 _dispatch_client_callout + 16
6 libdispatch.dylib 0x0000000194b6a20c _dispatch_main_queue_callback_4CF + 1608
7 CoreFoundation 0x000000018354a2ec __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
8 CoreFoundation 0x0000000183548394 __CFRunLoopRun + 1492
@chrisyoung
chrisyoung / gist:853968
Created March 4, 2011 01:14
Cucumber Environment
# RVM: ruby-1.8.7-p330
# Culerity runs JRuby V1.5.6
# Everything is 64 bit on OSX
###### custom_env.rb
require File.expand_path(File.dirname(__FILE__) + '/../../config/factories')
require 'delorean'
ActiveRecord::TestCase.use_concurrent_connections
@chrisyoung
chrisyoung / slow cucumber test fix
Created March 4, 2011 00:57
Increase the java heap size to speed up your culerity/cucumber tests
My culerity/cucumber tests were running at 30 minutes, now just six. JRuby was limiting the allocated memory to 512mb (or something). I increased this to a gigabyte and now everything flies:
>> JRUBY_INVOCATION="jruby -J-Xmx1024m" cucumber
More Info:
http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html
@chrisyoung
chrisyoung / gist:757518
Created December 28, 2010 18:35
StrikeIron Soap
<!-- INPUT -->
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:wsdl="http://www.strikeiron.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<LicenseInfo>
<RegisteredUser>