Profile
Achievement
zingo's Recent Snippets
- All /
You can generate a simple bar chart of the values by executing this command...
0
893
posted 17 years ago by zingo
A database table is basically an array of dictionary objects. As long
as all the fields are valid property list types, you can loop through
the array creating a managed object for each dictionary and setting
the values. If you have an array con...
2
941
posted 17 years ago by zingo
If you set the NSObjCMessageLoggingEnabled environment variable to "YES", the Objective-C runtime will log all dispatched Objective-C messages to a file named /tmp/msgSends-.
0
792
posted 17 years ago by zingo
Prints content from an NSError or NSArray content from a managedObjectContext.
0
928
posted 17 years ago by zingo
List the current version and installation date of every application on a OS X system, using of Spotlight.
1
688
posted 17 years ago by zingo
displays sourcecode in a nice notebox on blog pages. uses with a class.
0
785
posted 17 years ago by zingo
Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value.
For a internationalised version see: http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-c...
1
1184
posted 17 years ago by zingo
for .bashrc, a function that cd's to a directory and lists the contents it takes ls arguments and a directory. for example, cl goes to home dir and lists contents. cl -l goes to ~/ and long lists contents. and cl -lrt public_html shows the contents o...
0
734
posted 17 years ago by zingo