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
Public Function PORTABLE_TODAY() | |
Dim monthString As String | |
Dim dayString As String | |
Dim month As Integer | |
Dim day As Integer | |
month = Int(DatePart("m", Now())) | |
day = Int(DatePart("d", Now())) | |
If month < 10 Then |
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
[Unit] | |
Description=boot script | |
[Service] | |
#Type=forking | |
ExecStart=/etc/rc.local | |
TimeoutSec=0 | |
RemainAfterExit=yes | |
[Install] |
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
bonnie++ -u root -n 200 -d /mnt/hdd -q >> results.csv | |
cat results.csv | bon_csv2html > results.html |
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 | |
if [ -z "$1" ]; then | |
echo "Please supply target device" | |
else | |
outFile=$2 | |
if [ -n "$outFile" ]; then | |
echo "logging to $2" | |
else | |
echo "no logfile supplied => /dev/null" | |
outFile="/dev/null" |
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 | |
if [ -z "$1" ]; then | |
echo "Please supply target device" | |
else | |
echo "running test on '$1'" | |
numberRuns=$3 | |
if [ -z "$numberRuns" ]; then | |
numberRuns=5 | |
echo "running $numberRuns times (default)" | |
else |
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 | |
if [ -z "$1" ]; then | |
echo "Please supply target device" | |
else | |
echo "running test on '$1'" | |
numberRuns=$3 | |
if [ -z "$numberRuns" ]; then | |
numberRuns=5 | |
echo "running $numberRuns times (default)" | |
else |