Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Rene Hollander ReneHollander

🏠
Working from home
View GitHub Profile
View Log with English track removed from OP and ED
UnlinkMKV
Options
chapters: 1
cleanup: 0
edition: 1
ffmpeg: /usr/bin/ffmpeg
fixaudio: 0
fixaudiotemplate: -map 0 -acodec ac3 -ab 320k
fixsubtitles: 1
fixvideo: 0
View sonarr.trace.txt
19-1-7 19:52:47.5|Trace|CommandQueueManager|Updating command status
19-1-7 19:52:47.5|Trace|EventAggregator|Publishing CommandUpdatedEvent
19-1-7 19:52:47.5|Trace|EventAggregator|CommandUpdatedEvent -> CommandModule
19-1-7 19:52:47.5|Trace|EventAggregator|CommandUpdatedEvent <- CommandModule
19-1-7 19:52:47.5|Trace|EventAggregator|Publishing CommandExecutedEvent
19-1-7 19:52:47.5|Trace|EventAggregator|CommandExecutedEvent -> TaskManager
19-1-7 19:52:47.5|Trace|EventAggregator|CommandExecutedEvent <- TaskManager
19-1-7 19:52:47.5|Trace|EventAggregator|CommandExecutedEvent -> TaskModule
19-1-7 19:52:47.5|Trace|EventAggregator|CommandExecutedEvent <- TaskModule
19-1-7 19:52:47.5|Trace|CommandExecutor|DeleteLogFilesCommand <- DeleteLogFilesService [00:00:00.0125560]
View sonarr log
19-1-7 19:52:56.8|Debug|DownloadDecisionMaker|Processing release '[U3-Web] Dororo 2019 / [EP01][AMZN WEB-DL 1920x1080 AVC E-AC-3] ( Tezuka Osamu Works)' from 'Nyaa'
19-1-7 19:52:56.8|Debug|Parser|Parsing string '[U3-Web] Dororo 2019 / [EP01][AMZN WEB-DL 1920x1080 AVC E-AC-3] ( Tezuka Osamu Works)'
19-1-7 19:52:56.9|Trace|Parser|^(?<title>.+?)?(?:(?:[-_\W](?<![()\[!]))*(?<season>(?<!\d+|\(|\[|e|x)\d{2})(?<episode>(?<!e|x)\d{2}(?!p|i|\d+|\)|\]|\W\d+|\W(?:e|ep|x)\d+)))+(\W+|_|$)(?!\\)
19-1-7 19:52:56.9|Debug|Parser|Episode Parsed. Dororo - S20E19
19-1-7 19:52:56.9|Debug|Parser|Language parsed: English
19-1-7 19:52:56.9|Debug|QualityParser|Trying to parse quality for [U3-Web] Dororo 2019 / [EP01][AMZN WEB-DL 1920x1080 AVC E-AC-3] ( Tezuka Osamu Works)
19-1-7 19:52:56.9|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-1-7 19:52:56.9|Debug|Parser|Release Group parsed: U3-Web
19-1-7 19:52:56.9|Debug|ParsingService|No matching series Dororo
@ReneHollander
ReneHollander / get_ambient_values.py
Last active Jan 1, 2019
RaspberryPi read DHT22 with Adafruit_Python_DHT
View get_ambient_values.py
#!/usr/bin/python3
import sys
import Adafruit_DHT
sensor = Adafruit_DHT.DHT22
sensor_name = sys.argv[1]
pin = sys.argv[2]
humidity, temperature = Adafruit_DHT.read_retry(sensor, pin, delay_seconds=3)
View pr0gramm-download.user.js
// ==UserScript==
// @name pr0gramm Favoriten Download
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Rene8888
// @match http://pr0gramm.com/user/*/likes
// @grant GM_xmlhttpRequest
// @grant GM_download
// @connect pr0gramm.com
View Manhattan
Adding items
Building index
Building took 41.641s
Searching took 11.772 ms
Searching took 12.135 ms
Searching took 11.267 ms
Searching took 11.491 ms
Searching took 11.188 ms
Searching took 11.23 ms
Searching took 11.243 ms
@ReneHollander
ReneHollander / Angular AVX optimized
Created Jan 16, 2018
Optimized get_norm, normalize and two_means
View Angular AVX optimized
using AVX
Adding items
Building index
Building took 33.094s
Searching took 10.231 ms
Searching took 9.681 ms
Searching took 9.142 ms
Searching took 9.829 ms
Searching took 9.401 ms
Searching took 10.197 ms
@ReneHollander
ReneHollander / Angular
Created Jan 16, 2018
Vectorized euclidian and angular distance and verctorized dot product
View Angular
Adding items
Building index
Building took 53.623s
Searching took 15.394 ms
Searching took 14.526 ms
Searching took 14.187 ms
Searching took 14.201 ms
Searching took 13.615 ms
Searching took 14.154 ms
Searching took 14.527 ms
@ReneHollander
ReneHollander / main.cpp
Last active Jan 13, 2018
Optimization results
View main.cpp
#include <iostream>
#include <iomanip>
#include "../src/kissrandom.h"
#include "../src/annoylib.h"
#include <chrono>
#include <map>
int main(int argc, char **argv) {
int f = 96;
int n = 100000;
View 1080p_60fps.json
{
"PresetList": [
{
"AudioCopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",