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 --version | |
И если вы увидите что то вроде этого | |
git version 1.9.3 (Apple Git-50) | |
то это статья для вас. Если вы видите версию 2.3.1 (на момент написания статьи) последняя была такая, то тогда у вас все хорошо. |
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
1. Simple (Node.js LTS, Gulp, rimraf, NCU): | |
sudo apt-add-repository -y ppa:brightbox/ruby-ng; sudo apt-get update; sudo apt-get -y install curl; curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -; sudo apt-get -y install nodejs; sudo npm i -g gulp rimraf npm-check-updates bower; sudo chown -R $USER:$(id -gn $USER) /home/$USER/.config | |
2. Advanced (Node.js LTS, Gulp, rimraf, NCU, Ruby, Jekyll, Jekyll paginate) | |
sudo apt-add-repository -y ppa:brightbox/ruby-ng; sudo apt-get update; sudo apt-get -y install curl ruby2.5 ruby2.5-dev gcc make g++ libffi-dev; curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -; sudo apt-get -y install nodejs; sudo gem i jekyll; sudo gem i jekyll-paginate-v2; sudo npm i -g gulp rimraf npm-check-updates bower; sudo chown -R $USER:$(id -gn $USER) /home/$USER/.config | |
3. Длинна командной строки (добавить PROMPT_DIRTRIM=3 в конец и сохранить файл): | |
sudo nano ~/.bashrc | |
PROMPT_DIRTRIM=3 |
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
{ | |
"aiowps_enable_debug": "", | |
"aiowps_remove_wp_generator_meta_info": "1", | |
"aiowps_prevent_hotlinking": "1", | |
"aiowps_enable_login_lockdown": "1", | |
"aiowps_allow_unlock_requests": "", | |
"aiowps_max_login_attempts": 3, | |
"aiowps_retry_time_period": 5, | |
"aiowps_lockout_time_length": 60, | |
"aiowps_set_generic_login_msg": "", |