Skip to content

Instantly share code, notes, and snippets.

View ggnull35's full-sized avatar
💭
Bug fix for life

Domo ggnull35

💭
Bug fix for life
View GitHub Profile
@ggnull35
ggnull35 / isobmff.md
Created June 1, 2018 12:32 — forked from yohhoy/isobmff.md
ISO Base Media File Format

AAC

ISO/IEC 14496-3, 1.6.2.1 AudioSpecificConfig

AudioSpecificConfig() {
	audioObjectType = GetAudioObjectType();
	samplingFrequencyIndex; // 4 bslbf
	if (samplingFrequencyIndex == 0xf) {
		samplingFrequency; // 24 uimsbf
	}
@ggnull35
ggnull35 / HDRCopy.sh
Created July 5, 2023 06:54 — forked from martinpickett/HDRCopy.sh
Bash script to copy HDR10 metadata from source to a transcode.
#!/bin/bash
# Pre-defined RGB & WP values for BT.2020
BT2020_xW=0.3127
BT2020_yW=0.3290
BT2020_xR=0.708
BT2020_yR=0.292
BT2020_xG=0.17
BT2020_yG=0.797
BT2020_xB=0.131
@ggnull35
ggnull35 / install-postgres-10-ubuntu.md
Created July 12, 2024 08:05 — forked from alistairewj/install-postgres-10-ubuntu.md
Install PostgreSQL 10 on Ubuntu

Install PostgreSQL 10 on Ubuntu

This is a quick guide to install PostgreSQL 10 - tested on Ubuntu 16.04 but likely can be used for Ubuntu 14.04 and 17.04 as well, with one minor modification detailed below.

(Optional) Uninstall other versions of postgres

To make life simple, remove all other versions of Postgres. Obviously not required, but again, makes life simple. If you have data in your previous version of postgres that you'd like to retain, then this is not recommended. Instead, you'll have to use pg_upgrade or pg_upgradecluster.