initial project setup and updated git ignore

This commit is contained in:
ori agranat
2019-09-10 23:47:06 +03:00
parent b2486cc4a7
commit e72bb51308
10 changed files with 142 additions and 2 deletions

91
.gitignore vendored
View File

@@ -12,3 +12,94 @@ Python/app/handlers/__pycache__/
backend/settings/
/.vscode/
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

View File

@@ -40,6 +40,12 @@
<artifactId>json</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<!--slf4j for javalin -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.26</version>
</dependency>
<dependency>
<!--frc cscore libs-->
<groupId>edu.wpi.first.cscore</groupId>

View File

@@ -0,0 +1,9 @@
package Classes.MetaClass;
public class Singleton {
private static Singleton single_instance = new Singleton();
public static Singleton getInstance(){
return single_instance;
}
}

View File

@@ -0,0 +1,7 @@
package Classes;
import Classes.MetaClass.Singleton;
public class SettingsManager extends Singleton {
public static int x = 5; // example of how to setup variable in singleton
}

View File

@@ -0,0 +1,4 @@
package Handlers.Vision;
public class Camera {
}

View File

@@ -0,0 +1,4 @@
package Handlers.Vision;
public class VisionProcess {
}

View File

@@ -0,0 +1,9 @@
package Handlers.Web;
import io.javalin.Javalin;
public class Server {
public static void main(int port) {
Javalin app = Javalin.create().start(port);
app.get("/", ctx -> ctx.result("Hello World"));
}
}

View File

@@ -0,0 +1,5 @@
package Handlers.Web;
public class Socket {
}

View File

@@ -0,0 +1,5 @@
package Handlers.Web;
public class Web {
}

View File

@@ -1,6 +1,6 @@
public class Main {
public static void main(String [] args){
public static void main(String [] args) {
}
}