misc |
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. |
|||
Quick script for downloading and running Phoronix Test Suite VER=3.8.0 PTS=phoronix-test-suite wget http://www.phoronix-test-suite.com/download.php?file=$PTS-$VER -O $PTS-$VER.tar.gz tar -xf $PTS-$VER.tar.gz rm -f $PTS-$VER.tar.gz cd $PTS ./install-sh #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 |
|||
A couple of tools: |
|||
|
|||
Misc Drupal pages I want to remember: |
|||
Misc bookmarks: |
|||
The following worked for me: (taken from http://katana.oooninja.com/w/odf-converter-integrator ) |
|||
stat -c %y vs.exe | awk '{printf $1 "\n"}' I found awk one of the most useful tools (almost like grep or sed). |
|||
If you would like to extract the contents of an NT backup (.bkf) file in Linux, mtftar is a utility that translates a Microsoft Tape Format (MTF) stream into the tar format. You can pick up mtftar from the authors site at http://gpl.internetconnection.net. To get started, download the source code and compile. $ wget http://gpl.internetconnection.net/files/mtftar.tar.gz Using this utility is straight forward, as shown in the following example. |
|||

