Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / manga-cover-dl.pl
Last active August 29, 2015 14:21
Will lookup the manga title and try to download all covers from mcd.iosphe.re
#!/usr/bin/perl -w
use JSON;
use LWP::Simple;
use Data::Dumper;
my $mudb;
my $home = "$ENV{'HOME'}";
my $mudbfile = $home."/.mudb.json";
@dbiesecke
dbiesecke / README.md
Last active August 29, 2015 14:23
MPlayer Logo Entfernen

Avidemux

Meine Settings für Mplay Logo entfernen. Avidemux Plugin

Sender X Y W H
Pr7MAXX 600 32 100 34
RTL2 540 290 50 50
DMAX 50 30 65 25
@dbiesecke
dbiesecke / README.md
Last active August 29, 2015 14:23
Release Encoding - linux

RULES: 2008_DE_1080

Get ChapterTimeStart & Split file

$ mkvinfo testfile.mkv  | grep ChapterTimeStart
    |   + ChapterTimeStart: 00:00:00.000000000
    |   + ChapterTimeStart: 00:08:45.000000000
    |   + ChapterTimeStart: 00:14:47.856000000

| + ChapterTimeStart: 00:19:03.576000000

@dbiesecke
dbiesecke / Settings2.xml
Created July 10, 2015 05:02
PseudoTV Live Config - DE
<settings>
<setting id="Channel_1_type" value="9" />
<setting id="Channel_1_1" value="5400" />
<setting id="Channel_1_2" value="http://zdf_hds_de-f.akamaihd.net/i/de12_v1@87013/master.m3u8|X-Forwarded-For=91.63.136.21" />
<setting id="Channel_1_3" value="ZDF Info" />
<setting id="Channel_1_4" value="ZDF-Info" />
<setting id="Channel_2_type" value="9" />
<setting id="Channel_2_1" value="5400" />
<setting id="Channel_2_2" value="http://tagesschau-lh.akamaihd.net/i/tagesschau_1@119231/master.m3u8|X-Forwarded-For=91.63.136.21" />
<setting id="Channel_2_3" value="Tagesschchau24" />
@dbiesecke
dbiesecke / kodi-curl-PRET.patch
Last active August 29, 2015 14:24
kodi-curl-PRET.patch
diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
index a376105..7f5294f 100644
--- a/xbmc/filesystem/CurlFile.cpp
+++ b/xbmc/filesystem/CurlFile.cpp
@@ -461,8 +461,8 @@ void CCurlFile::SetCommonOptions(CReadState* state)
g_curlInterface.easy_setopt(h, CURLOPT_WRITEHEADER, state);
g_curlInterface.easy_setopt(h, CURLOPT_HEADERFUNCTION, header_callback);
g_curlInterface.easy_setopt(h, CURLOPT_HEADER, FALSE);
-
- g_curlInterface.easy_setopt(h, CURLOPT_FTP_USE_EPSV, 0); // turn off epsv
@dbiesecke
dbiesecke / MediaInfo.pm
Last active November 7, 2015 07:03
Video Decoding
package MediaInfo;
# use strict;
use warnings;
use IPC::Open3;
use Data::Dumper;
use Carp;
use Term::ANSIColor qw(:constants);
our (@ISA, @EXPORT_OK);
BEGIN {
@dbiesecke
dbiesecke / Dockerfile
Last active March 27, 2020 15:11
livestreamer - save TV Streams from Internet
#
FROM debian:jessie
MAINTAINER dbiesecke
ADD http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2015.6.1_all.deb /keyring.deb
RUN dpkg -i /keyring.deb
RUN echo 'deb http://www.deb-multimedia.org jessie main non-free' > /etc/apt/sources.list.d/ffmpeg.list
RUN echo 'deb ftp://ftp.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list.d/ffmpeg.list
RUN apt-get update
@dbiesecke
dbiesecke / README.md
Last active August 29, 2015 14:25
OTR Links - linux
Sender X Y
OTR Decoder link 32
otrtool_v0.8.0-r3.sh LINK 290
pyotr link 99
multicutmkv link 999
SaneRename link 999
fetcher link 99
scissor link 999
@dbiesecke
dbiesecke / README.md
Last active October 19, 2017 10:09
Export Amazon Mangas to JPEG

It's possible to Dump a buyed eBook to HDD with read.amazon.com.

The Chrome Webapp will store the JPEG files of our Manga in $HOME/.config/chromium/Profile 1/databases/https_read.amazon.com_0/9, a sqlite db.

the following script will try to dump all base64 links & dumpt all to HDD.

% ~/bin/dump_manga.sh "Für immer mein Vol.01" :(

@dbiesecke
dbiesecke / gist:bcc0d0a94e49b56693e1
Last active October 8, 2015 19:31
Mails new (DE) Manga's to your Kindle ( use it with cron )
use XML::RSS::Parser::Lite;
use LWP::Simple;
use POSIX qw(strftime);
use EasyMail;
$datestring = strftime "%Y-%m-%d", localtime;
printf("date and time - ".$datestring."\n");
my $xml = get("http://www.manga-tube.org/reader/feeds/rss");