Skip to content

Manually customize bash terminal prompt look

The prompt text that bash interprets and uses is set with the PS1 environment variable and is usually specified in ~/.bashrc. I have been manually tweaking my bash prompt look and feel to make some of my work project use-case tasks easier. The combination of default style changes, and specific prompt elements added for active environment or sourced environments should make terminal-based project management a little easier. A little searching allowed me to discover this website that allows you to interactively customize the prompt contents and style with common components. https://bash-prompt-generator.org/

Read more →

November 27, 2023

Notifications in GNU/Linux

using the *notify-send* cli

Read more →

November 3, 2023

NWS12 to NWS13

tool to convert OWI's NWS12 formatted ascii files (fort.22{1,2}) to OWI's NWS13 NetCDF4

Read more →

October 10, 2023

Who knew you can make an animated GIF with *convert*

Another thing that comes up infrequently so it is hard to remember! This method of creating an animation from a set of individual images as frames is one of the easiest I have ever seen. (Get out of here FFMPEG!) ImageMagick’s convert animation example command convert -delay {centiseconds} -loop {loop-n-times} *.png output.gif Here is an output made with convert from .png frames using a 25 centisecond frame advancement time.

Read more →

September 29, 2023

An Update To Apptainer Use On TACC HPC

The University of Texas’ newest supercomputer Frontera currently requires the following modules loaded for Apptainer images/containers based on the mvapich infiniband (ib) base images–particularly for any containerized programs that intend to use MPI. Researchers moving their Apptainer images between TACC HPC systems, or building container images specifically for individual systems, may need to adapt their sbatch scripts to accommodate differences between default environments and infrastructures on the various available clusters.

Read more →

August 29, 2023

Python Package Management with Rye

Armin Ronacher demonstrates an experimental new approach

Read more →

May 9, 2023