Skip to content

Instantly share code, notes, and snippets.

View slhck's full-sized avatar

Werner Robitza slhck

View GitHub Profile
@slhck
slhck / html5-video-presentation.html
Last active May 17, 2023 02:35
html5-video-presentation
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<style>
video {
width: 100%;
height: auto;
}
</style>
</head>
@slhck
slhck / xls_to_csv.py
Last active April 10, 2017 14:52
XLS(X) to CSV Converter
#/usr/bin/env python
# -*- coding: utf-8 -*-
"""XLS to CSV converter
Converts XLS(X) worksheets to CSV files
Author: Werner Robitza <[email protected]>
Requirements:
@slhck
slhck / shuffle-playlist.py
Created October 24, 2016 10:44
Shuffle playlists for SRC-HRC randomization without repeating SRCs
import random
from pprint import pprint
sources = 2
conditions = 2
subjects = 3
playlists = {}
for subject in range(1, subjects + 1):
@slhck
slhck / convert-avrate-logs.rb
Created November 25, 2016 10:13
Converts Logs from AVRate into parsable, tidy format
#!/usr/bin/env ruby
#
# Author: Werner Robitza
# Synopsis: Converts AVRate logs into a parsable, tidy format with one row per rating
# Requirements: gem install trollop awesome_print
require 'trollop'
require 'ap'
require 'csv'
@slhck
slhck / # ffmpeg - 2016-12-07_07-12-17.txt
Created December 7, 2016 12:20
ffmpeg on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for ffmpeg on macOS 10.10.5
Build date: 2016-12-07 07:12:17
@slhck
slhck / # ffmpeg - 2016-12-07_07-31-06.txt
Created December 7, 2016 12:34
ffmpeg on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for ffmpeg on macOS 10.10.5
Build date: 2016-12-07 07:31:06
@slhck
slhck / # python3 - 2017-01-23_14-52-08.txt
Created January 24, 2017 12:40
python3 on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for python3 on macOS 10.10.5
Build date: 2017-01-23 14:52:08
@slhck
slhck / # python3 - 2017-01-23_14-52-08.txt
Created January 25, 2017 15:52
python3 on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for python3 on macOS 10.10.5
Build date: 2017-01-23 14:52:08
@slhck
slhck / # grc - 2017-02-09_14-20-48.txt
Created February 9, 2017 13:24
grc on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for grc on macOS 10.10.5
Build date: 2017-02-09 14:20:48
@slhck
slhck / # git - 2017-11-23_11-50-43.txt
Created November 23, 2017 12:03
git on macOS 10.13.1 - Homebrew build logs
Homebrew build logs for git on macOS 10.13.1
Build date: 2017-11-23 11:50:43