原创 Android自定義dialog彈出佈局

定義一個彈窗佈局 首先定義一個dailog_set_password.xml佈局文件。 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="htt

原创 Linux日誌系統解析

前言 對於守護進程,因爲它沒有控制終端,所以不能往標準出錯上面打印。 在很多工作站上,控制檯設備運行一個窗口系統,我們不希望所有守護進程都寫到控制檯設備上。 我們也不希望每個守護進程都單獨的寫到一個文件裏面。 對系統管理員來

原创 Python在import Iterable時報DeprecationWarning

DeprecationWarning: Using or importing the ABCs from ‘collections’ instead of from ‘collections.abc’ is deprecated