htaccess for Angular 2+ (probably other JS) apps

htaccess for Angular 2+ (probably other JS) apps

allow from all <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.html [L] </IfModule>
read more
Clipboard Browser API

Clipboard Browser API

Note: The API is still experimental and does not work along all browsers! Tested in current version of Google Chrome Desktop Browser. Write text to clipboard javascript function copyToClipboard(text) { navigator.clipboard.writeText(text); } Get text from clipb...
read more
Use Google Sheets to manage translation keys

Use Google Sheets to manage translation keys

Managing translation keys of your App can get very difficult with increasing quantity of languages and keys. In this example, I want to show how you could use Google Sheets (maybe also Excel or OpenOffice) to manage your keys and...
read more
Using RxJS Observable instead of setInterval() Method

Using RxJS Observable instead of setInterval() Method

This example shows how to use an RxJS Observable instead of the traditional JavaScript setInterval() method. This has several benefits, especially if you are unsing RxJS pervasively in your application code. In this case, we want to obtain the device...
read more