Skip to content

Instantly share code, notes, and snippets.

View PhiSYS's full-sized avatar

David Strencsev PhiSYS

  • Cartagena, Spain
View GitHub Profile
soarez /
Last active November 29, 2023 13:29
How to setup your own CA with OpenSSL

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.

BlueSwordM / Simple SVT-AV1 Beginner Guide Part
Last active November 24, 2023 12:15
Simple SVT-AV1 Beginner Guide Part 1
View Simple SVT-AV1 Beginner Guide Part

Since we're dealing with simpler AV1 encoding, that does mean we'll be eskewing aomenc-av1, since it requires 2-pass encoding to be able to take advantage of it, and I use it externally since I have access to a special build.

Now, let's get on with the simple guide.

You'll first need to be reasonably competent with command line builds or use a recent up to date ffmpeg GUI with support for SVT-AV1.

As such, I would recommend getting a master git ffmpeg build for the operating system of your choice right here:

hlorand /
Last active November 24, 2023 04:02
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

irazasyed / spintax.php
Last active October 26, 2023 00:01
PHP: Text Spinner Class - Nested spinning supported.
View spintax.php
* Spintax - A helper class to process Spintax strings.
class Spintax
* Set seed to make the spinner predictable.
BlueSwordM / Decoding guide AV1 2022: Decoding and decoding aware encoding
Last active October 25, 2023 14:55
# Maximizing AV1 decoding speed: a modern 2022 encoding and decoding guide!
View Decoding guide AV1 2022: Decoding and decoding aware encoding

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!

mmstick /
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.
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 \
FrancisTurner /
Created June 7, 2021 10:21
Script to autoupdate armv6 cloudflared
#!/bin/bash -e
# 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 (
# for use on pi zeros and other armv6 devices
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
* Credits to :
* @see
use GuzzleHttp\Handler\CurlMultiHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
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
bgunebakan /
Created May 19, 2016 13:15
Umurmur server installer script for Raspberry Pi boards.
# umurmur_raspi . sh
# Copyright (c) 2016 Bilal Tonga
echo "building Dependencies . . . "
sudo apt-get install git