27/08/2023
- Go to
terminal
of your cpanel account and type the command below to generateecdsa
key pair
ssh-keygen -t ecdsa -b 251 -c "EMAIL_ADDRESS"
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Support\Facades\Route; | |
use Filament\Support\Facades\FilamentView; | |
use Filament\View\PanelsRenderHook; | |
use Symfony\Component\HttpFoundation\StreamedResponse; |
->modifyQueryUsing(function (Builder $query, $livewire) { | |
$hasFilters = collect($livewire->tableFilters) | |
->filter(fn($filter) => !empty($filter['values'])) | |
->isNotEmpty(); | |
return ($livewire->hasTableSearch() || $hasFilters) ? $query : $query->whereRaw('1 = 0'); | |
}) |
<?php | |
namespace App\Traits; | |
trait HasActiveIcon | |
{ | |
public static function getActiveNavigationIcon(): ?string | |
{ | |
return str(self::getNavigationIcon()) | |
->replace('heroicon-o-', 'heroicon-s-') |
<?php | |
namespace App\Traits; | |
use Illuminate\Database\Eloquent\Builder; | |
trait SearchTranslatableField | |
{ | |
public function scopeSearchByTranslatableField(Builder $query, string $value, string $field = 'name'): Builder | |
{ |
class RepeatTableHeadersHandler extends Paged.Handler { | |
constructor(chunker, polisher, caller) { | |
super(chunker, polisher, caller) | |
this.splitTablesRefs = [] | |
} | |
afterPageLayout(pageElement, page, breakToken, chunker) { | |
this.chunker = chunker | |
this.splitTablesRefs = [] |
<div class="flex flex-col items-center"> | |
<div class="w-full md:w-1/2 flex flex-col items-center h-64"> | |
<div class="w-full px-4"> | |
<div x-data="selectConfigs()" x-init="fetchOptions()" class="flex flex-col items-center relative"> | |
<div class="w-full"> | |
<div @click.away="close()" class="my-2 p-1 bg-white flex border border-gray-200 rounded"> | |
<input | |
x-model="filter" | |
x-transition:leave="transition ease-in duration-100" | |
x-transition:leave-start="opacity-100" |
List of all AWS servers | |
AWS (Amazon Web Services) - this company provides PUBG servers. Not all of them uses in a game, but there is full Server - IP list. Maybe this info can be useful for you: | |
US EAST - North Virginia | |
us-east-1 - 23.23.255.255 | |
us-east-1 - 34.192.0.54 | |
us-east-1 - 34.224.0.252 | |
us-east-1 - 50.17.255.254 | |
us-east-1 - 50.19.255.254 | |
us-east-1 - 52.1.255.254 |