- Go github, create new repo
- Copy ssh/https link
- Go to your project folder
4.
git clone <paste link here>
and all project will be downloaded to new folder with same name as project is - Or you can set name of this folder
git clone <paste link here> newfolder
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
server { | |
listen 80; | |
server_name example.com; | |
# Redirect all traffic to SSL | |
rewrite ^ https://$server_name$request_uri? permanent; | |
} | |
server { |
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
<?php | |
/** | |
* Array to Text Table Generation Class | |
* | |
* @author Tony Landis <tony@tonylandis.com> | |
* @link http://www.tonylandis.com/ | |
* @copyright Copyright (C) 2006-2009 Tony Landis | |
* @license http://www.opensource.org/licenses/bsd-license.php | |
*/ | |
class ArrayToTextTable |
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
Usefull manual how to config with MS Code: https://medium.com/full-stack-development/laradock-xdebug-ms-code-no-problem-35a4338deb3f | |
Out-dated but partial helpfull phpstorm configs https://laradock.io/guides/#phpstorm-settings |
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
#!/bin/bash | |
brew list -1 > brew.txt \ # list out all installed packages | |
&& brew list -1 | xargs brew rm --force \ # remove all installed packages | |
&& brew install $(cat brew.txt | tr '\n' ' ') \ # install all previously installed packages | |
&& rm brew.txt |
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
<?php | |
/** | |
* Autoload PSR-4 and Wordpress compatible named classes, | |
* Require it in very begin of your functions.php or plugin | |
* | |
* @author Alexandr Shevchenko <ls.shov@gmail.com> | |
* @author Thomas J Belknap <tbelknap@holisticnetworking.net> | |
*/ | |
namespace App; //Change it | |
/** @var string : autoload root $rootDir */ |
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
<?php declare(strict_types=1); | |
namespace Tests\Feature; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Contracts\Console\Kernel; | |
/** | |
* Some functionality for TestCases | |
* |
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
/** | |
* Trait DecoratorTrait | |
* | |
* Have to implemented: | |
* @method getDecoratedObject() | |
* @static $decoratedClass | |
*/ | |
trait DecoratorTrait | |
{ | |
/** |
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
APP_ENV=testing | |
APP_DEBUG=true | |
APP_KEY=RMme3vqJUaNAxVi5kq33xBgRAxmp7yXU | |
DB_HOST=localhost | |
DB_DATABASE=test | |
DB_USERNAME=root | |
DB_PASSWORD= | |
CACHE_DRIVER=array |
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
<?php | |
/** | |
* Trait Decorator | |
* | |
* Required on host | |
* @method getDecoratedObject() | |
*/ | |
trait Decorator | |
{ |