+
kudusch.deRSSContact

Kudusch’s Trash

A blog about Life, the Universe and Everything…


timeSeriesLib

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.

Usage

python timeSeries/timeSeries.py [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

Requirements

  • 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.

July 27, 2016


ASCII Converter for Alfred 2

This is another little workflow for the Alfred Powerpack

image

image

With this workflow you can convert a string of characters into their ASCII code values and vice versa.
You can convert from and to hexadecimal, binary and decimal.
The results will be displayed as soon as you run the workflow and copied to your clipboard when you press enter.

You can either enter a string or just use your clipboard content.

ASCII converter

 

This extension is written in AppleScript and does not require an internet connection to work; the conversion is done inside the script and does not rely on an extern service.

Enjoy.

If you experience any problem with this extension, found a bug or have feature request, hit me on twitter.

Changelog:
Version 1.1
-fixes a rather stupid bug where the conversion for hex would not be in hexadecimal, but in hexal

Version 1.0
-rewritten as an Alfred 2 workflow
-detection of input

 

March 19, 2013


Alfred.app ASCII converter

Update: This extension is also available as an Alfred 2 workflow.
You can download it here: ASCII Converter for Alfred 2


This is another little extension for the Alfred Powerpack

image
With this AppleScript extension you can convert a string of characters into their ASCII code values and vice versa.
You can convert from and to hexadecimal, binary and decimal.
The results will be displayed via Growl and copied to your clipboard.

image

ASCII converter

Download!

This extension is written in AppleScript and does not require an internet connection to work; the conversion is done inside the script and does not rely on an extern service.
It also uses Growl.app to notify you, when the script is done.

Enjoy.

If you experience any problem with this extension, found a bug or have feature request, hit me on twitter.

Changelog:
v.1
-new icon
-new keywords
-new features

June 11, 2012


Convert ASCII-text to binary and vice versa via Alfred

Update:
I wrote a new and better version of this extension. You can find it here.

Here’s another fun thing to do with the Alfred Powerpack.

With this extension you are able to convert regular text to binary code. Or decode binary ASCII to human-readable text.

Just type “bin con ” into Alfred followed by either ” en” and the text you want to encode or ” de” and the text you want to decode.
This extension will do the conversion for you and copies the result to your clipboard.

BinToASCII

This extension is written in AppleScript and does not require an internet connection to work; the conversion is done inside the script and does not rely on an extern service.
It also uses growl to notify you, when the script is done.

Enjoy.

UPDATE:
The extension uses Growl v1.3.
If you use a earlier version of growl, change
“tell application “Growl”” to
“tell application “GrowlHelperApp”“

Tags: alfredapplescriptasciiBinaryconversiondevextensionPowerPack
September 14, 2011