×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
aria-label="Twitter"
attribute on a
tag<a href="<?=$hostname?>" aria-label="Sibrdzne" class="bg-logo"></a>
jquery-1.7.2.min.js
was replaced by jquery-3.5.1.min.js
lighthouse
)
Advice: Add rel="noopener"
or rel="noreferrer"
to any external links to improve performance and prevent security vulnerabilities<a class="a_" rel="noreferrer" href="http://orthodoxy.ge" target="_blank" title="მართლმადიდებლური საიტი orthodoxy.ge">orthodoxy.ge</a>
Links that the noreferrer
was used:
orthodoxy.ge
teodore.ge
qadageba.ge
function age($dob) {
// Seconds in a year
$seconds = 31556926;
// Calc. age based on the provided date_of_birth val
$age = floor((time() - strtotime($dob)) / $seconds);
return $age;
}
many to many
relationship user_id
inside user_roles
table must be exactly the same as the id
field inside users
table
Example: if users->id
is bigint(20) unsigned
then user_role->user_id
must be exactly bigint(20) unsigned
php artisan make:model Asset -m -c -r
Long version of the above command would be:php artisan make:model Asset --migration --controller --resource
$Datetime_object = DateTime::createFromFormat('Y-m-d', "2020-12-23");
<?
instead of <?php
then we must configure short_open_tag
setting in php.ini
to on
<?
echo '"short_open_tag" should be ON if we want to use short tags ' ;
?>
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
The type of encoding used on the dataContent-Encoding: gzip
The MIME type of this contentContent-Type: text/html; charset=UTF-8
A name for the serverServer: nginx
The date and time that the message was sentDate: Fri, 30 Oct 2020 14:42:53 GMT
Gives the date/time after which the response is considered staleExpires: Thu, 01 Dec 1994 16:00:00 GMT
Accept: text/html, application/xml,...
List of acceptable encodings (HTTP compression types)Accept-Encoding: gzip, deflate, br
An HTTP cookie previously sent by the server with Set-Cookie (below)Cookie: _ga=GA1.2.588481944.1592916481; _fbp=fb.1.1592916481604.1420873611; ...
The user agent string of the user agent (browser identifier string)User-Agent: Mozilla/5.0 (Linux...
Authentication credentials for HTTP authenticationAuthorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
The email address of the user making the requestFrom: user@example.com
The length of the request body in octets (8-bit bytes).Content-Length: 348
...
Note:browsers that do not support compliant compression method will download uncompressed data