October 27, 2023

Customize SublimeText 3 highlighted-line background-color the easy way

Problem:
How to customize / modify / change the background color of the line i’m working on in sublime text 3?

Caveat:
Each Color-Scheme is independent. If you modify, then change schemes, you will ahve to modify again.

Solution:
Preferences > Cusomize Color Scheme >
In the globals section, add "line_highlight": "#color", where #color is the hexadecimal color of your choice.

Example:

    "globals":  
{
"line_highlight": "#155199",
},

enter image description here

as always, Good Luck!
edited with https://stackedit.io

June 27, 2023

Solving APC / Schneider Electric UPS PR_CONNECT_RESET_ERROR / ERR_CONNECTION_RESET / Connection Reset

Problem:

Web-browser reports PR_CONNECT_RESET_ERROR or ERR_CONNECTION_RESET when trying to manage APC via https.

Cause:

SSL certificate invalid.

Solution:

https://www.apc.com/us/en/faqs/FAQ000233142/

ssh -c aes256-cbc <IPAddress>
cd ssl
dir
delete <filename>.p15
reboot

HTTPS should work after restart.

Alternative Solution:

ssh -c aes256-cbc <IPAddress>
web -h enable 
reboot

Connect via HTTP and Delete the certificate via Web UI
Navigate to Configuration --> Network --> Web --> SSL Certificate --> Select “Remove” --> Apply.
Navigate to Control --> Network --> Reset/Reboot --> Select “Reboot Management Interface” --> Apply.

HTTPS should work after restart.

Revert HTTP to disabled if desired.

Update firmware, but newest firmware seemingly still using CBC ciphers. 😩


good luck!