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
<?php /** @noinspection PhpUnhandledExceptionInspection */ | |
namespace App\Support\Libraries\SeedGuard; | |
use Exception; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Facades\Schema; | |
use Psr\Log\LoggerInterface; |
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
#!/bin/bash | |
# If you keep getting permission denied or something do the following: | |
# - sudo nano /etc/ssh/sshd_config | |
# - Uncomment and ensure the following lines are present: | |
# PubkeyAuthentication yes | |
# AuthorizedKeysFile .ssh/authorized_keys | |
# - sudo systemctl restart ssh.service | |
# To Remove (reverse) the user/repo setup |
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
#!/bin/bash | |
clear | |
#color the output of echo | |
COLOR='\033[1;32m' | |
RED='\033[0;31m' | |
WHITE='\033[1;37m' | |
NC='\033[0m' # No Color |