Facebook Code Generator on Windows Phone

If you care about your online security, you would probably enable two factor authentication on every service that supports it. If you enable in facebook you would be prompted to enter a code of your Code Generator application. If you do not know how to obtain such code and ask for helps the site tells you that it is available on your Phone application.

Sadly enough, it seems that Windows Phone Facebook app does not have this option. The simplest solution is using Microsoft Authenticator app, as described in this article.

The algorithm behind secure code generation is a standard, and Microsoft Authenticator Windows Phone app works perfectly even for services that ask you for a Google generator.

Gian Maria.

Outlook 2013 social connector does not works with linkedin

It is a couple of days that Outlook 2013 cannot connect with linkedin anymore, I’ve tried to remove and readd again my account but it fails telling me that Password is not valid.


After a brief lookup in the internet I’ve found the reason, the certificate that outlook uses to connect to linkedin is expired (check this on https://outlook.linkedinlabs.com/ ) so we need to wait until linkedin updates the certificate.

If you are in a hurry and really want outlook to connect back again to linkedin you can use a dirty developer trick. Just launch fiddler, a web debugging proxy that is used by developer to intercept traffic of web application. In tools-> Options menu you can instruct fiddler to intercept HTTPS traffic and decrypt it


This is usually a security hole, but it is the only way a developer can inspect HTTPS traffic of web application. The good side effect of this options, is that outlook now connect to Linkedin through fiddler, and since I’ve told him to ignore server certificate errors, outlook can connect to linkedin.


Clearly as soon as you close fiddler connection get lost, but it can be useful if you need to retrieve some information from linkedin (new contact, etc), then you can simply close fiddler.

Do not remember to remove interception certificate once the problem will be corrected with a new official certificate.

Gian Maria.

My blog moved to Windows Azure

Actually it is a few days I’ve moved my blog to Windows Azure using Web Sites, still in Preview, but really stable. The only problem with my WordPress Site, is that I’m not able to use the automatic update of plugins, due to some problem in writing on the virtual file system, but apart from this little problem (I updated my plugin with standard FTP) I’m really satisfied of azure.

Thank to the fact that I have a MSDN subscription I have a certain amount of resources available for free, because they are included in the base MSDN subscription, you can read details here.

Moving to azure was really simple, just activated a new Web Site in reserved or shared mode, upload all site content with FTP, then restore MySql database to a linked MySql database (you have 20MB of MySql actually available for Web Sites), and finally switched my dns, and the blog is now running on Azure.


Actually if you have a MSDN subscription, Azure is a really appealing hosting solution. PHP support is good, you can also use the WinCache as cache backend for your W3 Total Cache plugin and everything runs smooth.


Happy New Year to everyone :).

Gian Maria

I do not like Git, if you want blame me for this

I did not like Git, it is a really personal opinion, but I work a really limited time on github project with some friend of mine and I always find surprise using git, surprises that never happened with other SCS (Hg, Subversion, TFS, etc).

Today I modified a file in my working copy, but after some code I want to revert to the original version, so I issue the revert command with tortoise Git.


Figure 1: Revert screenshot from tortoise Git

Now I press Ok, I got this nice confirmation dialog


Figure 2: Confirmation dialog that confirm me that the file was reverted.

Now I reopen the solution in Visual Studio but the file is still modified and if I right click on the repo folder and choose again Revert from TortoiseGit I got the very same situation in Figure 1, Tortoise Git is telling me again that the file is modified and it can be reverted.

Then I issue a git reset –hard command but it does not work.

I know that I have a really little knowledge of git because I used it 10 times in a year, but I never find another source control that tells me “hey your file is reverted” but in reality nothing happened.

Gian Maria.