Skip to content

Instantly share code, notes, and snippets.

View drodriguez's full-sized avatar

Daniel Rodríguez Troitiño drodriguez

View GitHub Profile
@drodriguez
drodriguez / Questions
Created September 6, 2011 21:42
GOTO Amsterdam
Day job:
Mobile Application Developer at Tuenti <http://tuenti.com>.
What is your language of choice:
My main language will be Objective-C, helped by Ruby for almost anything else.
Open Source contributions:
Several contributions to Rails and other Ruby open source libraries (SQLite-Ruby, FeedTools). Contributions in some Objective-C/Cocoa projects (Wordpress.app, SQLPersistentObjects, Adium, AppReviews, NuZip, Twitterfon). A lot of small contributions in different open source projects (Scour, Zenphoto, Sproutcore, K2, Trac, Gtk#, RadRails). Some released open source personal projects (video5 Chrome extension, globradio, reversegeocoding, Custer).
How do you use GitHub:
@drodriguez
drodriguez / Questions
Created August 8, 2011 22:14
Frozen Rails Give-away
Day job: Mobile Engineer at Tuenti (http://tuenti.com)
Your Rails contributions (if any): Yes, of course http://contributors.rubyonrails.org/contributors/daniel-rodriguez-troitino/commits (and some old plugins)
What's your Ruby/Rail experience?: I have been using Rails for pet projects since it was a 0.x (end of 2006), and profesionally for a year or so in a previous job.
How do you use GitHub?: Now mainly for personal projects and open source contributions, and to keep track of interesting projects. I have used GitHub at work, but not anymore (now my shared repositories are self-hosted).
// Reachability Objective-C minimal version
// I'm new so memory leaks are possible on this code
// Extracted from:
// http://www.idevapps.com/forum/archive/index.php/t-3329.html
// (look for an imported_kelvin's post)
//
+ (BOOL)networkAvailable{
SCNetworkReachabilityRef netreach;
SCNetworkConnectionFlags flags;