Engineering and technology notes

Sort folders first – then last accessed files by date

1) Sort by Date Modified (descending)

2) Hold the Shift button, then click the Name column heading.

If you want to make this the permanent default setting from the bar across the top select:

the View tab, then Options, then Change Folder and Search Options, then View (again), then Apply to All Folders.

 

Source: Sort folders first – then last accessed files by date

testing – speedtest-cli: ValueError: invalid literal for int() with base 10: ” – Unix & Linux Stack Exchange

## Backup original code
sudo gzip -k9 /usr/lib/python3/dist-packages/speedtest.py

## Make the line substitution
sed -i "s/^            map(int, server_config\['ignoreids'\].split(','))$/            map(int, (server_config['ignoreids'].split(',') if len(server_config['ignoreids']) else []) )/" /usr/lib/python3/dist-packages/speedtest.py

 

Source: testing – speedtest-cli: ValueError: invalid literal for int() with base 10: ” – Unix & Linux Stack Exchange