Skip to content

Instantly share code, notes, and snippets.

View rudolfbyker's full-sized avatar
🌍
The grass withers, the flower falls, but the word of the Lord remains forever.

Rudolf Byker rudolfbyker

🌍
The grass withers, the flower falls, but the word of the Lord remains forever.
View GitHub Profile
// Go to https://www.youtube.com/playlist?list=WL&disable_polymer=true
// Open the javascript console (CTRL+SHIFT+K in Firefox)
// Run the following code:
function loadMore() {
// Click the "Load More" button
var el = document.getElementsByClassName('browse-items-load-more-button');
if (el.length) {
el[0].click();
return true;
@rudolfbyker
rudolfbyker / ffmpeg_installer.sh
Created December 30, 2017 16:41
Compile and install the latest FFMPEG
#!/usr/bin/env bash
# FFMPEG installation script by RW Byker, based on the guide at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
DATE=$(date "+%Y%m%d_%H%M%S")
DIR_SOURCES="$HOME/installers/ffmpeg_sources"
DIR_BUILD="$HOME/installers/ffmpeg_build"
DIR_BIN="$HOME/bin"
DIR_OLDVERSION="$HOME/installers/ffmpeg_old_${DATE}"
@rudolfbyker
rudolfbyker / split_wav.py
Created April 25, 2017 10:35
Split WAV files at silence
#!/usr/bin/env python
from scipy.io import wavfile
import os
import numpy as np
import argparse
from tqdm import tqdm
# Utility functions