Blog Entries

Sharing Web Development Knowledge

Don't Be Catched by Function Expressions

When preparing the second part of the Debian VM on Windows Azure I have encountered an error in azure-cli showing up only if you use affinity groups. I will explain what is the root cause of the error and why I started to use function definitions. First I want to reproduce the issue that make the error happen using generic code. var something = false; if (something) { setTimeout(function(){ continuation(); }, 100); } else { continuation(); } var continuation = function() { console....

Read more Don't Be Catched by Function Expressions

Creating Debian VM on Windows Azure - Part 1

Today we will start to create Debian VM on Windows Azure based on Debian Wheezy image. It is not that simple as create Ubuntu VM as it is not listed by default on standard list when you create Linux VM or in VM Depot list in Management Portal. But first we will set up everything the right way, including Affinity Groups, Storage, and Virtual Network. There is a shortcut, especially for several standard Linux images, that does some of the stuff below automatically, but it is better to start using own names, structure etc....

Read more Creating Debian VM on Windows Azure - Part 1

Windows Azure Registration - Not Without Issues

This will be a short post about my recent experience with registration on Windows Azure. It was not without issues. First of all, I was on Windows Azure AD 2013 seminar in Warsaw two weeks ago. They talked about free 90 days trial (that I was already aware but waited for the right moment to start it), but they forgot to mention that several days later this 3 months trial will change into 30 days trial....

Read more Windows Azure Registration - Not Without Issues

Deploy Static Website - Rsync on Windows

Rsync almost a standard for remote syncing, but on Linux. The VPS this site is on is Linux, but I work on Windows 8 which in the end made syncing a bit more complicated to set up. The post is for everyone who will also want to sync his generated static website synchronized from Windows to Linux. Hexo - static blog generator that I use - has built in support for rsync, but it will now work properly from Windows machine out of the box....

Read more Deploy Static Website - Rsync on Windows

Static Site Generators - a Road to Hexo

Static website generators are nothing new (I’ve even refactored one to PHP5 in 2007 when working for Spil Games). In the recent years static generators started to gain more traction, because not everything must be dynamic and if something is static, scalability and security are mostly no issue. For simple content websites and blog this is also cost effective, as you do not have to have a database and can host it almost everywhere (sometimes even for free)....

Read more Static Site Generators - a Road to Hexo