Run Windows Device Manager. To open it, press the Win + R keyboard combination, type “devmgmt.msc”. See https://www.howtogeek.com/170716/how-to-stop-network-activity-from-waking-your-windows-pc/ for more details.
Under Network adapters, find the appropriate adapter, select Properties, Power Management, unclick "All this device to wake the computer"
Tuesday, March 31, 2020
Monday, March 23, 2020
Removing empty lines in text using Visual Studio
Click ctrl-H to bring up the search window
Click: Use Regular Expressions
For the search term, put in: ^(?([^\r\n])\s)*\r?$\r?\n
For the replace term, delete everything
Thanks to https://stackoverflow.com/questions/12453160/remove-empty-lines-in-text-using-visual-studio
Click: Use Regular Expressions
For the search term, put in: ^(?([^\r\n])\s)*\r?$\r?\n
For the replace term, delete everything
Thanks to https://stackoverflow.com/questions/12453160/remove-empty-lines-in-text-using-visual-studio
Subscribe to:
Posts (Atom)
Top Level Statements in C#
C# Top-Level Statements vs. Main Method C# Top-Level Statements vs. Main Method In C# 9 and later, you can use ...
-
In a regular annotation note, create a stack that looks the way you like. It will take a couple of trial and error attempts since there...
-
Getting into Equation Mode use <alt> and = to get into the equation editor. Radicals : $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ ...