If install new version of vmware, do not forget to run unlocker again, otherwise the MacOS (e,g, catalina ) cannot boot.
2020年7月24日 星期五
2020年7月16日 星期四
sudo without password
Disable
sudo
password for all the members of sudoers
group.sudo visudo and add this line:
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
2020年7月13日 星期一
openconnect ssl vpn
sudo apt install openconnect
Run this command:
sudo openconnect https://au.twaren.net/staff --protocol=nc
Run this command:
sudo openconnect https://au.twaren.net/staff --protocol=nc
2020年7月11日 星期六
Repeat duplicate items in legend in Matplotlb jupyter
In unbuntu 18.04 this is not an error, however, it will produce duplicated legend in ubuntu 20.04. According to https://stackoverflow.com/questions/19385639/duplicate-items-in-legend-in-matplotlib, if plot the same line type twice, then it will produce the same lengend for the same line.
Therefore, I have to break the oringial one line into two lines:
ax.plot(x, yU, Label=i,linewidth=2, dashes=dst,color='black')
ax.plot(x, yL, linewidth=2, dashes=dst,color='black')
NB, the legend is removed from the second line.
Therefore, I have to break the oringial one line into two lines:
ax.plot(x, yU, Label=i,linewidth=2, dashes=dst,color='black')
ax.plot(x, yL, linewidth=2, dashes=dst,color='black')
NB, the legend is removed from the second line.
訂閱:
意見 (Atom)
-
cf: https://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...