Skip to content

Instantly share code, notes, and snippets.

Avatar

Konrad Strack konradstrack

View GitHub Profile
@konradstrack
konradstrack / change_backlight.py
Last active Sep 7, 2015
A script to uniformly (logarithmically) change screen brightness using xbacklight
View change_backlight.py
#!/usr/bin/env python3
__author__ = 'Konrad Strack'
__copyright__ = 'Copyright 2014, Konrad Strack'
__license__ = 'MIT'
from math import log10
import sys
import subprocess
@konradstrack
konradstrack / toefl-speaking-trainer.sh
Created Mar 16, 2014
A simple script for practicing for the TOEFL exam. It uses espeak to read questions from a file, and for each question records the response and plays it back.
View toefl-speaking-trainer.sh
#!/bin/bash
if [ $# -lt 2 ]; then
echo "usage: $1 questions_file output_dir"
exit -1
fi
questions_file=$1
output_dir=$2
You can’t perform that action at this time.