null coalescing operator Before Now Write to left-hand operand nullsafe operator Before Now
All posts by Atreju
Jira JQL
Search filter to find all Tickets with an assigned comment
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 […]
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. […]
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 […]
Raspberry Pi Known issues
Outdated npm version If an outdated npm version is shown when running npm -v, check the following post on how tu clear the Bash cache: https://askubuntu.com/questions/1036278/npm-is-incorrect-version-on-latest-ubuntu-18-04-installation PHP plugins required by Laravel and/or composer are missing apt install php7.0-mbstring php7.0-zip php7.0-xml php7.0-curl
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 […]
Autocompletion & Autofill
Links What web devs should know but don’t Create Amazing Password Forms Autocomplete detail tokens
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 […]
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 {}}).