Skip to content

Instantly share code, notes, and snippets.

View lacyrhoades's full-sized avatar
💭
Typing frantically!

Lacy lacyrhoades

💭
Typing frantically!
View GitHub Profile
diff --git a/sellonetsy/Code/ViewControllers/SOEActivityCollectionViewController.m b/sellonetsy/Code/ViewControllers/SOEActivityCollectionViewController.m
index d7b4a37..e726c89 100644
--- a/sellonetsy/Code/ViewControllers/SOEActivityCollectionViewController.m
+++ b/sellonetsy/Code/ViewControllers/SOEActivityCollectionViewController.m
@@ -163,8 +163,8 @@ typedef enum {
else if (item.type == EtsyChannelItemTypeShop) {
controller = [[SOEActivityDetailViewController alloc] initWithShopId:item.Shop.shop_id];
}
- else if (item.type == EtsyChannelItemTypeReceipt) {
- controller = [[SOEActivityDetailViewController alloc] initWithTransactionId:item.Receipt.receipt_id];
//
// EtsyStarsView.m
// Etsy
//
// Created by Lacy Rhoades on 1/30/14.
// Copyright (c) 2014 Etsy. All rights reserved.
//
#import "EtsyStarsView.h"
diff --git a/Code/ViewControllers/EtsyProductGridViewController.m b/Code/ViewControllers/EtsyProductGridViewController.m
index 6bc97d9..e207d45 100644
--- a/Code/ViewControllers/EtsyProductGridViewController.m
+++ b/Code/ViewControllers/EtsyProductGridViewController.m
@@ -738,15 +739,13 @@ EtsyCreateItemControllerDelegate, EtsyCreateShippingControllerDelegate
[self.navView.searchField resignFirstResponder];
if ([self isAddItemIndexPath:path]) {
- EtsyModifyListingCoordinator * coordinator = [EtsyModifyListingCoordinator coordinatorWithNewListing];
- EtsyModifyListingViewController *controller = [[EtsyModifyListingViewController alloc] initWithCoordinator:coordinator state:ModifyListingStateAddItem];
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x2d9b3f03 __exceptionPreprocess + 130
1 libobjc.A.dylib 0x38148ce7 objc_exception_throw + 38
2 CoreFoundation 0x2d9b7837 -[NSObject(NSObject) doesNotRecognizeSelector:] + 202
3 CoreFoundation 0x2d9b612f ___forwarding___ + 706
4 CoreFoundation 0x2d9050d8 _CF_forwarding_prep_0 + 24
5 UIKit 0x302186c7 -[UIApplication sendAction:to:from:forEvent:] + 90
6 ??? 0x024570dc
7 UIKit 0x30218663 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 38
8 UIKit 0x30218633 -[UIControl sendAction:to:forEvent:] + 46
@lacyrhoades
lacyrhoades / script.js
Last active August 29, 2015 14:26
What comes out for #1 - #9 ?
console.log('1');
console.log(this);
console.log();
function SomeObject(param) {
this.name = param;
console.log(this);
}
SomeObject.prototype.stuff = function () {
12:31:24 web.1 | Trace: listener added (on) ..
12:31:24 web.1 | at EventEmitter.on (/Users/lacy/Dropbox/Projects/GS2-Node/lib/app/index.js:38:15)
12:31:24 web.1 | at EventEmitter.Connector (/Users/lacy/Dropbox/Projects/GS2-Node/lib/app/connections.js:27:6)
12:31:24 web.1 | at module.exports (/Users/lacy/Dropbox/Projects/GS2-Node/lib/app/connections.js:63:10)
12:31:24 web.1 | at EventEmitter.App (/Users/lacy/Dropbox/Projects/GS2-Node/lib/app/index.js:49:22)
12:31:24 web.1 | at createApp (/Users/lacy/Dropbox/Projects/GS2-Node/lib/app/index.js:57:10)
12:31:24 web.1 | at /Users/lacy/Dropbox/Projects/GS2-Node/routes/feed.js:12:18
12:31:24 web.1 | at Layer.handle [as handle_request] (/Users/lacy/Dropbox/Projects/GS2-Node/node_modules/express/lib/router/layer.js:95:5)
12:31:24 web.1 | at next (/Users/lacy/Dropbox/Projects/GS2-Node/node_modules/express/lib/router/route.js:131:13)
12:31:24 web.1 | at Route.dispatch (/Users/lacy/Dropbox/Project
2015-09-03T19:08:47.111322+00:00 app[web.1]: type=info msg=connected service=postgres
2015-09-03T19:08:47.657287+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/feed?user_id=1234&limit=2" host=afternoon-fjord-3391.herokuapp.com request_id=c9b57814-957d-40e3-8ed5-eeb809c3592d fwd="67.244.125.37" dyno=web.1 connect=2ms service=564ms status=503 bytes=0
2015-09-03T19:08:47.569575+00:00 app[web.1]: type=info msg=connected service=rabbitmq
2015-09-03T19:08:47.607249+00:00 app[web.1]: events.js:85
2015-09-03T19:08:47.607254+00:00 app[web.1]: throw er; // Unhandled 'error' event
2015-09-03T19:08:47.607256+00:00 app[web.1]: ^
2015-09-03T19:08:47.607260+00:00 app[web.1]: Error: Channel closed by server: 403 (ACCESS-REFUSED) with message "ACCESS_REFUSED - access to queue 'amq.gen-R_o13PWk9lyTiztMIUpdzQ' in vhost 'rgjrmfyp' refused for user 'rgjrmfyp'"
2015-09-03T19:08:47.607261+00:00 app[web.1]: at Channel.C.accept (/app/node_modules/jackrabbit/no
if(empty($filters))
$filters = ($filters) ? $filters
: self::filtersFromLegacySettings($search_type, $category);
Process: Xcode [2223]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.0 (8227)
Build Info: IDEFrameworks-8227000000000000~2
App Item ID: 497799835
App External ID: 813293765
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2223]
@lacyrhoades
lacyrhoades / gist:4596345
Created January 22, 2013 17:10
Reverts commit of gross social negligence from this weekend when I should have asked you for your number
<?php
// @todo(lrhoades) time subject to availability, this is hacky but it gets the point across
$you->setDinnerPlans('01/22/13 19:00', isset($you['boyfriends']) ? false : 'The Islands 2 @ 803 Washington Ave');