https://plugins.jetbrains.com/plugin/9525--env-files-support
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
{"lastUpload":"2021-12-15T10:08:42.029Z","extensionVersion":"v3.4.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
<?php | |
namespace App\Traits; | |
use Spatie\Permission\Models\Permission; | |
use Spatie\Permission\Models\Role; | |
trait TenantRolesAndPermissions | |
{ | |
protected $see_email_students = 'see email students'; |
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
// user/snippets/php.json | |
"fil": { | |
"prefix": "fil", | |
"body": "\r\n/**\r\n * @var array\r\n */\r\nprotected $fillable = ['${1:FIELD}'];\r\n\r\n", | |
"description": "Fillable", | |
"scope": "" | |
}, | |
"gua": { | |
"prefix": "gua", |
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} YOURDOMAINNAME\.com [NC] | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://YOURDOMAINNAME.com/$1 [R,L] | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www\.YOURDOMAINNAME\.com$ | |
RewriteRule ^/?$ "http\:\/\/ww\.YOURDOMAINNAME\.com\/" [R=302,L] |
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
#redirect setup for laravel project on primary domain on a shared server | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?prep50mobileapp.com.ng$ | |
RewriteCond %{REQUEST_URI} !^/blog/public/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /blog/public/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?prep50mobileapp.com.ng$ | |
RewriteRule ^(/)?$ blog/public/index.php [L] |
OlderNewer