This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Комадны | |
tmux list-command - список поддерживаемых команд | |
Ctrl+b : - открыть командную консоль | |
Ctrl+b ? - список поддерживаемых клавитурных комбинаций | |
Окна | |
Ctrl+b c - создать окно | |
Ctrl+b w - список окон | |
Ctrl+b , - переименовать окно | |
Ctrl+b 0..9 - перейти в окно с номером 0..9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global credential.helper "cache --timeout 31536000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install wget php72w-devel gcc make autoconf libmcrypt libmcrypt-devel -y | |
wget https://pecl.php.net/get/mcrypt-1.0.3.tgz | |
tar xvf mcrypt-1.0.3.tgz | |
cd mcrypt-1.0.3 | |
phpize | |
./configure --with-php-config=/usr/bin/php-config | |
make | |
make install | |
add "extension=mcrypt" to php.ini file | |
restart php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://pecl.php.net/get/mcrypt-1.0.3.tgz | |
tar xvf mcrypt-1.0.3.tgz | |
cd mcrypt-1.0.3 | |
sudo apt install php-dev -y | |
phpize | |
./configure --with-php-config=/usr/bin/php-config7.2 | |
make | |
sudo make install | |
add "extension=mcrypt" to php.ini file | |
restart php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Левый верхний угол с кооридинатами [0, 0]. Правый нижний - [width-1, height-1] | |
Переменные width, height, доступные в функциях, содержат ширину и высоту окна canvas созданного с помощью createCanvas. | |
Функция start выполняет только 1 раз. Функция draw - множество раз, если не вызвана функция noLoop. | |
Функция redraw вызывает функцию draw один раз. | |