PHP 8

null coalescing operator Before Now Write to left-hand operand nullsafe operator Before Now

Read More

Ruby

Known issues You don’t have write permissions for the /Library/Ruby/Gems/2.6.0 directory. It is recommended to install a separate Ruby instance, beside the one that is delivered and mainly used by macOS to prevent unexpected side effects. To do so, follow the listed instructions. Install Homebrew. Install rbenv (a version manager for Ruby). Make sure you […]

Read More

MAMP: Basics

Enabling Xdebug1 To enable Xdebug for the MAMP PHP instance, you only need to extend the configuration for the used PHP version. You can find the configuration files in the following locations: /Applications/MAMP/conf/php[version]/php.ini /Applications/MAMP/bin/php/php[version]/conf/php.ini Now uncomment or add the following configuration options to the end of the file, where you should find the [xdebug] section. […]

Read More

Raspberry Pi: Apache

Install Apache First, make sure you update the package manager. sudo apt update sudo apt upgrade sudo apt update Then, install the apache2 package. sudo apt install apache2 Now, make sure that apache has access to the webservers public folder. You may need to rerun this, when you add new folders/files to your server. sudo […]

Read More

Raspberry Pi: Basics

Check installed Raspbian Kernel version The current version can be found here. uname -a Install yarn See https://yarnpkg.com/en/docs/install#debian-stable Install a webserver See https://howtoraspberrypi.com/how-to-install-web-server-raspberry-pi-lamp/ Install samba First, update the package manager. sudo apt update && sudo apt upgrad Then, install the following packages. sudo apt install samba samba-common-bin Finally, you need to configure the installation. sudo […]

Read More

GIT: move repository

If you want to move a remote repository to a new server you can follow these steps to transfer all you data.1 Fetch remote data In your local clone, fetch all remote data. $ git fetch origin Check for local branch copies Check if you have a copy of each remote branch. Only local branches […]

Read More

Vue.js: Unit tests

Unit tests in Vue.js are driven with Jest. Known issues SyntaxError: Unexpected token export This issue is most likely caused by an empty object export on the component (e.g. data() {return {}}).

Read More