DEV Community

Alexander Lazaris
Alexander Lazaris

Posted on

2 1

Making commands complicated

Sometimes running the same ol'boring git checkout can be disinteresting, often rendering your brain zombified. Frozen in this malaise and unable to try anything else, your weary, dreary soul is left with entering repetitive commands all night long.

Why not spice things up a bit? Try changing up one of your more frequent commands to be 👩🏻‍💻, 💪🏻 and 🥇.

Easy 🚮

git checkout virt-server-things

Better ❕

git checkout ($(git branch | Select-String "virt") -replace " ", "")

Of course, this all fails if there's 2 branches with that name ... but who has one more than 1 active branch 😅

What trivial commands have you converted to hard-mode? Seen any over-complicated code in your codebase?

Remove all docker images that I had used for Kubernetes training

docker rmi $(docker images | grep "k8s" | awk '{ print $3 }')

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay