• AngularJS - Input number with 2 decimal places

    25 fev 2015

    My AngularJS - Smart Float Directive post has been a post with a lot of traction, so I want to share another tip related to numbers in Angular.

    This a kind of simple tip, but I believe that it can be really useful.

    My smart-float directive works really fine in a desktop or laptop browser, but in a smartphone I want to take advantage of HTML5 number inputs and show to my users when they enter in the input, the "mini calculator keyboard".

    How to accomplish it using angular?

    Read more

  • How to Encrypt in Node.js and Decrypt in C#

    16 fev 2015

    Are you trying to send messages to a .NET application from node.js and you want to encrypt them?

    You can find here a simple example to accomplish it.

    Read more

  • How to access Azure storage emulator using Node.js SDK

    06 fev 2015

    Today I have a quick tip that I want to share with you because it took me some time to figure this out.

    I'm using Azure SDK for Node.js to interact with Azure Storage and I want to access my development environment with it.

    Read more

  • T-SQL: Which schema is consuming more space?

    29 jan 2015

    Imagine that you have separate schemas in your multi-tenant data architecture and you want to know who is consuming more space. How can you do it?

    Read more

  • 5 awesome tools to craft the perfect Domain Name

    14 jan 2015

    One of the common tips to pick the perfect domain name is to choose one dot-com domain, but a good domain name is a needle in a haystack.

    Here, you will find five awesome tools to help you craft an incredible (and available) domain name.

    Read more

  • 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