Angular 13 custom TypeScript rules

Angular 13 custom TypeScript rules

File: tsconfig.json "compilerOptions": { "allowSyntheticDefaultImports": true, "noImplicitAny": true, "esModuleInterop": true, "strictPropertyInitialization": false, // to keep backward compatibility "strictNullChecks": false // to keep backward compatibility }
read more
Shopware 6 Cheat Sheet

Shopware 6 Cheat Sheet

Open cookie settings again Create a custom link with target /cookie/offcanvas To open the canvas in the correct language, use e.g. /en/ as link prefix Reverse proxy mixed content error ERROR: Mixed Content: The page at 'https://domain.de/admin' was loaded over...
read more
Ubuntu increase SWAP file

Ubuntu increase SWAP file

From https://askubuntu.com/a/1066362 sudo swapoff /swapfile sudo fallocate -l 8G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile Verify: sudo swapon --show Make permanent: echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fsta...
read more
The Docker Compose Cheatsheet

The Docker Compose Cheatsheet

3. Volumes Mounting volumes is essentially required but can cause insane performance issues. Therefore it is very important to configure them correctly to prevent bottlenecks. This issue affects mainly Docker for Mac and Docker for Windows as Linux hosts can.....
read more
Nativescript: Gradle build failing from commandline

Nativescript: Gradle build failing from commandline

Cause of the issue: Licenses not accepted To solve the issue: Opt-in: Android Studio > Sdk Manager > SDK Tools > Android SDK Command-Line Tools (latest) Run: ~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --licenses Confirm all prompts with y to acc...
read more
Install JDK on macOS 10.7+

Install JDK on macOS 10.7+

Requirements: Homebrew 1. Install your favorite JDK version brew tap adoptopenjdk/openjdk brew install --cask adoptopenjdk8 brew install --cask adoptopenjdk9 brew install --cask adoptopenjdk10 brew install --cask adoptopenjdk11 brew install --cask adoptopenjdk...
read more
htaccess force SSL/HTTPS

htaccess force SSL/HTTPS

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Permanent 301 Temporary 302
read more
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
Laravel: Generate IDE helpers

Laravel: Generate IDE helpers

Add a composer command in the scripts section, so you can run composer run laravel:helper to update all Laravel IDE helpers: "scripts": { "laravel:helper": "php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helpe...
read more
Ubuntu adjust scrollbar thickness

Ubuntu adjust scrollbar thickness

https://superuser.com/questions/1272428/how-do-you-configure-the-appearance-of-scrollbars-in-firefox-57/1273053#1273053
read more
1 2 3 4