Skip to content

Instantly share code, notes, and snippets.

@flocke
flocke / tdms_index.py
Created June 14, 2016 16:18
Very simple (and specific) python module to read a .tdms_index file produced by LabView (heavily based on npTDMS)
# -*- coding: utf-8 -*-
#
# DISCLAIMER:
# This module is very specific to our data structure, nevertheless it may provide a base for someone who wants to create
# a python module to parse their own .tdms_index files.
#
# CREDITS:
# A lot of the code re-used in this module is directly taken from npTDMS (https://github.com/adamreeve/npTDMS) and all
# credit goes to Adam Reeve as the original author.
#
@flocke
flocke / OpenBLAS-deploy.sh
Created May 11, 2016 15:08
Simple bash script to download, build and deploy an optimized version of OpenBLAS on an Ubuntu system.
#! /bin/bash
###############################################################################
## OpenBLAS-deploy.sh (v1.0)
##
## Simple bash script to download, build and deploy an optimized version of
## OpenBLAS on a Ubuntu system (tested with 16.04).
##
## Usage: ./OpenBLAS-deploy.sh [VERSION]
##
## VERSION: The version of OpenBLAS to deploy.
@flocke
flocke / molokai
Created November 24, 2014 19:15
Molokai color theme for profanity
[colours]
bkgnd=default
titlebar=cyan
statusbar=cyan
titlebar.text=white
titlebar.brackets=white
statusbar.text=white
statusbar.brackets=white
statusbar.active=yellow
statusbar.new=white
@flocke
flocke / new_user_identity_pgsql.php
Created August 28, 2014 06:32
Use PostgreSQL to set the identity for new users in RoundCube.
<?php
/**
* New user identity
*
* Populates a new user's default identity from LDAP on their first visit.
*
* This plugin requires that a working public_ldap directory be configured.
*
* @version @package_version@
* @author Kris Steinhoff