This website uses cookies for anonymised tracking and analytics. The tracking software used is called Matomo and is self-hosted. Your data never leaves this server and is not used for advertising or other nefarious purposes. By clicking accept, you agree to the privacy policy and to the use of cookies in tracking your use of the website. If, at a later time, you want to opt-out from this decision, visit this page.

Kudusch’s Trash

A blog about Life, the Universe and Everything…


July 27, 2016

Convert case-based to time-based data

This Python library converts case-based to time-based data, which can be used in time series analysis.


python timeSeries/ [OPTIONS] [YOUR DATA].csv

The given data must be a csv-file, with either ,or ; as the delimiter.

The options file must contain the following parameters:

  • Start: The variable containing the timestamp stating the beginning of the case
  • End: The variable containing the timestamp stating the the end of the case
  • Delimiter: The delimiter used for input and output csv
  • Duration: The length of the time series in seconds

… and one or more of the following parameters:

  • Variable: The variable to convert
  • Values: The expected values of the variable


  • Python 2.7

Deutsch: Mit dieser Library lassen sich Datensätze, die auf Fallbasis codiert sind in Zeit-basierte Daten umwandeln, mit denen Zeitreihenanalysen durchgeführt werden können. Die Library ist in Python geschrieben und nutzt .csv als Ein- und Ausgabe-Format.

Minifer for Alfred

February 28, 2016


If you are a web developer, chances are, you stumbled over this piece of software. This minifier removes all unnecessary line breaks, comments and whitespace in your CSS or JS code.

To make it even simpler to use, I wrote an Alfred Workflow that minifies any CSS or JavaScript code in your clipboard.

Kudos to Matthias Mullie for creating Minify!

To use Minifer for Alfred, just download and install the Workflow.

Version 1.0:
-initial release

Tags: alfredalfred2cssjavascriptjsminifierminifyworkflow

Sass Helper for Alfred

November 26, 2014

Sass Alfred

I just discovered the truly awesome css language extension Sass and as usual I wanted to use it via Alfred App. So I glued together this little workflow:

Sass Helper

You can either convert the currently selected file in the Finder or paste Sass code to the workflow. Of cause you’ll have to install Sass on your machine to make this work. But that’s super easy.

So, have fun and take care.

Version 1.0:

-initial release

Tags: alfredalfred2csssassworkflow

Video Downloader for Alfred

September 22, 2014

This workflow lets you download videos or just the audio track of a video from YouTube, Vimeo, Vine and many more [1] to your computer.

The workflow uses youtube-dl to download the videos and ffmpeg to extract the audio. Both come bundled with the workflow so there’s no need to install anything else.

You just open Alfred, type…

video-dl (optional: video url)

… to download the video from the currently opened Safari tab or paste the URL to the video. Choose whether you want to download the video or just the audio from the URL and wait for your download to finish.


To install the workflow click the download link and add it to your existing workflows by double clicking the file. After that you’re ready to go, no extra configuration required.


Version 1.1
-bug fixes and new updated version of youtube-dl

Version 1.0
-initial release


1: Full list of supported sites ()

Update, Umzug und neues Aussehen

April 3, 2014



Goodbye Tumblr, hello!

Im Zuge meines Umzugs von zu ReHost24 habe ich mich von meinem (in der Szene extrem populären) Tumblr Blog getrennt und hoste meinen Blog jetzt selbst. Wie immer war diese Entscheidung verbunden mit diversem gefummel und einigen gereizten Nerven, aber wert war’s trotzdem.

Die alten Links auf den Tumblr funktionieren momentan leider noch nicht, da werde ich mir noch was einfallen lassen müssen. Auch eine Suche steht noch auf meiner To do-Liste.

Bis dahin aber funktioniert das hier alles prima und ist grundsätzlich einfach viel toller.

Impressum / RSS /