This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
md5sc() | |
{ | |
local target="$1" | |
local checksumString=$(md5sum "$target") | |
local checksum=${checksumString:0:32} | |
echo "$checksum" > "$target.md5" | |
echo "$checksum $target" | |
} | |
md5v() #md5 verifies a file based on it's .md5 sidecar file. return 0 == passed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.wav | |
do | |
oggenc -q 6 "$f" -o "${f%.wav}.ogg" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
RUNTIME=1500 #number of seconds to run for | |
DELAY=7 #time to delay between starting/closing progs | |
OUTFILE=$1 #file to write results in | |
FIRSTPROG="gimp" | |
SECONDPROG="geany" | |
THIRDPROG="rhythmbox" | |
STARTTIME=$SECONDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nvidia-settings: X configuration file generated by nvidia-settings | |
# nvidia-settings: version 304.51 (buildd@pluot) Tue Sep 25 01:59:08 UTC 2012 | |
#Section "Monitor" | |
# HorizSync source: edid, VertRefresh source: edid | |
# Identifier "Monitor1" | |
# VendorName "Unknown" | |
# ModelName "DELL 1704FPT" | |
# HorizSync 30.0 - 81.0 | |
# VertRefresh 56.0 - 76.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Teensy setup script. Configures your Ubuntu linux machine for developing on the Teensy. | |
#By: Brandon Foltz | |
#September 18, 2012 | |
#Released under MIT license: | |
#Copyright (c) 2012 Brandon Foltz | |
#Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including #without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to #the following conditions: |