Category Archives: Web

How to run linux environment with LAMP on Windows WSL

Install Linux on Windows with WSL You can now install everything you need to run WSL with a single command. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting “Run as administrator”, enter the wsl –install command, then restart your machine. wsl –install Restart and continue with setup  Before installing the first LAMP… Read More »

Setting up internet access to Home Assistant in private network using Cloudflare

Home Assistant (HA) Requirements You need to set up your own domain Point domain DNS servers to Cloudflare DNS (You can register new domain name also Cloudflare to make all manageable in one web interface) For secure HTTPS connections there are fixed port numbers you can use in Cloudflare, you can see list here https://developers.cloudflare.com/fundamentals/get-started/reference/network-ports/… Read More »

How To Install Home Assistant on Windows in few easy steps

Home Assistant is a home automation platform. that allows you to control and monitor your smart devices at home¹. It has a web-based interface that lets you create dashboards, automations, integrations and more¹. You can also use the official Home Assistant apps to control your devices and receive notifications on your phone or watch¹. There are… Read More »

Consuming json API in C# application

In next posts we will create little app what will use public web api data and show it on screen.  First task is to create classes what correspond to json data web api is returning. There are several ways to create C# classes from JSON API response in Visual Studio. One of them is to… Read More »

Crayon Syntax Highlighter plugin fix for php 7

We have been quite busy for last years and our blog has been neglected during this time. Now we are back and more frequend updates are promissed. After moving to the new server, our WordPress stopped working for various reasons. One of them was Crayon Syntax Highliter plugin what gave next error:

The cause… Read More »

Disable file caching using .htaccess

.htaccess file gives easy way to disable file caching. Caching can be disabled in one all or only one directory. Same applies for file types – disabling can be general or specific file extensions can be selected.   Example one

Example two

Example three