Joined December 2012
·
Posted to
Sublime Cheat Sheet
over 1 year
ago
docx? :(
Posted to
Your own Objective-C shared object
over 1 year
ago
Hi,
That is called singleton, not "best solution to control MVCs model"
Why do you call it "Model"? Models in MVC pattern should not make use of any singleton or it does not make sense.
For singleton initialization the @synchronized block is nowadays obsolete.
Use dispatch_once instead: http://stackoverflow.com/questions/9119042/why-does-apple-recommend-to-use-dispatch-once-for-implementing-the-singleton-pat
Posted to
How to save a NSArray/NSMutableArray in Core Data
over 1 year
ago
Why would you do that? Create new model for the NSArray entries?
Posted to
How to measure the number of lines of code in a project
over 1 year
ago
What about using cloc
command?
Posted to
Monitor things with CLI
over 1 year
ago
@kablamo Well "tail -f" with watch is bad idea :) just tail or "tail -f" without watch.
Posted to
Simple PHP CLI Apps
over 1 year
ago
The worst DSL style I have seen.
Posted to
Get external IP with CLI
over 1 year
ago
For json output: curl ifconfig.me/all.json
Posted to
Git: LOC Added and Removed
over 1 year
ago
You are missing an apostrophe at the end ;)
Achievements
117 Karma
2,059 Total ProTip Views
Raven
Have at least one original repo where some form of shell script is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Bear
Have at least one original repo where Objective-C is the dominant language
T-Rex
Have at least one original repo where C is the dominant language
When I tried zeus half year ago it had cryptic problems during testing, environment reloading and so.