-
How to disable SSL verification for urlretrieve?
This solution worked as well for me: before making the call to the library, define the default SSL context: Source: http://thomas-cokelaer.info/blog/2016/01/python-certificate-verified-failed/
-
Type ‘Typeof GlobalThis’ Has No Index Signature
I was having a similar issue and I found that node’s global typings were changed recently-ish; you can now override them by doing: Note: this will not work with let or const you must use var.
-
Is There A Way To Do Repetitive Tasks At Intervals?
The function time.NewTicker makes a channel that sends a periodic message, and provides a way to stop it. Use it something like this (untested): You can stop the worker by closing the quit channel: close(quit).
-
windows 11 enable bbr2
powershell: netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2 Get-NetTCPSetting | Select SettingName, CongestionProvider
-
Windows Remote Desktop port modification
save to rdp.bat
-
Debian vi backspace cannot be deleted
Open /etc/vim/vimrc.tiny with vi and enter the following two lines:set nocompatibleset backspace=2
-
Enable kvm nested virtualization function on Linux
kvm supports nested virtualization, that is, virtual machines can be created within virtual machines. This article mainly introduces how to enable the nested virtualization function of KVM in CentOS7 using Intel processors. Kvm is mainly implemented through the kernel module, so we check whether the system has enabled kvm nested virtualization, only need: You can…
-
Visual Studio find regex for Asian languages
(“.*[\u4E00-\u9FA5]+)|([\u4E00-\u9FA5]+.*”) Use Ctrl+F or Ctrl+Shift+F directly in VS, and enter (“.*[\u4E00-\u9FA5]+)|([\u4E00-\u9FA5]+.*”) in “Find Content”, You can find all these Chinese character strings!