Writing

Blog

14 posts, going back to 2006.

Deploying Rails using AWS CodeDeploy

Assumptions The following tutorial uses: us-east-1, Ubuntu 14.04, Rbenv, Foreman IAM We will create a new role that we will be launching our EC2 with. EC2 instances launched with the...

  • aws
  • rails

Sample Files for Testing

I often need sample files to test my code. Somtimes I need more specific files like a small MP4 file or a large PNG file, etc. Instead of Googling, I...

  • samples
  • testing

Rails with AWS CloudFront

Let’s confess, Rails isn’t very good at serving static assets. Ideally, you’d have Nginx taking care of this job which it does pretty well. However, in some cases, you can’t...

  • rails
  • aws
  • cloudfront
  • cors

Goodbye OverC Studios

A year and a half ago, I left Raya to start a new business with Yousef Osman and Chris Miller. I have had already joined few startups at different stages...

  • overc
  • work
  • entrepreneurship

Saving Paperclip Attachemnts Encoded Base64

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...

  • ruby
  • rails

Why switch to Ruby on Rails?

I kind of have been asked this question over and over so this is a reference if you were ever asked the same question. ###Preamble Rails is an extremely mature...

  • ruby
  • rails

Organize your downloads, the OS X way

If you are one of these guys who move files and organize them manually under the correct directory, this blog post isn’t for you. I usually download lots of files...

  • mac
  • osx
  • applescripts

Firefox finally did it!

Yaay! Firefox is now the world most popular browser: http://gs.statcounter.com/#browser_version-ww-weekly-200827-200951 Viva Open Source!

  • foss
  • firefox
  • browsers

Entering the Mac world

After a long time of comparing Notebooks and Netbooks, I decided to buy a MacBook from Apple. I must say it feels a lot comfortable than GNOME, as stylish as...

Delivering emails to GMail, Yahoo! and Hotmail

Introduction: in the mid-2002, many e-mail providers like Yahoo and Hotmail (no GMail at that time) started the war against spam and they went on improving spam fighting since then....

PHP on Cake vs Ruby on Rails

Recently I had the opportunity to attend a seminar about Ruby on Rails, things were nice with Ruby and Rails, I liked scaffolding, I also liked the various features of...

Ruby 1.8.4 on Ubuntu

I tried installing Ruby and Rails on Ubuntu 5.10 (Breezy), I followed exactly what was written in the article: http://fo64.com/articles/2005/10/20/rails-on-breezy But I ran into trouble with Rails after the installation,...

  • ruby
  • rails
  • ubuntu

PHP6: Is it a suitable time?

Since I started to read the news about PHP5, I was happy that Zend has finally deceided to bring us some real OOP to the world of PHP, regardless whether...

  • php
  • php6