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
Создаем репозиторий и ставим галочку о создании файла ридми, так как пустых папок гитхаб не видит. | |
После создания репозитория, идем в консоль и даем команду создать клон нового репозитория в нужной нам папке | |
cd /d/localhost/ | |
cd /disk letter/folder/ | |
git clone https://github.com/yourgit_folder/yourgitname.git |
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
Создаем репозиторий и ставим галочку о создании файла ридми, так как пустых папок гитхаб не видит. | |
После создания репозитория, идем в консоль и даем команду создать клон нового репозитория в нужной нам папке | |
cd /d/localhost/ | |
cd /disk letter/folder/ | |
git clone https://github.com/yourgit_folder/yourgitname.git |
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
1sxHkVgoENWHjzpiYK5SCLQPfm4fYN8P7 | |
16UN4huFJJDUudB7Gb4shFtgXGaMd5moRK | |
1BpVsKojcw1Ni6ffUthnhAVJZLXkudsQbi | |
1KuEtFBewsU4QBSdPE2pFwcL5YkpLiQDwp | |
1CjkRvDsTR4EiebPNYKv135Qo7D8qidgqz | |
1JG98dsCFzvEJswuQnjPBAWpJdM5AATABg | |
1Ftresw5QtNZiHoqE1QQhoy8RHJm3aAP3e | |
161nm9d1UtzXs9hYsB6syX95oor5sc2TPW |
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
.Для начала создаем в любом месте вашей системы файл .gitignore_global (имя файла, как и его расположение также может быть абсолютно любым) и добавляем в него ресурсы, которые будут игнорироваться по-умолчанию, например вышеназванная папка .idea. Чтобы Git узнал о вашем намерении игнорировать эти ресурсы глобально, необходимо в командной строке запустить следующую команду: | |
git config --global core.excludesfile "/path/to/your/.gitignore_global" | |
Чтобы посмотреть список файлов, для которых включено глобальное игнорирование, достаточно запустить следующую команду: | |
git config --global core.excludesfile |
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
HTaccess for laravel local | |
HTaccess for laravel local | |
#Включаем перенаправление сервера Апач | |
RewriteEngine On | |
#Включаем правило - Если пользователь обратился не к каталогу public, то будет перенаправлен туда | |
RewriteCond %{REQUEST_URI} !^public | |
RewriteRule ^(.*)$ http://localhost/lara***.loc/public/$1 [L] |
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
Установка composer in Windows | |
Run this in your terminal to get the latest Composer version: | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" |
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
"inurl:zippyshare.com The7" | |
"inurl:hotfiles.ro The7" | |
"inurl:ul.to The7" | |
"inurl:mirrorcreator.com The7" | |
"inurl:uploaded.net The7" | |
"inurl:zippyshare.ws The7" | |
"inurl:userscloud.com The7" | |
"inurl:solidfiles.com The7" | |
"inurl:mediafire.com The7" |
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
Start the Apache service and let it to start automatically on every reboot: | |
sudo systemctl start apache2 | |
sudo systemctl enable apache2 |
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
1. sudo tar vxjf sublime_text_3_build_3083_x64.tar.bz2 | |
2.sudo mv sublime_text_3 /opt/ | |
3.sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime | |
4.sublime //проверка работы | |
5.Создать файл с названием sublime.desktop и поместить в него: |
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
Файлы и директории | |
cd /home - перейти в директорию '/home' | |
cd .. - перейти в директорию уровнем выше | |
cd ../.. - перейти в директорию двумя уровнями выше | |
cd - перейти в домашнюю директорию | |
cd ~user - перейти в домашнюю директорию пользователя user | |
cd - перейти в директорию, в которой находились до перехода в текущую директорию | |
pwd - показать текущюю директорию | |
ls - отобразить содержимое текущей директории |