We use cookies for keeping user sessions alive and for site usage statistics.
Please accept cookies to continue browsing the site.

 

(You can decline cookies later navigating to page 'Privacy Policy'.)

Tips & Tricks

Filter by category:

Create SSH tunnel to a private network - practical steps

In most cases you do not have public access to your private network. Your router is not public, but a part of an internet provider's network segment, so it is not reachable from o...

View

Create a front end toggle switch/button

Web toggle/switch buttons are scarce, mainly repeating each other, with minor code nuances.Let's have a simple switch without large frameworks invocation. No component structure, ...

View

IIS URL rewrite to canonical domain

It is considered good practice in view of search engines and site traffic analysis to always redirect from the "naked" domain like "mydomain.com" to the canonical domain "www.mydo...

View

Custom application settings file

Sometimes you want to get rid of those settings kept in the traditional web.config or app.config file. You want more fine grained control over the deployment of your settings...

View

Implement custom application logger

Application event logging is a must. But most available logging modules around are quite bloated or heavy structured. Why not create your own simple file logger and gain full cont...

View

Setup a dropdown list in Excel

Excel has a very powerful feature providing for a dropdown select list in a cell, reflecting data from a named region. It'a a very easy configuration, once you have done it bef...

View

Automatic logon to Windows

Automatic Windows logon as a predefined user is a convenient feature for single-user machines or home computers. This removes the hassle of unnecessary repetitive password ente...

View

User-agent: * Syntax not understood

An optional robots.txt file, put in the root of the web application and freely accessible, holds instructions to crawling robots which parts of the web site not to index. ...

View

Global error handling in ASP.NET MVC

To be correct to our visitors and the search engines, we should return meaningful HTTP status codes if errors occur, facing our site. It's not fair to return HTTP status code...

View

Watch computer videos on TV

There are multiple options how to watch computer videos on your home TV depending on video formats, network and device features. Here is a short summary: 1. The traditional way...

View

Get SSI running on IIS

Server Side Includes (SSI) are an optional feature of the web servers helping the developers to include HTML file content from a base file into multiple other HTML files with a...

View

Steps to make a Google API call

This short summary of steps to prepare and realize a Google API call is based on invoking the Google Calendar API, but other segments should be quite similar. [1] Manual ...

View

Easy and compact access to my Google calendars

Google calendar data can be easily accessed from the local computer, without needing to navigate and logon to the online application. The magic words are Google API. No need for c...

View

Wrap long words within dynamic tables

Very long words can break page layout (overflow borders or extremely expand table cells, occasionally showing undesired horizontal scrollbar). The problem is easy to resolve...

View

Enforce lowercase URL in PHP/Laravel

Lowercase URL-s for accessing web applications are important for usage statistics and web metrics. They are good for communication styling and purity and are highly recommended by...

View

Keep limited log file size in PHP/Laravel

We need to keep the log file size within decent limits. Last 10 MBytes should be enough for the general site health surveillance. The redundant leading part can be periodic...

View