转自: http://zhidao.baidu.com/link?url=ozY7tJRNBYHUsImE6jn1psqc8owib7MWcDMEmZw48q8iD9Hz9MWgnQQcBDO0VYOFXGv4hi8RVmOidouvpmZL-K public static void GetFontAndColor() { //使用如下命令就可以得到当前系统所有字体 InstalledFontCollection MyFont = new InstalledFontCollection(); L
<学渣Linux笔记>--更改ls命令的输出颜色和命令提示符颜色(二) II.更改命令提示符颜色 命令提示符的显示格式是由变量PS1决定的,首先我们查找GNU官方手册,发现如下内容(不是我喜欢写一大段,只是希望能养成查阅官方手册的习惯): The value of the variable PROMPT_COMMAND is examined just before Bash prints each primary prompt. If PROMPT_COMMAND is set and ha
//swift设置导航栏item颜色和状态栏颜色 let dict:Dictionary =[NSForegroundColorAttributeName:UIColor.hrgb("333333")] self.navigationController?.navigationBar.titleTextAttributes = dict UIApplication.shared.setStatusBarStyle(UIStatusBarStyle.default,animated: t