Linux file navigation aide (MSSwan python3 script)

If you have a lot of places that you routinely visit in your file system, often with ludicrously long path names, then click here to download a tar file that will alleviate the problem (once downloaded, execute `tar -xvf pyfsmem.tar` to obtain the python 3.x script).

Follow instructions in the script’s prolog (especially adding aliases to your bashrc). Then you can “remember” frequently visited directories and return to them with only a couple of keystrokes.

IMO, this is far better than pushd and popd because favorite places are remembered indefinitely (even with power failures).

Thanks to M. Scot Swan for providing this gem!

Stress State Analysis Python Script

General Mohr's Circle for 3D Stress State

General Mohr's Circle for 3D Stress State

Have you ever had a stress state and wanted to simply get the principal stresses without finding a web applet to do it for you? Or maybe you want to know what the deviatoric part of the stress is without finding and using a copy of MATLAB or Mathematica to do the matrix operations for you? This script was written to help answer those questions in as little time as possible with an intuitive command line input syntax.

This script was written in Python ( and makes use of the NumPy module ( Python is a fairly platform independent programming language with more and more programs being dependent on it on all platforms. The NumPy module adds significant scientific computation power to the language by adding N-dimensional matrix support, matrix operations, LAPACK functions (matrix inverse, eigenvalue and eigenvector decompositions, etc.), among other things.

You can download the script here.

Continue reading