Skip to content

Instantly share code, notes, and snippets.

@codekoala
Created April 10, 2012 16:10
Show Gist options
  • Select an option

  • Save codekoala/2352493 to your computer and use it in GitHub Desktop.

Select an option

Save codekoala/2352493 to your computer and use it in GitHub Desktop.
Simple interface for speedometer.py
#!/bin/sh
params=""
first=1
for int in "$@"; do
if [ $first -eq 1 ]; then
first=0
else
params="$params -c"
fi
params="$params -rx $int -tx $int"
done
/usr/bin/speedometer $params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment