Skip to content

Instantly share code, notes, and snippets.

Avatar

David Strencsev PhiSYS

  • Cartagena, Spain
View GitHub Profile
@BlueSwordM
BlueSwordM / Decoding guide AV1 2022: Decoding and decoding aware encoding optimizations.md
Last active March 16, 2023 15:19
# Maximizing AV1 decoding speed: a modern 2022 encoding and decoding guide!
View Decoding guide AV1 2022: Decoding and decoding aware encoding optimizations.md

Hello. I've decided to share a lot more of my knowledge in public forums from now on, and to not divert any of my focus away from improving the world in a way that stays written in history.

This Gist is about discussing on how to improve AV1 decoding performance on 2 fronts: improving performance through more efficient decoding, and through decoding aware encoding.

Improving decoding performance through more efficient decoding.

Here are many tips on how to improve decoding performance on any machine:

1. Keep your favorite media player up to date!

@FrancisTurner
FrancisTurner / checkv6cfd.sh
Created June 7, 2021 10:21
Script to autoupdate armv6 cloudflared
View checkv6cfd.sh
#!/bin/bash -e
# checkv6cfd.sh
# Copyright (c) 2021, Francis Turner
# All rights reserved.
#
# Script that automates checking and if required downloading and replacing of the
# latest armv6 cloudflared as built by Darren Hobin (https://github.com/hobindar)
# for use on pi zeros and other armv6 devices
@MatteoOreficeIT
MatteoOreficeIT / Integrating_Guzzle_6_Asynchronous_Requests_with_ReactPHP.php
Last active November 23, 2021 06:46
Integrating Guzzle 6 Asynchronous Requests with ReactPHP
View Integrating_Guzzle_6_Asynchronous_Requests_with_ReactPHP.php
<?php
/**
* Credits to :
* @see https://gist.github.com/psampaz/7f2aad5d1d54eeeec8ae
*/
use GuzzleHttp\Handler\CurlMultiHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
@bgunebakan
bgunebakan / umurmur_raspi.sh
Created May 19, 2016 13:15
Umurmur server installer script for Raspberry Pi boards.
View umurmur_raspi.sh
#!/bin/sh
# umurmur_raspi . sh
#
# Copyright (c) 2016 Bilal Tonga
#
#
echo "building Dependencies . . . "
sudo apt-get install git
@mmstick
mmstick / transcode-install.sh
Last active October 20, 2022 21:48
Ubuntu 10-bit HEVC Transcoding Tools -- Contains a script to install x265-10bit-git, libass-git, ffmpeg-git and bomi-git; another for updating everything; as well as scripts for transcoding videos with ffmpeg. Transcoding scripts require the fish shell to be installed.
View transcode-install.sh
#!/bin/bash
sourcedir="$HOME/.local/src/"
mkdir "$sourcedir"
export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
function install-dependencies() {
# Install build tools and Mesa VDPAU support.
sudo apt-fast install -y cmake yasm autoconf build-essential mesa-vdpau-drivers \
libvdpau-va-gl1
@irazasyed
irazasyed / spintax.php
Last active January 16, 2023 17:20
PHP: Text Spinner Class - Nested spinning supported.
View spintax.php
<?PHP
/**
* Spintax - A helper class to process Spintax strings.
*
* @author Jason Davis - https://www.codedevelopr.com/
*
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/
*
* Updated with suggested performance improvement by @PhiSYS.
@soarez
soarez / ca.md
Last active March 28, 2023 19:53
How to setup your own CA with OpenSSL
View ca.md

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@Suave
Suave / gist:6127873
Created August 1, 2013 02:05
mysql: truncate all tables in one command line
View gist:6127873
mysql -Nse 'show tables' DATABASE_NAME | while read table; do mysql -e "truncate table $table" DATABASE_NAME; done