Restaurante Categoria Média (almoço 2 pessoas) – 40 €
Restaurante Almoço Diário (1 pessoa) ~ 7 €
Mcdonalds – 7 €
| AWS_CONFIG = { | |
| 'access_key_id' => YOUR_ACCESS_KEY, | |
| 'secret_access_key' => YOUR_SECRET_ACCESS_KEY, | |
| 'bucket' => 'froala', | |
| 'acl' => 'public-read', | |
| 'key_start' => 'uploads/', | |
| 'region' => 's3' # For other regions than us-east-1, use s3-region. E.g.: s3-eu-west-1 | |
| } |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.
| #!/usr/bin/env ruby | |
| # API Documentation at http://api.wikia.com/wiki/LyricWiki_API | |
| require 'open-uri' | |
| require 'json' | |
| require 'tmpdir' | |
| ARTIST = "Johnny Cash" |
| class Array | |
| def by(n) | |
| buff, self_ = [], self.clone | |
| if self.size % n == 0 | |
| (self.size/n).times{ buff << self_.shift(n) } | |
| end | |
| buff | |
| end |
| # Some good references are: | |
| # http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
| # http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
| # http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
| #1. Install PostgreSQL postgis and postgres | |
| brew install postgis | |
| initdb /usr/local/var/postgres | |
| pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |