Skip to content

Instantly share code, notes, and snippets.

Itai Ferber itaiferber

Block or report user

Report or block itaiferber

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

Keybase proof

I hereby claim:

  • I am itaiferber on github.
  • I am itai ( on keybase.
  • I have a public key whose fingerprint is F84C 731C F431 C75B 3643 C753 3732 EAA7 1216 617F

To claim this, I am signing this object:

itaiferber / Sorting.m
Created Oct 21, 2012
Demonstrates nested sorting using NSSortDescriptors.
View Sorting.m
#import <Cocoa/Cocoa.h>
@interface IFEntry : NSObject {}
@property (copy, nonatomic) NSString *company;
@property (strong, nonatomic) NSDate *date;
- (instancetype)initWithCompany:(NSString *)company date:(NSDate *)date;
itaiferber / brew --config
Created Sep 3, 2012
Homebrew MacVim install log.
View brew --config
HEAD: dbe82d9c3141ea003996d96d34cb1d33cd437e43
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.1-x86_64
Xcode: 4.4.1
GCC-4.0: N/A
GCC-4.2: N/A
View brew --config
~ $ brew --config
HEAD: 1419db330972c67e1be52c2bfe256b2d7ecb07e2
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit core2
OS X: 10.8
Kernel Architecture: x86_64
Xcode: 4.4
GCC-4.0: N/A
itaiferber / Terminal Output
Created Mar 1, 2012
Installation of FontForge fails on OS X 10.8 with XQuartz
View Terminal Output
~ => brew install -v fontforge [0, 1820] | 19:44:18
==> Downloading
File already downloaded in /Users/itaiferber/Library/Caches/Homebrew
/usr/bin/tar xf /Users/itaiferber/Library/Caches/Homebrew/fontforge-20110222.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode
./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
View gist:23652
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
var backgroundWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask],
windowContentView = [backgroundWindow contentView];
[windowContentView setBackgroundColor:[CPColor darkGrayColor]];
var movie = [CPFlashMovie flashMovieWithFile:[CPString stringWithString:@"/Users/itaiferber/Desktop/Lore3433.swf"]],
movieView = [[CPFlashView alloc] initWithFrame:CGRectMake(CGRectGetWidth([windowContentView bounds]/2-400), CGRectGetHeight([windowContentView bounds])/2-300, 800, 600)];
[movieView setFlashMovie:movie];
You can’t perform that action at this time.