Tested with Firefox 103.1.
Use command vainfo
to check supported codecs.
Use radeontop
to check for AMD GPU usage.
convert -filter Triangle -define filter:support=2 -thumbnail %target-width% -unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality %jpeg-quality% -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB original-image.jpg optimized-image.jpg
%target-width%: Width of the final image in pixels. %jpeg-quality%: JPEG quality setting (0-100).
<?php | |
namespace App\Model\Table; | |
use Cake\ORM\Entity; | |
trait RefreshAssociationsTrait | |
{ | |
public function refreshAssociations(Entity $entity, array $associations = null) | |
{ | |
if ($associations === null) { |
This is what I had to do to build and install Neovim 0.3.4 with Python2 and Python3 support on Debian Stretch.
$ sudo apt install cmake libuv1-dev libmsgpack-dev libluajit-5.1-dev libunibilium-dev libtermkey-dev libvterm-dev libjemalloc-dev luajit lua-mpack gperf python3-pip
$ sudo pip2 install --upgrade pynvim
$ sudo pip3 install --upgrade pynvim
$ git clone neovim/neovim
<?php | |
App::uses('AssetCompress.AssetCompress', 'View/Helper'); | |
class AssetsHelper extends AssetCompressHelper { | |
public function inlineCss($file, $options = array()) { | |
if (Configure::read('debug') > 0) { | |
return $this->css($file, $options); | |
} | |
$file = $this->_addExt($file, '.css'); |