01 2021 档案
摘要:代码: //monitor.c#include <stdio.h> #include <linux/input.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main(int argc, char** a
阅读全文
摘要:在终端依次输入以下代码: sudo modprobe -r psmouse sudo modprobe psmouse proto=imps sudo vim /etc/modprobe.d/options 修改打开的文件,添加 options psmouse proto=imps至最后一行。保存改
阅读全文
摘要:写完代码后,我们一般这样 git add . //添加所有文件 git commit -m "本功能全部完成" 执行完commit后,想撤回commit,怎么办? git reset --soft HEAD^ 这样就成功的撤销了你的commit 注意,仅仅是撤回commit操作,您写的代码仍然保留。
阅读全文