8 Jun
Pyinotify is a pure Python module for monitoring filesystems changes. Pyinotify relies on inotify, a Linux Kernel functionnality (since kernel 2.6.13). inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls. Pyinotify binds these system calls and provides an implementation on top of them.
via Pyinotify.
8 Jun
Khi bạn làm việc với máy chủ thông qua SSH thì bạn sẽ thường gặp một vấn đề nhỏ. Đó là dịch vụ SSH sẽ đóng kết nối của bạn sau một khoảng thời gian nhất định. Để ngăn dịch vụ SSH đóng kết nối thì chúng ta có cách sau:
Sửa file
hoặc
và thêm vào đó dòng dưới đây
Chương trình C nhỏ dưới đây có thể giúp bạn tạm giữ một phiên làm việc bằng cách in ra một thanh xoay trong lúc chạy.
Recent Comments