setting app.config for different environments

por em .NET,C#,Configuration,CSHARP,english,VisualStudio Nenhum comentário
Imagine the following scenario: You have a project that you just developed in your local machine and want to deploy it into the CI (Continuous Integration) and approval environments. In this project, there is a configuration file (app.config) that contains a few settings, for instance, connection strings and log file directory. Quite common isn’t it? So, [...]

Posting and Getting files in ruby/rails

por em download,english,file,get,http,post,rails,request,response,rest,restful,routes,ruby,Upload,web Nenhum comentário
Today I’m going to show some very short snippet about posting files with ruby, and receiving them in a rails controller. For all examples I’ll be using the rest-client gem (”sudo gem install rest-client”). The fist thing we’re going to do is to implement a very basic file post in ruby - there is basically two methods: You [...]

Sem repetições

por em automatização,ruby Nenhum comentário
Há uns 2 meses, meu amigo Saroka e eu preparamos uma apresentação para falar de automatização de tarefas. Falamos para um público técnico da Locaweb sobre algumas melhorias que estamos realizando no nosso processo de deploy. Achei legal registrar aqui pra me lembrar que sempre dá pra automatizar alguma coisa. Toda vez que rodo uma task [...]

E o manifesto ágil, meu caro CSP

por em Agile,carreira,Eventos,scrum Nenhum comentário
Já faz algum tempo que não tenho tanta paciência para ficar discutindo metodologias ágeis para desenvolvimento de software. A minha cabeça de alguma forma passou a pensar que tudo se resume a aplicar bem o manifesto ágil. E isto, por si só, não é nada fácil. Exige muita disciplina, capacidade, atenção e profissionalismo. Nenhuma metodologia, [...]

Catalyst::Plugin::Captcha

por em Programação Nenhum comentário
Simples “como fazer” para usar o Catalyst::Plugin::Captcha. Criando um projeto: catalyst.pl MyApp cd MyApp Inserindo o plugin no projeto: No Arquivo, altere: vim lib/MyApp.pm use Catalyst qw/-Debug ConfigLoader Static::Simple/; para: use Ca...

Spider Man’s professionalism at RailsConf 09

por em Uncategorized Nenhum comentário
Professionalism definition from Uncle Bob in his recent talk at RailsConf 2009: “Discipline to wielding of power.” – Robert Martin (aka Uncle Bob) To me, it looks pretty much similar to the “Ruby” definition from Chad Fowler in the last Rails Summit Brasil: “Ruby is a dangerous tool.” – Chad Fowler Wich makes me remember [...]

Switch to our mobile site