Cocoapods: How Did I Stop Worrying And Used It

Posted January 04, 2014 12:51 by Mohamed Hegab

Three years ago, iOS developers created a web project that was very ambitious.. It was called (cocoacontrols.com).

The idea was simple: developers will find controllers that other developers submit there. Controllers that could solve a lot of day to day...

Read more



Cocoapods

Never create Ruby strings longer than 23 characters!

Posted December 12, 2013 16:22 by Omar Abdel-Wahab

You might think it's absurd but Pat Shaughnessy found out that Ruby strings are treated differently by Ruby interpreter and the main differentiator is; wait for it, their length.

According to his blog post, he tested string creation time under Ruby...

Read more



Ruby

Zurb Foundation 5 Quick Review

Posted November 23, 2013 10:32 by Omar Abdel-Wahab

Two years ago, Zurb introduced Foundation and gave all User Interface Frameworks a solid contender.Fast forward to today, Foundation is hitting major version 5 and it is absolutely building up on its predecessor.

Read more



Foundation5

Github forking workflow made easy

Posted November 20, 2013 19:41 by Omar Abdel-Wahab

Do you fork too often? So do we.

It's quite familiar to have your project completely hosted on Github: repositories, issues, milestones, wiki, etc.The problem with this is that your team members need to be very familiar with Git and very...

Read more



Forking

Saving Paperclip Attachements Encoded Base64

Posted August 26, 2013 17:11 by Omar Abdel-Wahab

The problem:

You need to upload an image from a mobile device to a Rails application which uses Paperclip.

Your model might look similar to this:

class User < ActiveRecord::Base attr_accessible :name has_attached_file :image, styles: { small: '90x90#', medium: '160x120#', large: '300x200#', }end

And you want to be able to upload user images.

< ActiveRecord::Base attr_accessible :name has_attached_file :image, styles: { small: '90x90#', medium: '160x120#', large: '300x200#', }end Read more



Rails

Why we love Ruby on Rails

Posted July 12, 2013 14:25 by Omar Abdel-Wahab

We kind of have been asked this question over and over and we believe the reasons are so many.

Rails is an extremely mature RAD Framework to the extent that it's currently driving the MVC bandwagon. A lot of effort has been put by Java, PHP, Python...

Read more



Rails