Tested with Firefox 103.1.
Use command vainfo to check supported codecs.
Use radeontop to check for AMD GPU usage.
| Create video test file with FFmpeg: | |
| # ffmpeg -lavfi "testsrc=640x480;sine=10:100" -t 30 -pix_fmt yuv420p test.mp4 |
| Install packages `wine, `gdb-mingw-w64-target` and `gdb-mingw-w64`. | |
| Start gdb server: | |
| `wine /usr/share/win64/gdbserver.exe localhost:1111 ~/godot/bin/godot.windows.editor.x86_64.exe --headless test_scene.tscn` | |
| Start gdb: | |
| `x86_64-w64-mingw32-gdb ~/godot/bin/godot.windows.editor.x86_64.exe` | |
| Connect gdb to gdb server: | |
| `target remote localhost:1111` |
| Allow moving left when left + right are pressed: | |
| https://github.com/simon-frankau/head-over-heels/blob/f4f318f9dea624b1760064a1da76b20b125a519d/src/directions.asm#L23 | |
| POKE 35998,6 | |
| Don't stutter when changing keys pressed: | |
| https://github.com/simon-frankau/head-over-heels/blob/f4f318f9dea624b1760064a1da76b20b125a519d/src/character.asm#L579 | |
| POKE 42913,24 |
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'); |