Convert HEIC images to JPEG on Mac

Convert HEIC images to JPEG on Mac

for f in *.HEIC do sips -s format jpeg "${f}" -Z 3000 --out "${f%.*}.jpg" done
read more
Ubuntu Driver WLAN TP-Link Archer T3U Plus

Ubuntu Driver WLAN TP-Link Archer T3U Plus

Installation The following steps worked with Ubuntu 22.04 sudo apt update; sudo apt install git linux-headers-generic dkms wget https://github.com/RinCat/RTL88x2BU-Linux-Driver/archive/master.zip unzip master.zip cd RTL88x2BU-Linux-Driver-master sudo make unin...
read more
Laravel CheatSheet

Laravel CheatSheet

App key php artisan key:generate Migration: Create foreign key $table->foreignIdFor(OtherClass::class); Create full entity php artisan make:model -mc MyNewModel Base libraries spatie/laravel-query-builder rbdwllr/reallysimplejwt nannehuiges/jsend guzzlehttp...
read more
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
1 2 3 5