Posts

3 November 2022

How to prevent opening your site inside iframe of another domain (X-Frame-Options)

Configure your IIS (web.config) to disallow iframe embeding of your content from another web sites

1 September 2022

How to git push an existing project to online repository (GitHub, Bitbucket ...)

Command line steps needed to push any existing project to git repository

3 August 2022

Upload file in C# MVC

How to upload file in C# MVC project with additional validation based on content type and file size

31 July 2022

How to check if method parameter is passed in javascript

Sometimes it is necessary to be sure that method parameter we are trying to comsume exists.

12 July 2022

How to add Google ReCAPTCHA v3 to web form

This article explains client and server side implementation of Google ReCAPTCHA v3 and best practices how to read and use validation results.

6 July 2022

How to move all files (including hidden) into another directory

Move files including hidden ones from one to another directory via terminal console on Ubuntu or similar OS

7 April 2022

Common JavaScript Array Methods

Most common JavaScript array methods I found useful in everyday situation

12 March 2022

Apache RewriteRule Flags

What does common flags like [NC], [QSA], [F], [G] [L] means?