This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :fastly do | |
desc "set fastly cors headers to fix chrome/firefox font loading issues" | |
task allow_cors: :environment do | |
# check for the Cors Allow header | |
versions = Yajl.load(Excon.get("https://api.fastly.com/service/#{ENV['FASTLY_SERVICE_ID']}/version", | |
:headers => {'Fastly-Key'=>ENV['FASTLY_API_KEY']}).body) | |
last_version = versions.last['number'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
var bookmarklet = { | |
init: function() { | |
this.parse(); | |
}, | |
parse: function() { | |
page = ""; | |
/* you must be viewing songs ie. http://www.rdio.com/people/nloko/collection/songs/ | |
when exporting a collection and this will only export the songs loaded in view, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Additional translations at https://github.com/heartcombo/devise/wiki/I18n | |
# European Portuguese translations for devise | |
# | |
# The translation does not respect the 1990 agreement | |
pt: | |
devise: | |
confirmations: | |
confirmed: "A sua conta foi confirmada com sucesso." | |
send_instructions: "Dentro de alguns minutos irá receber um e-mail com instruções para confirmar a sua conta." |