1/29/2022

python math operator

Division and Reminder

 

 total_secs=7350

hours=total_secs//3600 # hours=2

secs_still_remaining=total_secs%3600 # secs_still_remaining=150

minutes= secs_still_remaining // 60 # minutes=2

secs_finally_remaining=secs_still_remaining %60 # seconds=30










1/23/2022

vnc resolution

 

$ xrandr

 

 

$ xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync

 

$ xrandr --addmode VNC-0 "2560x1440_60.00"

 

 

https://superuser.com/questions/223240/changing-screen-resolution-in-centos