You are here


Technical Notes

These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of the category tags above for the notes in any category.

Installing Syncthing on Windows XP

More detailed instructions found at:…start.html


dd-wrt on Linksys 54G / 54GS

Choose a build

The big question is how to choose the right build. This site has a great introduction and says:


Phoronix Test Suite

Quick script for downloading and running Phoronix Test Suite

wget$PTS-$VER -O $PTS-$VER.tar.gz
tar -xf $PTS-$VER.tar.gz
rm -f $PTS-$VER.tar.gz
cd $PTS
#yum install php-cli php-dom
#apt-get install php5-cli
$PTS batch-setup #y n n n n y y
$PTS list-tests

$PTS batch-install stream
$PTS batch-install ramspeed
$PTS batch-run stream
$PTS batch-run ramspeed

ls -al .$PTS/test-results

20 basecamp alternatives for Project Management

  • Note that it is essential to see all the tasks to be done to complete a milestone. Some products, including basecamp, will not allow this but hide the tasks within lists

Office 2007 import/export in

The following worked for me:
apt-get install libgif4
dpkg -i odf-conv*.deb
vi /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu # and modify this line:
<prop oor:name="URLPattern"><value>*.docx *.DOCX *.docm *.DOCM</value></prop>



stat -c %y vs.exe | awk '{printf $1 "\n"}'

I found awk one of the most useful tools (almost like grep or sed).
awk treats the input line as a (database) record containing fields, using (by default) the space character as the field separator (but a different field separator can be specified in the command).
Then you can refer to any field of the line using its index ($1, $2, $3, etc.)
stat -c %y vs.exe | awk '{printf $1 ":" $3 "\n"}'
will print the first and the third fields on each line, putting ":" between the fields.
stat -c %y vs.exe | awk '{printf $1 ":" $3 }'



Subscribe to RSS - misc