Skip to content

Instantly share code, notes, and snippets.

View slhck's full-sized avatar

Werner Robitza slhck

View GitHub Profile
@slhck
slhck / # ffmpeg - 2019-03-22_09-26-56.txt
Created March 22, 2019 08:27
ffmpeg on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for ffmpeg on Ubuntu 18.10
Build date: 2019-03-22 09:26:56
@slhck
slhck / # autogen - 2019-03-02_14-14-08.txt
Created March 2, 2019 13:16
autogen on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for autogen on Ubuntu 18.10
Build date: 2019-03-02 14:14:08
@slhck
slhck / # shared-mime-info - 2019-02-13_08-53-25.txt
Created February 13, 2019 07:56
shared-mime-info on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for shared-mime-info on Ubuntu 18.10
Build date: 2019-02-13 08:53:25
@slhck
slhck / # ffmpeg - 2019-02-11_12-34-05.txt
Created February 11, 2019 11:35
ffmpeg on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for ffmpeg on Ubuntu 18.10
Build date: 2019-02-11 12:34:05
@slhck
slhck / # rubberband - 2019-02-11_11-14-45.txt
Created February 11, 2019 10:16
rubberband on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for rubberband on Ubuntu 18.10
Build date: 2019-02-11 11:14:45
@slhck
slhck / # libgsm - 2019-02-11_10-42-13.txt
Created February 11, 2019 09:46
libgsm on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for libgsm on Ubuntu 18.10
Build date: 2019-02-11 10:42:13
@slhck
slhck / ndjson_to_csv.py
Last active June 22, 2022 08:11
Convert NDJSON (LDJSON) files to CSV
#!/usr/bin/env python3
#
# ndjson_to_csv.py
#
# Author: Werner Robitza
#
# Convert .ndjson files to CSV.
# This assumes the same keys being used in every line of the input file.
# It works on a line-by-line basis, so it should be fast and memory-efficient.
@slhck
slhck / # ffmpeg - 2018-10-25_13-50-34.txt
Created October 25, 2018 12:21
ffmpeg on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for ffmpeg on macOS 10.13.6
Build date: 2018-10-25 13:50:34
@slhck
slhck / get_speedtest_results.py
Created May 23, 2018 18:02
Get Speedtest results from URL
#!/usr/bin/env python3.6
#
# Author: Werner Robitza
#
# Get speedtest results from speedtest URL
#
# Requirements: Python 3.6 and `pip3 install beautifulsoup4`
from bs4 import BeautifulSoup
import argparse
#!/use/bin/env python3
#
# Generic script for handling input and output files in parallel
#
# Author: Werner Robitza
import argparse
import os
from tqdm import tqdm
from multiprocessing import Pool