To delete file
rm filename.txt
To delete files
rm filename1.txt filename2.php filename3.docx
To delete folder
rm foldername/
To delete all files with .html extension
rm *.html
by dev
To delete file
rm filename.txt
To delete files
rm filename1.txt filename2.php filename3.docx
To delete folder
rm foldername/
To delete all files with .html extension
rm *.html
by dev
It could be max_execution_time or max_input_time in .
This can usually be resolved by increasing the values for:
Restart php-fpm and nginx after the changes
or
Open httpd.conf and add
TimeOut 120
ProxyTimeout 120
Solve the issue in WAMP and XAMPP
To increase the max_execution_time
$cfg['ExecTimeLimit'] = 0;
This will resolve the issue for PhpMyAdmin imports.
by dev
To enable the Ioncube loader for PHP (For example, PHP 7), follow the steps below.
That’s all!
by dev
Problem:
Solution:
::class is only available from PHP 5.5 onward, So updating php version of the SERVER will solve the problem.
First check php version of your server with command line.
php -v
Note that phpinfo() may give different version that with the php -v
by dev
Adding RTL option
Just add the following css
.slick-slider .slick-track, .slick-slider .slick-list {
direction: ltr;
}
Responsive Slick
Add following lines to javascript.
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 1,
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
]