Skip to content

Instantly share code, notes, and snippets.

(lldb) po [NSThread callStackSymbols]
(id) $2 = 0x0f485710 <_NSCallStackArray 0xf485710>(
0 ??? 0x124fc39f 0x0 + 307217311,
1 UIKit 0x01a8ffbf -[UIViewController _setViewAppearState:isAnimating:] + 158,
2 UIKit 0x01a902d4 -[UIViewController __viewDidAppear:] + 136,
3 UIKit 0x01a9e907 -[UINavigationController viewDidAppear:] + 163,
4 UIKit 0x0ef46be5 -[UINavigationControllerAccessibility(SafeCategory) viewDidAppear:] + 57,
5 UIKit 0x01a8ffbf -[UIViewController _setViewAppearState:isAnimating:] + 158,
6 UIKit 0x01a902d4 -[UIViewController __viewDidAppear:] + 136,
7 UIKit 0x01a905d7 -[UIViewController _endAppearanceTransition:] + 263,
#!/bin/sh
# This has to be run from master
git checkout master
# Update our list of remotes
git fetch
git remote prune origin
# Remove local fully merged branches
GET /api/v1/settings?lat=37.6134&lng=-122.395&auth_token=Y7M8UQD3hLVdTsIDDIYW HTTP/1.1
Host: staging.hoteltonight.com
Accept-Language: en, fr, de, ja, nl, it, es, pt, pt-PT, da, fi, nb, sv, ko, zh-Hans, zh-Hant, ru, pl, tr, uk, ar, hr, cs, el, he, ro, sk, th, id, ms, en-GB, ca, hu, vi, en-us;q=0.8
User-Agent: HT Test/4.2.2 (iPhone Simulator; iOS 6.0; Scale/2.00)
Accept: application/json
X-App-Country: GB
Content-Type: application/json
X-App-Platform: iOS;iPhone Simulator;6.0;640x1136
Connection: keep-alive
X-App-Device: 62b68279b6505739b82d28c16bc5334100000000
POST /api/v1/analytics_events HTTP/1.1
Host: staging.hoteltonight.com
Accept-Language: en, fr, de, ja, nl, it, es, pt, pt-PT, da, fi, nb, sv, ko, zh-Hans, zh-Hant, ru, pl, tr, uk, ar, hr, cs, el, he, ro, sk, th, id, ms, en-GB, ca, hu, vi, en-us;q=0.8
User-Agent: HT Test/4.2.3 (iPhone Simulator; iOS 6.0; Scale/2.00)
Accept: application/json
X-App-Country: US
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-App-Platform: iOS;iPhone Simulator;6.0;640x1136
Connection: keep-alive
X-App-Device: 62b68279b6505739b82d28c16bc5334100000000
switch (self.code)
{
case HTConnectionErrorUnexpectedContentType:
case HTConnectionErrorBadServerResponse:
case HTConnectionErrorConnectionLost:
case HTConnectionErrorCantReachHost:
case HTConnectionErrorNoHostFound:
case HTConnectionErrorTimeout:
[errorTextDictionary setValue:HTStr(@"S_HTConnectionErrorViewController_CantConnect_Header", @"Oh no", @"Error title - Connection error view")
forKey:kErrorTitleKey];
{
"lookio_customer_support":true,
"lookio_order_summary":true,
"default_credit_amount":25,
"currency":{
"iso_code":"USD",
"description":"US Dollars"
},
"customer_support_numbers":[
{
@raylillywhite
raylillywhite / gist:3935785
Created October 23, 2012 00:18
Branch cleanup
# This has to be run from master
git checkout master
# Update our list of remotes
git fetch
git remote prune origin
# Remove local fully merged branches
git branch --merged master | grep -v 'master$' | xargs git branch -d
this.url = String.format(TEMP_URL, hotel.getLatitude(), hotel.getLongitude(), ((int) ImageUtils.convertDpToPixel(displayMetrics.widthPixels, getActivity())), ((int) ImageUtils.convertDpToPixel(180, getActivity())));
Pod::Spec.new do |s|
s.name = 'NSAttributedString-Additions-for-HTML-ht'
s.version = '0.0.1.ht1'
s.source = { :git => 'https://github.com/hoteltonight/NSAttributedString-Additions-for-HTML.git', :ref => 'master' }
s.source_files = FileList['Classes/*.{h,m}'].exclude(/Demo|DTWeb|Test/)
s.prefix_header_file = 'Other Sources/CoreTextExtensions_Prefix.pch'
s.frameworks = 'SenTestingKit'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
end
Pod::Spec.new do |s|
s.name = 'LookIO'
s.version = '0.0.1.ht1'
s.source = { :git => 'git://github.com/lookio/LookIO-Libraries.git', :commit => '2d7ecf19b1159692a17d4c9571760b78a59a3925' }
s.source_files = 'iOS/release/*.h'
s.resources = 'iOS/release/*.bundle'
s.preserve_paths = 'iOS/release/libLookIO.a'
s.library = 'LookIO', 'z'
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/LookIO/**"' }
end