- Null coalescing - check for null and performs next (?? ??=)
- Ternary - check for false and performs next (?:)
if (is_string($hashesForCherryPick)) $hashesForCherryPick = explode(" ", $hashesForCherryPick);
Docker Engine, Compose and Portainer installation on ubuntu 22. Optional: how to change default docker root folder (where images and containers are stored)
tutorial video tested it works To install on Ubuntu 22 you should type these commands in your CLI
$ curl -fsSl https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
$ sudo groupadd docker
git log --oneline
see to which commit you need to jumpgit reset --hard branch_hash
git push origin feature/DATRUECALL-180 --force
force push branch to remote originThere is a difference between ~
and ^
in Composer, though it might not be immediately obvious in some cases. Let me clarify:
~
(tilde): Allows updates for the last digit specified.^
(caret): Allows updates for all minor versions within the same major version.~7.3
:Author: GPT-4o
In JavaScript, there are three primary ways to define functions: Function Declarations, Function Expressions, and Arrow Functions. Each has its own syntax, behavior, and use cases. Here’s a detailed explanation of the differences:
Syntax:
function functionName(parameters) {
$ ssh-keygen -b 2048 -t rsa -C "[email protected]"
sudo systemctl enable [service_name]
sudo tar -xvzf ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin/