Sourcecode Repository
Create an Excel file in C# without Microsoft Office or Third party plugins
How to create an Excel file (XLS / XLSX) in C# without having a copy of Microsoft Office on the server, or other... Read More
How to convert HDR10+ videos to SDR (for non-HDR devices)
How to convert HDR10+ videos to SDR, so can be viewed on non-HDR devices with brightful and not washed-out colors Read More
Javascript equivalent to PHP __construct
Constructor method in Javascript class equivalent to PHP, how to run a function in Javascript whenever the object is instantiated. Read More
How to parse and process HTML/XML in PHP
Simple HTML DOM is a great open-source parser: simplehtmldom.sourceforge It treats DOM elements in an object-oriented way, and the new iteration has a... Read More
Access a variable declared in a phtml from another phtml in Magento2
Having two blocks in the catalog_product_view.xml file like this: To access a variable declared in the first block from the second block, you... Read More
Single line “if” statement in VBScript (like in C# or PHP)
The “single line if statement” exists in C# and VB.NET as in many other programming and script languages in the following format The... Read More
Render a Section in a Partial View – ASP.Net MVC
Let’s start with the following configuration to give an example: in a MVC project, you have a “_Layout.vbhtml” file with this code Then,... Read More
Set “top,left” of an element with the position relative to the parent in jQuery
The .offset() method set the coordinates of an element but only relative to the document. Then how can we set coordinates of an... Read More