Skip to content

Instantly share code, notes, and snippets.

Avatar

Luis Mesas luismesas

View GitHub Profile
@luismesas
luismesas / gist:3859936
Created Oct 9, 2012
All purpose Git Ignores
View gist:3859936
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
target/
@luismesas
luismesas / gist:3429720
Created Aug 22, 2012
NSString equation evaluator using NSExpression
View gist:3429720
NSString *equation = @"floor((19-10)/2)";
NSNumber *result = [NSExpression expressionWithFormat:equation];
NSLog(@"%@", result); // logs "4"