"Normally", these instructions should be also valid (in similar way) for other Linux distros.
1.- Install Xdebug using pacman:
sudo pacman -Sy xdebug
Number.prototype.map = function (in_min, in_max, out_min, out_max) { | |
return (this - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | |
} |