Skip to content

Instantly share code, notes, and snippets.

Avatar

Rurio Luca RurioLuca

View GitHub Profile
View Android gitignore
*.iml
*.apk
*.DS_Store
/.idea
/.gradle
/build
/gradle
/gradlew
/gradlew.bat
/local.properties
View IntelliJ Spring gitignore
.idea/
projectName.iml
/*.classpath
/.classpath
/.springBeans
*.DS_Store
*.iml
/build
/local.properties
target/
View Java file set Permission equal chtmod777
File serverFile = new File(dir.getAbsolutePath()
+ file.getOriginalFilename());
serverFile.setWritable(true, false);
serverFile.setExecutable(true, false);
serverFile.setReadable(true, false);
BufferedOutputStream stream = null;
stream = new BufferedOutputStream(new FileOutputStream(serverFile));
You can’t perform that action at this time.