Skip to content

Instantly share code, notes, and snippets.

Geoff Lee matrinox

Block or report user

Report or block matrinox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@matrinox
matrinox / rvm_debug_big.log
Created Aug 6, 2015
big.log output for debugging rvm
View rvm_debug_big.log
/Users/username/.rvm/gems/ruby-2.2.2@chevron
usage: 'rvm alias [alias_name] [ruby_string]'
Regenerating ruby-2.1.5 wrappers........
/Users/username/.rvm/gems/ruby-2.1.5
+ : 7 > cd secure-springs-5928/
+ /scripts/cd : cd() 0 > __zsh_like_cd cd secure-springs-5928/
+ /scripts/extras/bash_zsh_support/chpwd/function.sh : __zsh_like_cd() 1 > typeset __zsh_like_cd_hook
+ /scripts/extras/bash_zsh_support/chpwd/function.sh : __zsh_like_cd() 3 > builtin cd secure-springs-5928/
bash: cd: secure-springs-5928/: No such file or directory
+ /scripts/extras/bash_zsh_support/chpwd/function.sh : __zsh_like_cd() 14 > return 1
View gist:9869717
- (id)initWithCoder:(NSCoder *)aDecoder {
if ( self == [super initWithCoder:aDecoder] ) {
self.delegate = self;
}
return self;
}
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {
}
View gist:9797865
NSMutableArray *mapItems = response.mapItems.mutableCopy;
[mapItems sortUsingComparator:^NSComparisonResult(MKMapItem *item1, MKMapItem *item2) {
return [@([item1.placemark.location distanceFromLocation:location]) compare:@([item2.placemark.location distanceFromLocation:location])];
}];
@matrinox
matrinox / GABlockDelegate.h
Last active Jan 1, 2016
Blocks over delegates
View GABlockDelegate.h
//
// GABlockDelegate.h
// GAToolkit
//
// Created by Geoff on 12/29/2013.
// Copyright (c) 2013 Geoff. All rights reserved.
//
#import <Foundation/Foundation.h>
You can’t perform that action at this time.