This file contains hidden or 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
После установки certbot сертификата, не возможно попасть в админку! | |
Решение: | |
В wp-config.php в самый верх(сразу под <?php) добавить строку: | |
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on'; | |
Затем установить специальный плагин |
This file contains hidden or 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
Как настроить SSH на сервере для увеличения времени сессий | |
Для устранения рассоединения при отсутствии активности в шелле необходимо настроить SHH сервис на стороне сервера. | |
Для этого нужно отредактировать файл «/etc/ssh/sshd_config». | |
Имя фала и его раположение одинаково как во FreeBSD, так и в CentOS. | |
Далее нам необходимо отредактировать три параметра: |
This file contains hidden or 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
cp /usr/local/vesta/data/templates/web/apache2/default.tpl /usr/local/vesta/data/templates/web/apache2/laravel.tpl | |
cp /usr/local/vesta/data/templates/web/apache2/default.stpl /usr/local/vesta/data/templates/web/apache2/laravel.stpl | |
cp /usr/local/vesta/data/templates/web/nginx/default.tpl /usr/local/vesta/data/templates/web/nginx/laravel.tpl | |
cp /usr/local/vesta/data/templates/web/nginx/default.stpl /usr/local/vesta/data/templates/web/nginx/laravel.stpl | |
vim /usr/local/vesta/data/templates/web/apache2/laravel.tpl | |
DocumentRoot %docroot%/public/ |
This file contains hidden or 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
Данные для гит 2019 | |
wpupru | |
[email protected] | |
git config --global user.name "wpupru" | |
git config --global user.email "[email protected]" | |
git config --global core.autocrlf true | |
git config --global core.safecrlf false |
This file contains hidden or 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
MindManager 2019 Pro rus | |
MP19-MM1-CP41-4BC6-E2B6 |
This file contains hidden or 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
Данные для гит 2019 | |
wpupru | |
[email protected] | |
git config --global user.name "wpupru" | |
git config --global user.email "[email protected]" | |
git config --global core.autocrlf true | |
git config --global core.safecrlf false |
This file contains hidden or 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
certutil -hashfile "путь к файлу" [HashAlgorithm] | |
certutil —hashfile "D:\Win10_1511_1_Russian_x32.iso" SHA1 | |
certutil —hashfile "Adobe.Illustrator.2019.u4.x64.Multilingual.iso" md5 | |
certutil —hashfile "Adobe.Illustrator.2019.u4.x64.Multilingual.iso" sha | |
Adobe.Illustrator.2019.u4.x64.Multilingual.iso | |
md5 |
This file contains hidden or 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
Входим в свой google accaunt. Переходим на страницу: | |
https://console.developers.google.com/cloud-resource-manager?authuser=1&pli=1 | |
https://console.developers.google.com/project | |
Новый проект в верхнем левом углу (Project → Create project). | |
В левой панельке ищем Библиотеки-Drive API (Library → Drive API) и включаем её (Enable). |
This file contains hidden or 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
Menu -> Tools -> Build System -> Build New System | |
Browser Run.sublime-build | |
Z:\Google\Chrome\App\Chrome-bin\chrome.exe | |
{ | |
"cmd": ["Z:\\Google\\Chrome\\App\\Chrome-bin\\chrome.exe", "$file"] | |
} |
This file contains hidden or 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
Plugins needs and installed: | |
1.Gist | |
2.Emmet | |
3.Color Picker | |
4.Sidebar Enchangement | |
5.Material Theme | |
6.Cobalt2 | |
7.HTML/CSS/Prettify |