How to convert sync codes to be async one Method1: create a future object define a callback function which will continue check future result is ready or not, future.set_result…
Make sure NetworkManager supports wifi and manages the wireless device #nmcli d DEVICE TYPE STATE CONNECTION wlp2s0 wifi unmanaged -- enp9so ethern…
Anyone whose dealt with NFS administration has sooner or later had to confront a downed server that results in a hoard of unkillable processes that build up waiting for the NF…
If we want to create django project with uwsgi, it is convenient to let uwsgi workers auto reload if there are some changes happens. Basically, we just need monitor the change…
如果您想在 Linux 桌面上使用 Dropbox,请安装相应的程序包。如果未列出您的发行版,请选择“从源代码编译”。这里我们只描述怎样通过命令行安装无外设模式的 Dropbox。 Dropbox 守护程序可在所有 32 位与 64 位 Linux 服务器上正常运行。若要安装,请在 Linux 终端运行下列命令。 32-bit cd ~ &…
Preface What's the difference between normal function and coroutine: coroutines are functions that allow for multiple entry points, that can yield multiple times, and resume t…
万网注册的域名有福了,背靠阿里这个大金主,最近推出了不少有用的功能,甩出新网之类的域名注册商不止一条街了。朋友之前一直使用DNSPod和花生壳来构筑VPN内网的域名解析,可TPLINK自带的路由器花生壳功能太不稳定了,DNSPod也拒绝加入那些免费的二级域名了,只能想看看有没有办法在他已有的域名上实现DDNS的二级域名解析了。凑巧看见万网和阿里云推…
If the disk you used is a iscsi/SAN disk Backup whole data on the old diskChange the disk size in storage size Export the disk to the Linux OS again(usually reboot to reco…
Sometimes we want to access intranet resouces from outside internet world, how can we do this? The usual way is using VPN. But if we don't want to set VPN tunnel, is there any…
How to use mysql client connect to ovm manager mysql db? $ mysql -u root -S /u01/app/oracle/mysql/data/mysqld.sock -p Enter password: [admonition]please input db password whil…