My Blog

Sharing programming insights since 2015. 160 articles (and counting!) filled with real-world experience and practical tips.

    A small guide on how to run your React Native app on iOS using the XCode Simulator

    You decided to create a new application for iOS and you want to program the app with the React Native framework.

    Here is a list with all the steps you have to take if you want to start XCode Simulator and test the UI of your application on your developer machine:

    Read the complete article

    Variable Scope - Must Know JavaScript features every programmer should learn to master the language

    JavaScript is a small language, however, as any other technology one should invest some time in learning the fundamentals of it, so that she has a solid knowledge when writing code or architecting web applications.

    With the Must Know JavaScript features articles I try to give you a starting point for your further familiarization with the most important features of the language. You are going to use these features extensively as a JavaScript engineer, directly or indirectly.

    Read the complete article

    The System.BadImageFormatException error when unit-testing in Visual Studio and its solution

    The BadImageFormatException was unhandled – An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) exception is being thrown when you try to load a .dll of your application which was compiled with 32 bits (X86) or 64 bits (X64) and the process that runs this file runs in a different bit-environment than the file.

    If you see this exception when you run your C# unit tests in Visual Studio, then the reason for this error is that the test environment of Visual Studio has a different bit setting than the compiled code which is under test. To fix that you have to do the following change in your Visual Studio test settings:

    Read the complete article

    The EPERM error in npm when using TFS and Visual Studio and how to solve it

    When you work with Team Foundation Server (TFS) and Visual Studio and you do web development, chances are that you will come across the EPERM error when npm tries to change a file in your application. The complete error message is Error: EPERM: operation not permitted, rename and then the absolute path to the problematic file follows.

    Read the complete article

    How to style a scrollbar by using only CSS features and have a cross browser support

    For your new web application, you might want to style the scrollbar so that it fits to the general design.

    You can either use JavaScript code to achieve the styling or you could stick to CSS properties and pseudo-selectors.

    In this article we pick the second variant and our main goal is to have a cross browser support for a styled scrollbar.

    Read the complete article