This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <getopt.h> | |
#include <opus/opus.h> | |
struct NXAHeader { | |
uint8_t magic[4]; | |
uint32_t version; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PC2 <---eth cable--- PC1 <-- ((( wifi ))) | |
# connect as root on PC1 | |
su | |
# install networkmanager | |
pacman -S networkmanager | |
# enable networkmanager and start it | |
systemctl start NetworkManager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'open3' | |
require 'json' | |
ffmpeg_bin = '/usr/local/bin/ffmpeg' | |
target_il = -24.0 | |
target_lra = +11.0 | |
target_tp = -2.0 | |
samplerate = '48k' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install dpkg-dev and package dependencies | |
sudo apt-get install dpkg-dev | |
sudo apt-get install software-properties-common | |
sudo apt-get install python-software-properties | |
sudo apt-get install init-system-helpers | |
#Add repository: | |
sudo add-apt-repository ppa:nginx/stable | |
#Edit /etc/apt/sources.list.d/nginx-stable-lucid.list, add dpkg-src (no need if ubuntu verson >= 12.04): |