Warning: MathJax requires JavaScript to process the mathematics on this page.
If your browser supports JavaScript, be sure it is enabled.

Hi, I'm VanessaSaurus, a Software Engineer.
Building tools, containers, and cloudy things, with a penchant for Python and parsnips. -- about me

Raaawwr..!

Find the Longest Reversed Substring in a String This function takes in a string, “stringy,” and finds the longest reversed substring (palindrome) in the larger string. So, racecar would be an example because it is the same thing backwards and forwards! I basically did it by identifying all... Read more

Convert Military Time to User Friendly String I want to share this, because it could be useful in many contexts. I am working on a script that downloads information from a Google Calendar, and automatically sends reminder emails based on a user specified time. Given that the... Read more

Get rid of carriage returns using tr Kristin recently had a script that, for some mysterious reason, was in Windows format! (the error output obviously indicated the presence of carriage returns!). In my troubleshooting, this was the command that fixed it! tr -d ‘\15\32’ fixed_script.sh Read more