“These violent delights have violent ends
And in their triumph die, like fire and powder,
Which as they kiss consume: the sweetest honey
Is loathsome in his own deliciousness
And in the taste confounds the appetite:
Therefore love moderately; long love doth so;
Too swift arrives as tardy as too slow.”

- Shakespeare, Romeo and Juliet

阅读全文 »

“Have you ever questioned the nature of your reality? Did you ever stop to wonder about your actions? The price you’d have to pay if there was a reckoning? That reckoning is here.”

- Westworld

screen是Linux环境下的多窗口管理器,可以管理可后台运行的窗口。问题是,每次进入screen时,窗口就无法滚动查看先前输出的内容了。可以通过copy mode解决。

阅读全文 »

通过source /YOUR_CONDA_PATH/bin/activate your_env在Linux Shell脚本中激活conda环境;通过call activate your_env在Windows Bat脚本中激活conda环境。

阅读全文 »

因为学校的校园网是通过DHCP动态分配IP的,而我又需要通过远程连接来登陆,因此开发了一款简易的IP地址变动检测程序,在检测到IP地址变化时,通过SMTP发送邮件告知我。

阅读全文 »

在运维实验室GPU服务器的过程中,遇到的NVIDIA驱动问题。连续遇到后,结合网上的资料及与朋友的探讨来看,该问题比较常见,但有条理的、全的文档却没看到,因此我在此处记录踩坑和出坑的经验。

阅读全文 »