diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a067dcf --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio + +# plz read fucking readme.md +/src/main/resources/application.yml + +*.iml +*.json + +.idea/* +.idea/ +out/ +debug/ + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +*.class +*.jar +*.war +*.ear +*.tmp +*.exe + +thumbs.db +.DS_Store +*.log + +test/ +target/generated-sources/ +target/ +/.classpath +/.project +.settings/ diff --git a/HelloWorld/Main.class b/HelloWorld/Main.class deleted file mode 100644 index e7bd3c9..0000000 Binary files a/HelloWorld/Main.class and /dev/null differ diff --git a/HelloWorld/Main.java b/HelloWorld/Main.java index 92c677d..f2c5447 100644 --- a/HelloWorld/Main.java +++ b/HelloWorld/Main.java @@ -1,13 +1,14 @@ package HelloWorld; +import java.time.LocalDateTime; + public class Main { public static void main(String[] args) throws InterruptedException { - boolean flag = true; System.out.println("Hello world"); System.out.println("Hello from Andrew"); System.out.println("Hello again"); - while(flag != false) { - System.out.println("I'm alive!"); + while(true) { + System.out.println("["+LocalDateTime.now() +"] :"+"I'm alive!"); Thread.sleep(1000); } } diff --git a/app/Main.jar b/app/Main.jar index e4be8a8..d1de2ca 100644 Binary files a/app/Main.jar and b/app/Main.jar differ