• Overcome the DEPTH_ZERO_SELF_SIGNED_CERT on Node.js

    15 dez 2014

    If you are making requests to a server that uses self-signed certificates in Node.js probably you already have seen the error DEPTH_ZERO_SELF_SIGNED_CERT. That's an usual error, for instance, if you are working in a test environment.

    I faced this error in my test environment and after google it, I got a lot of answers telling me to set the option "rejectUnhauthorized" as false on my request to the server.

    But, that doesn't make me happy. Why?

    Read more

  • Disable your html cache

    05 dez 2014

    Do you know that usually when you use the back button of your browser, your page won't be requested to the server again? By default this is the behaviour that you can expect.

    But, you can control it!

    Read more

  • Azure deploy and the path length limitation

    27 nov 2014

    Windows has that boring thing, the "Maximum Path Length Limitation". That can be a terrible headache when you are dealing with Azure Cloud Service deploy.

    If you create your projects in the Visual Studio default folder (C:\Users\USER\Documents\Visual Studio 2013\Projects) or in a longer path, probably you already have faced the error:

    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."

    Read more

  • Dog training for Developers - The basics: Lie down

    24 nov 2014

    This is the last post of this series and I hope now you and your dog are an awesome team!

    Today I will give you the tips to the lie down command, a nice complement to the Sit command.

    Read more

  • Dog training for Developers - The basics: Stay

    24 out 2014

    Training a dog to stay can be a tough task, because your dog is used to following you. After you and your dog have mastered the sit command, train him to stay.

    Read more

  • Dog training for Developers - The basics: Sit

    11 out 2014

    "Sit" is probably one of the easiest commands to teach your dog. But, how to accomplish it? Run the following method during a few days, twice a day.

    Read more

  • Dog training for Developers - The basics: Come when called

    06 out 2014

    Your dog ignores when you call him? Well, you can help him understand that you would be glad if he came to you when you want.

    Read more

  • Azure SQL Database: Automatic Backups

    02 out 2014

    This week, I've found a new feature in Azure Management Portal that I wished at so many times.

    In July, Scott Guthrie announced the support for Automated SQL Database Exports.

    This is awesome because now we can forget the complex powershell scripts to achieve it. Now we can easily configure fully automated exports to a Storage account and, the best part of it, this is a built-in feature of Windows Azure Management Portal.

    Read more

  • Dog training for Developers - The basics: Recognize the name

    29 set 2014

    The name of your dog will be the most useful command that you will have. Your dog will need some training until recognize it, so I will leave here a method (coded in c#) of how to help him to accomplish that.

    Read more

  • Dog training for Developers - The basics

    21 set 2014

    Recently I've brought home a new puppy, named Feij√£o (the portuguese word for "bean"). Since then I've been reading to learn how to teach him some stuff.

    From this experience I've seen that the dog training technique has a kind of flow, like a software routine. So, I have decided to translate some of that tips into code and share with you. I think that this can be a funny way for a developer understand how to teach his dog.

    Read more