Blog

  • Capturing a program’s exit status in a Bash script

    Use of a Bash script to capture an exit status in a Python program. Would also work for a C/C++, Java, or any program that can exit with an exit status. Useful for running batch jobs in a scheduler program like IBM’s Workload Scheduler(formerly known as Tivoli Maestro). Python program is shown first. Simple program…

  • Programming code for Fahrenheit to Celsius Converters

    Two programs that convert temperatures in Fahrenheit to Celsius. The first program is written in C and the second one in Python. The C program uses dynamic memory allocation to allocate memory for the number of conversions that you want to do. I’m learning C and trying new things. Should compile in any C compiler.…

  • C Programming Code for Bullet Energy Calculation

    A couple of C programs that I wrote that do the exact same thing, but are coded a bit different. They both calculate the energy of a bullet. You have to input the weight in grains and the velocity in feet per second. I am learning how to program in C and wanted to try…

  • Lake Tahoe

    June 2025 Photo Gallery