The scroll wheel on your mouse is probably a functional middle button.
On Linux, you can usually left-click-drag-release to highlight some text, move your mouse cursor to a new location (in any window), and middle-click once to paste the text you highlighted there. No explicit keyboard or right-click copy and paste required.
If you ever use the middle mouse button to open links in a new tab, you should disable this "feature" because it is a security vulnerability which allows for grabbing the clipboard content.
Programmatically determining the region of an AWS EC2 instance using the metadata API was very annoying in the past; there was no endpoint for it. Instead, devs used many methods to determine the region[1], primarily by dropping the last letter off of the availability zone, (e.g. `us-east-1a` -> `us-east-1`) which was queriable.
At this point, AWS has updated the API to allow querying for the region as one would expect. See my answer on the afore-footnoted question[2]. [1] The number and variety of answers on the topic is both hilarious and terrifying:
https://stackoverflow.com/q/4249488 [2] https://stackoverflow.com/a/62664161
To determine the three-dimensional structure of proteins (such as the spike protein of SARS-CoV-2) one of the most used techniques is to grow protein crystals and blast X-rays at them. It has been estimated that these crystals have a cost per weight around 3000 times higher than diamonds.
Comments (762) 128 threads
Earlier commentsOn Linux, you can usually left-click-drag-release to highlight some text, move your mouse cursor to a new location (in any window), and middle-click once to paste the text you highlighted there. No explicit keyboard or right-click copy and paste required.
Demo: https://randomforest.net/captureClipboard.html
At this point, AWS has updated the API to allow querying for the region as one would expect. See my answer on the afore-footnoted question[2].
[1] The number and variety of answers on the topic is both hilarious and terrifying: https://stackoverflow.com/q/4249488
[2] https://stackoverflow.com/a/62664161
I personally cannot deal with the alt tab style switching between all windows this app to app switch works much better for me and I use it constantly.
All comments shown.
Couldn't load more comments. Check your connection and try again.