Skip to content

Commit 56f64c8

Browse files
committed
first commit
1 parent 78fdecb commit 56f64c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+11227
-0
lines changed

.classpath

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="test" value="true"/>
17+
<attribute name="optional" value="true"/>
18+
<attribute name="maven.pomderived" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
22+
<attributes>
23+
<attribute name="maven.pomderived" value="true"/>
24+
</attributes>
25+
</classpathentry>
26+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
27+
<attributes>
28+
<attribute name="maven.pomderived" value="true"/>
29+
</attributes>
30+
</classpathentry>
31+
<classpathentry kind="output" path="target/classes"/>
32+
</classpath>

.project

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>linyy-compcontroller</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.springframework.ide.eclipse.core.springbuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.m2e.core.maven2Builder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.springframework.ide.eclipse.core.springnature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
33+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
34+
</natures>
35+
</projectDescription>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/java=UTF-8
3+
encoding//src/main/resources=UTF-8
4+
encoding//src/main/resources/application-dev.properties=UTF-8
5+
encoding//src/main/resources/application-pro.properties=UTF-8
6+
encoding//src/main/resources/application-pro.properties.old=UTF-8
7+
encoding//src/main/resources/application.properties=UTF-8
8+
encoding//src/main/resources/log4j.properties=UTF-8
9+
encoding//src/main/resources/templates/footer.html=UTF-8
10+
encoding//src/test/java=UTF-8
11+
encoding/<project>=UTF-8
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.8
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
13+
org.eclipse.jdt.core.compiler.release=disabled
14+
org.eclipse.jdt.core.compiler.source=1.8
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<installed facet="cloudfoundry.standalone.app" version="1.0"/>
4+
</faceted-project>

.springBeans

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beansProjectDescription>
3+
<version>1</version>
4+
<pluginVersion><![CDATA[3.8.4.201703310634-RELEASE]]></pluginVersion>
5+
<configSuffixes>
6+
<configSuffix><![CDATA[xml]]></configSuffix>
7+
</configSuffixes>
8+
<enableImports><![CDATA[false]]></enableImports>
9+
<configs>
10+
<config>java:site.linyy.relax.RelaxApplication</config>
11+
</configs>
12+
<autoconfigs>
13+
<config>java:site.linyy.relax.sys.WebMvcConfig</config>
14+
</autoconfigs>
15+
<configSets>
16+
</configSets>
17+
</beansProjectDescription>

pom.xml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>site.linyy</groupId>
7+
<artifactId>compcontroller</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<name>compcontroller</name>
12+
<description>not Demo project for Spring Boot</description>
13+
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>1.5.6.RELEASE</version>
18+
<relativePath/> <!-- lookup parent from repository -->
19+
</parent>
20+
21+
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24+
<java.version>1.8</java.version>
25+
</properties>
26+
27+
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-starter</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-log4j</artifactId>
35+
<version>1.3.8.RELEASE</version>
36+
</dependency>
37+
<dependency>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-starter-web</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
44+
</dependency>
45+
<!-- net.sf.json -->
46+
<dependency>
47+
<groupId>net.sf.json-lib</groupId>
48+
<artifactId>json-lib</artifactId>
49+
<version>2.4</version>
50+
<classifier>jdk15</classifier>
51+
</dependency>
52+
<!-- swagger2 -->
53+
<dependency>
54+
<groupId>io.springfox</groupId>
55+
<artifactId>springfox-swagger2</artifactId>
56+
<version>2.6.1</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>io.springfox</groupId>
60+
<artifactId>springfox-swagger-ui</artifactId>
61+
<version>2.6.1</version>
62+
</dependency>
63+
<!-- https://mvnrepository.com/artifact/net.sourceforge.nekohtml/nekohtml -->
64+
<dependency>
65+
<groupId>net.sourceforge.nekohtml</groupId>
66+
<artifactId>nekohtml</artifactId>
67+
</dependency>
68+
<!-- websocket -->
69+
<dependency>
70+
<groupId>org.springframework.boot</groupId>
71+
<artifactId>spring-boot-starter-websocket</artifactId>
72+
</dependency>
73+
74+
</dependencies>
75+
76+
<build>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.springframework.boot</groupId>
80+
<artifactId>spring-boot-maven-plugin</artifactId>
81+
</plugin>
82+
</plugins>
83+
</build>
84+
85+
86+
</project>

readme.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
因作者的时间有限,请原谅细节做得不够完美。
2+
3+
功能:
4+
1.远程鼠标输入
5+
2.远程部分键盘输入
6+
3.远程文字输入
7+
4.操作录制
8+
5.操作播放
9+
10+
11+
12+
13+
14+
15+
16+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package site.linyy.relax;
2+
3+
import java.net.InetAddress;
4+
import java.net.UnknownHostException;
5+
6+
import org.springframework.boot.SpringApplication;
7+
import org.springframework.boot.autoconfigure.SpringBootApplication;
8+
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
9+
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
10+
import org.springframework.context.annotation.Bean;
11+
import org.springframework.scheduling.annotation.EnableAsync;
12+
import org.springframework.scheduling.annotation.EnableScheduling;
13+
import org.springframework.web.client.RestTemplate;
14+
15+
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
16+
HibernateJpaAutoConfiguration.class })
17+
@EnableScheduling
18+
@EnableAsync
19+
public class CompApplication {
20+
21+
@Bean
22+
RestTemplate restTemplate() {
23+
return new RestTemplate();
24+
}
25+
26+
public static void main(String[] args) throws UnknownHostException {
27+
SpringApplication.run(CompApplication.class, args);
28+
InetAddress ia = InetAddress.getLocalHost();
29+
System.err.println("访问地址:" + ia.getHostAddress());
30+
}
31+
}

0 commit comments

Comments
 (0)