My Blog

Here you can find my private notes about programming that I wanted to share with you. Feel free to filter based on the topic you want or search for something specific.

    Get Web Essentials to work with TypeScript in Visual Studio 2013

    When you install the Web Essentials plugin to your Visual Studio 2013 installation it is very probable that the next time you open a TypeScript project in Visual Studio the program will freeze and you cannot do any further action inside Visual Studio.

    Read the complete article

    How to place the elements of a list at the bottom of an absolute positioned parent element

    Suppose you have a HTML-list and you want to place its elements at the bottom of a parent element which is positioned absolute in your website and also has a predefined height. Apart from that you also want the list to be scrollable, when not all elements can be shown inside the parent element.

    Consider the following HTML code which solves these two problems:

    Read the complete article

    How to create a less function (mixin) and use it for implementing beautiful and customized CSS box-shadows

    Less supports the creation of pseudo-functions that can be used as CSS-classes in your less files. Doing this way you can save multiple keystrokes, automate your stylings and avoid syntax errors.

    Lets take a look at a function that automates the creation of CSS box-shadows and supports new browsers by making use of browser prefixes.

    Read the complete article

    How to exclude a file from TFS source safe in Visual Studio?

    Often you want to include a file into one of your Visual Studio projects, but you do not want to check it in TFS. Such files can be for example .css files generated from sass or less files or JavaScript files created automatically after TypeScript files are compiled.

    Visual Studio provides a way to perform this task. Unfortunately it is not as easy as it sounds…

    Read the complete article

    How to fix the "duplicate identifier" error in TypeScript

    When working with TypeScript, there is a big chance that you will have to deal with a “duplicate identifier” error sooner or later.

    But what exactly this error means? Read the error text again. Duplicate identifier. You are defining, with other words referencing, the same identifier (class, method, property) twice in your code.

    Read the complete article