connygy

connygy

Nautilus: Open in terminal

How to add the “open in terminal” option in Ubuntu? Open terminal, then input the following commands: sudo apt-get install nautilus-open-terminal nautilus -q #reset the nautilus  

platform independent separators in java

line separator (Windows: “\r\n”, UNIX: “\n”) 1. BufferedWriter newline() 2. System.lineSeparator() 3. System.getProperty(“line.separator”) file separator file.separator(windows:”\”; unix:”/”) 1. BufferedWriter newline() 2. System.getProperty(“file.separator”) 3. File.pathSeparator Annotation: In Windows: “D:\codehamster”, you can change it to “D:/codehamster” or “D:\\codehamster”