## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 year"
ExpiresByType text/x-javascript "access 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType font/truetype "access plus 1 year"
ExpiresByType font/opentype "access plus 1 year"
ExpiresByType application/x-font-woff   "access plus 1 year"
</IfModule>
## EXPIRES CACHING ##

query snippet bellows finds max length of columns in tables for specific database

SET @database = database();
# SET @database = 'customDatabaseName';
SET group_concat_max_len = 1024*1024;
SET @query = (SELECT CONCAT(GROUP_CONCAT(
                                    CONCAT('(
SELECT \'',COLUMN_NAME,'\' AS `column`,
\'',TABLE_NAME,'\' AS `table_name`,
ROUND(LENGTH(`',COLUMN_NAME,'`) / \'',CHARACTER_MAXIMUM_LENGTH,'\' * 100) AS `utilization`,
\'',CHARACTER_MAXIMUM_LENGTH,'\' AS `max_length`,
LENGTH(`',COLUMN_NAME,'`) AS `length` ',
                                           'FROM `',TABLE_SCHEMA,'`.`',TABLE_NAME,'` ORDER BY `length` DESC LIMIT 1)')
                                    SEPARATOR ' UNION ALL '), '  ORDER BY `utilization` DESC ;') AS _SQL
              FROM INFORMATION_SCHEMA.COLUMNS
              WHERE TABLE_SCHEMA = @database);

PREPARE stmt1 FROM @query;
EXECUTE stmt1;

https://stackoverflow.com/a/8554269/1660478

git filter-branch --env-filter '

OLD_EMAIL="[email protected]"
CORRECT_NAME="Lukasz Podolski"
CORRECT_EMAIL="[email protected]"

if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
    export GIT_COMMITTER_NAME="$CORRECT_NAME"
    export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
then
    export GIT_AUTHOR_NAME="$CORRECT_NAME"
    export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
fi
' --tag-name-filter cat -- --branches --tags

<?php
class A {private $x = 1;}

// Pre PHP 7 code
$getX = function() {return $this->x;};
$getXCB = $getX->bindTo(new A, 'A'); // intermediate closure
echo $getXCB();

// PHP 7+ code
$getX = function() {return $this->x;};
echo $getX->call(new A);