Skip to content

Instantly share code, notes, and snippets.

@bothie
bothie / opera-get-ffmpeg-from-68.sh
Last active June 21, 2020 18:31
Replace libffmpeg.so of opera version 54.0.2952.71 by the bundled file from opera version 68.0.3618.173
#! /bin/bash
rm -fr opera-get-ffmpeg-from-68.sh.tmp
TAB=" "
cat <<EOF
This script safely replaces the file libffmpeg.so from opera version
${TAB}54.0.2952.71
@bothie
bothie / wave64.h
Created August 24, 2019 17:24
Example of a possible new audio wave file format for practical use with high sample rates and depths that will overwhelm RIFF WAVE due to exceeding maximum file size of 2/4GB
#include <stdint.h>
/*
* Sample encodings
*/
#define SE_PCM_ULE 0 // Puls-Code-Modulation with unsigned integers least significant byte fist (little endian)
#define SE_PCM_UBE 1 // Puls-Code-Modulation with unsigned integers most significant byte fist (big endian)
#define SE_PCM_SLE 2 // Puls-Code-Modulation with signed integers least significant byte fist (little endian)
#define SE_PCM_SBE 3 // Puls-Code-Modulation with signed integers most significant byte fist (big endian)
/* eslint-disable */
/*
Webworker to update the consumer network.
Recieves workload messages from the main thread and responds once a solution
has been found.
*/