Then hit the key combination Ctrl+P and type the greater than sign (>). Next type sort and choose Sort Lines Ascending or choose the Descending option.
Now the lines you’ve previously selected will be sorted by the option you chose. One thing to keep in mind is that if you have lines which have breaks in them, the second line will also be sorted into the mix. Which may mess up formatting for things like CSS Property values.
At some point you are going to want to know some information about the RAM on your Raspberry Pi — how much you have, how much is used, how much is free, etc. Thankfully, there is a simple terminal command to give you this information.
Open a terminal window and enter this command:
free -h
This will give you a quick glance at the RAM usage. The -h flag will display the information in a more human readable format.
If you want to know how hot your Raspberry Pi is running, it’s very easy to get the CPU temperature. Open a terminal window and enter the following command:
vcgencmd measure_temp
This will then display the temperature of your CPU in Celsius.
The MacOS treats files which start with a period (.) as a hidden file. Say, something like .gitignore. And there are times where you want to actually see these hidden files. To do so, you can run some Terminal commands that affect the system. OR you can do a simple key command. Like so:
⌘⇧. will toggle the AppleShowAllFiles setting
This way you can turn them on/off quickly and easily without mucking in the Terminal.
Windows 10 has a built in Clipboard Manager which will let you copy multiple items — text or images — to your clipboard. Then later you can select from the list of items copied and paste them back in the order you choose.
You can turn it on (it’s off by default) by going to :
Start > Settings > System > Clipboard
Here you can also sign in so you can sync your clipboard across devices.
To use the Clipboard Manager, instead of Ctrl+V to paste you use:
Windows logo key + V
This shows a list of things copied and you select which one you want.
You can also select the triple dots menu on an item for additional options.
As a developer, I have to copy and paste. A lot! Sometimes I need to copy several items from different locations and then paste them into the same file. This can be very tedious with the traditional Ctrl+C then Ctrl+V process. To help remedy this, I use Comfort Clipboard Pro, a very powerful clipboard manager. I realize for some this may be a bit of overkill or they don’t wish to spend the money on a solution.
Thankfully, Visual Studio 2019 has a feature which can help. Simply copy several items in a row using your preferred method — from the file menu or with a key command. Then place your cursor where you wish for the copied items to be pasted. Next, go to Edit in the file menu and select the Show Clipboard History option (alternately you can press Ctrl+Shift+Insert).
This will display a popup list of the things you’ve just copied. Click one of the items in the list.
The item you selected will be pasted into your file where your cursor currently sits.
That’s it! Quick. Simple. It didn’t require any additional software. And it didn’t cost you anything. Hope that helps!