Cats, code and Casablanca
I've worked QA, frontend dev and devops positions for thirteen years.
I completed my Masters in Software Engineering at Texas State in June 2022. Prior to school I had worked building websites (HTML, CSS and JavaScript) for several companies; had worked QA for a Fortune 500 company, and a startup which went public while I was there and had worked one devops position (setting up Jenkins CI/CD and writing tests in Java). In school I studied C, C++, Java, Python and Bash. On my own over the years I've learned some Node, Mongo, Angular, and React. Since school, I've been focusing on learning Ruby on Rails and Vue. Outside of work, I love riding my Peloton, listening to lofi music and spending time with my family.
Notes From The Trenches
3/27/24
I learned today a quick way to test a bunch of boolean expressions in Javascript is to put them in an array and use Javascript's `some` or `every` method:
arr.some(Boolean)
arr.every(Boolean)
`.some(Boolean)` will return true if any element of the array is truthy. `.every(Boolean)` will return true if all elements in the array are truthy.
Source: https://www.30secondsofcode.org/js/s/check-array-values-are-truthy/#check-if-all-values-in-an-array-are-truthy
3/25/24
I've been working collaboratively on Drivetracks with a couple people and have forced to improve my git-fu a bit and want to jot down real quick what I've learned.
change last commit message | git commit --amend |
change specific commit message | git rebase -i HEAD~3 |
add stuff to the last commit | git commit --amend --no-edit |
sqash last n commits | git reset --soft HEAD~n |
interactive squash | git rebase -i HEAD~n |
(...but keep original commit date) | git rebase -i --committer-date-is-author-date HEAD~n |
see a branch's changes | git diff main |
see a branch's divergent changes | git diff main...branch |
see diff between two commits | git diff hash1...hash2 |
Contact Me
Austin, Texas
mark@markmcdermott.io
512.820.3772
Message sent successfuly
Thank you for reaching out! 🙏