https://askubuntu.com/questions/716184/how-to-ssh-into-a-server-running-on-a-home-network-behind-a-router
Wednesday, May 5, 2021
Wednesday, April 28, 2021
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.
Saturday, March 20, 2021
Wednesday, February 3, 2021
bash split single page in pdf
apt-get install mupdf-tools
mutool poster -y 2 input.pdf output.pdf
For horizontal splits, replace y
with x
. And you can, of course, combine the two for more complex solutions.
Source: https://unix.stackexchange.com/questions/12482
Wednesday, December 2, 2020
Choice of partition for bootloader
Taken integrally from https://askubuntu.com/questions/219514/where-to-install-bootloader-when-installing-ubuntu-as-secondary-os
Here's an example that could help you out:
Under "Device for boot loader installation":
- if you choose dev/sda, it will use Grub (Ubuntu's boot loader) to load all systems on this hard drive.
- if you choose dev/sda1, Ubuntu need to be manually added to drive's boot loader after installation. (for example, you previously have Windows installed on another partition of this drive, you'll need manually add Ubuntu into mbr)