It's not terribly exciting but I find myself using this a lot:
#!/bin/sh
echo "$*" | sed -e "s/x/*/g" | bc -l
Just a little shorthand for bc that allows me to write "x" instead of "*" to avoid shell expansion nonsense. I put it in ~/.local/bin/= so I can e.g. just write = 17+4x5
. Combined with a Quake-style terminal this is much faster than launching a calculator app. It's a script instead of an alias so it works regardless of the shell I'm currently using.
The call to bc -l
could be replaced with one to qalc -t
if you know qalc to be present on the system .
I work for a publicly traded company.
We couldn't switch away from Microsoft if we wanted to because integrating everything with Azure and O365 is the cheapest solution in the short term, ergo has the best quarterly ROI.
I don't think the shareholders give a rat's ass about data sovereignty if it means a lower profit forecast. It'd take legislative action for us to move away from an all-Azure stack.
And yes, that sucks big time. If Microsoft stops playing nice with the EU we're going to have to pivot most of our tech stack on a moment's notice.