Wednesday, April 28, 2021

Cmake print configuration

 $ cmake -LAH

will output all the variables and their values

Cuda compute capability, compatibility

 https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

Thursday, April 8, 2021

Copy/Extract HTML Dropdownlist Options in Plain Text

Source;  https://techbrij.com/copy-extract-html-drop-down-list-options-text

For Chrome:
Right Click on HTML Dropdownlist, Select Inspect Element and In Developer Tools, you will see html source is selected. Right click and click Copy as HTML option.

3. Paste HTML source in Notepad++
4. Remove Select tag from top and bottom if exists
5. Put cursor at top of code and Press Ctrl + F
6. Go to Replace Tab and enter following info:
Find What:
<option[^>]*>([^<]*)</option>
Replace With:
\1\n
Select Regular Expression as Search Mode and click on Replace All. If options are already in new line then no need to use \n in Replace With option.