单条备忘,大杂烩
             
           
 
typora搜索引擎 偏好设置➡打开高级设置➡conf.user.json
1 2 3 4 5 "searchService": [     ["Search with baidu", "http://www.baidu.com.cn/s?wd=%s"],     ["Search with Bing", "https://bing.com/search?q=%s"],     ["Search with Google" , "https://google.com/search?q=%s" ]   ] 
 
文件批量重命名 
有时网上下载的资源,层级目录特别多,找东西很不方便,写个小程序,递归的把某一目录下的所有文件重命名(之间的父级目录下划线相连)
 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 package  util;import  org.apache.commons.io.FileUtils;import  java.io.File;import  java.util.Iterator;public  class  RenameFileByDir   {    public  static  void  main (String[] args)   {         File file = new  File("D:\\CS\\牛逼的面试辅导视频" );                  File[] files = file.listFiles();         if (files!=null ){             for  (int  i = 0 ; i < files.length; i++) {                 String path = files[i].getAbsolutePath();                 int  len = path.length();                                  if  (files[i].isDirectory()){                     Iterator<File> fileIterator = FileUtils.iterateFiles(files[i], null , true );                     while  (fileIterator.hasNext()){                         File next = fileIterator.next();                         if (!next.isDirectory()){                             String absolutePath = next.getAbsolutePath();                             String subString = absolutePath.substring(len);                             String replacedString = subString.replace('\\' , '_' );                             String newPath = path+replacedString;                             next.renameTo(new  File(newPath));                         }                     }                 }             }         }     } } 
 
ping win10主机超时  
浏览器截长屏 Chrome->F12->Ctrl+Shift+P->Capture full size screenshot
客户端开发 
Windows:wpf+c# 
跨平台:electron+js;qt+cpp||python 
 
快捷方式