How to extinct humanity

teaching essential knowledge to tomorrows youth

Subscribe to RSS feed

Set Operations in the Unix shell

Download Managers for One-click-Hosters

, , , ...

I am in the search for replacement of JDownloader on my Desktop, since it is too slow and blown up for my system, as well for a commandline tool for my server.


So far i have found the following interesting ones:


With GUI:


Without GUI:




Y-Day 2011

Soon we will have again lots of fun while practicing martial arts outdoors:

http://www.y-day.de

All hail David Cope

, , ,

extracting flv from a rtmp stream

, , , ...

There are several tools to create flv files from a rtmp stream in linux, two of them being rtmpdump and its fork flvstreamer.
I tried to retrieve a stream where i constantly got ping messages in the process and it just stopped, so i looked for alternative ways.
The one i found was this huge script, which did crash on me: http://ubuntuforums.org/showthread.php?t=1159309
I was unwilling to search for the error or analyze the stream myself, so i came up with the following solution:


  1. capture stream with tcpdump
  2. extract streaming data with tcpflow
  3. pipe data through netcat
  4. connect rtmpdump to netcat
  5. ???
  6. profit!

sudo tcpdump -i <device> -p -s 0 -w <dumpfile> -v tcp src port 1935
tcpflow -r <dumpfile>
cat <streamfile>|netcat -l 1935&
rtmpdump -r "rtmp://localhost/streamer/stream.flv" -o <flvout>


Works quite reliable for me and is not as much code as the script which does not work.
If you end up downloading huge masses of files you can check them using flvtool2 with this script:

#!/bin/sh
if [ "$1" = "" ]
then
	echo "no filename given"
	exit
fi
if [ $(stat -c%s "$1") -eq 0 ]
then
	echo false
	exit
fi
if [ $(stat -c%s "$1") -eq `flvtool2 -P $1 /dev/null|grep filesize|sed 's/[^0-9]//g'` ]
then
	echo true
else
	echo false
fi


It returns "true" or "false", depending if projected filesize and actual filesize are equal, which means an incomplete file returns "false".



Got any questions? Ask me. :>

mp3check

, , , ...

After comcing across a faulty mp3-file in my music collection i looked up for a solution in apt-cache and found "mp3check", a tool for mp3 consisteny checking.
Right now i am running the following command in my mp3 folder:
mp3check -r -e -s -3 *|grep -v "bitrate switch">mp3errors.txt

I wonder about what will be found. bigsmile

Operashirt on Tour

, ,

Some pictures of me wearing my opera shirt during a systema instruction.




Cannabis legalisieren

, ,

An meinen Atem

An meinen Atem

Oh Odem, du des Lebens Glück
Wie fehlst du mir in diesem Augenblick.
Der Atmosphäre Druck, er lastet schwer
Belastet meine Atmung sehr.

Nur mühsam lässt die Brust sich heben
Im Vakuum, da müsst man leben.
Jedoch da fehlt der Sauerstoff,
und eben dieser fehlt mir doch.

Respiration ich hasse dich,
um vier Uhr morgens - verlässt du mich ?
Ich träume vom Erstickungstod
und wache auf - mit Atemnot.

HAPSIM

Connect a terminal and other hardware to your simulated avr in avrstudio:
http://www.helmix.at/hapsim/