Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
i查拉图斯特拉如是
1024程序员开源挑战赛
比较版本
b85a62d8ffae32170798b6e7194d228584f8b8a0...f57eda040bc3bca88ace7e754501389e45ff3bc4
1
1024程序员开源挑战赛
项目概览
i查拉图斯特拉如是
/
1024程序员开源挑战赛
与 Fork 源项目一致
Fork自
GitCode / 1024程序员开源挑战赛(10.23-11.14)
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
1
1024程序员开源挑战赛
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
f57eda040bc3bca88ace7e754501389e45ff3bc4
选择Git版本
...
目标分支
b85a62d8ffae32170798b6e7194d228584f8b8a0
选择Git版本
比较
Commits (2)
https://gitcode.net/qq_33816117/1024opensource/-/commit/efe84311e231c188c3b6088043659725dd5ad45c
重构包路径导入
2022-11-10T17:21:57+08:00
Steven
steven@timelinelabs.cn
https://gitcode.net/qq_33816117/1024opensource/-/commit/f57eda040bc3bca88ace7e754501389e45ff3bc4
add python file
2022-11-14T15:37:16+08:00
Steven
steven@timelinelabs.cn
隐藏空白更改
内联
并排
Showing
9 changed file
with
106 addition
and
28 deletion
+106
-28
love.py
love.py
+83
-0
mq-artemis/pom.xml
mq-artemis/pom.xml
+3
-3
mq-common/pom.xml
mq-common/pom.xml
+1
-2
mq-kafka/pom.xml
mq-kafka/pom.xml
+1
-1
mq-pulsar/pom.xml
mq-pulsar/pom.xml
+3
-3
mq-rocketmq/pom.xml
mq-rocketmq/pom.xml
+2
-4
mq-rocketmq/src/main/java/com/example/mqrocketmq/service/demo2/CartEventProducer.java
...m/example/mqrocketmq/service/demo2/CartEventProducer.java
+0
-2
pom.xml
pom.xml
+11
-11
preview.yml
preview.yml
+2
-2
未找到文件。
love.py
0 → 100644
浏览文件 @
f57eda04
import
turtle
import
math
if
__name__
==
'__main__'
:
l
=
turtle
.
pen
()
l
=
turtle
l
.
up
()
l
.
goto
(
0
,
150
)
l
.
down
()
l
.
color
(
'red'
)
l
.
begin_fill
()
l
.
fillcolor
(
'red'
)
l
.
speed
(
1
)
l
.
left
(
45
)
l
.
forward
(
150
)
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
250
+
math
.
sqrt
(
2
)
*
100
)
l
.
right
(
90
)
l
.
speed
(
2
)
l
.
forward
(
250
+
100
*
math
.
sqrt
(
2
))
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
100
)
l
.
right
(
45
)
l
.
forward
(
150
)
l
.
end_fill
()
l
.
goto
(
-
10
,
0
)
l
.
pencolor
(
'yellow'
)
#L
l
.
pensize
(
10
)
l
.
goto
(
-
50
,
0
)
l
.
goto
(
-
50
,
80
)
l
.
up
()
#I
l
.
goto
(
-
100
,
0
)
l
.
down
()
l
.
goto
(
-
160
,
0
)
l
.
goto
(
-
130
,
0
)
l
.
goto
(
-
130
,
80
)
l
.
goto
(
-
160
,
80
)
l
.
goto
(
-
100
,
80
)
l
.
up
()
#O
l
.
goto
(
10
,
25
)
l
.
down
()
l
.
right
(
45
)
l
.
circle
(
25
,
extent
=
180
)
l
.
goto
(
60
,
55
)
l
.
circle
(
25
,
extent
=
180
)
l
.
goto
(
10
,
25
)
l
.
up
()
l
.
goto
(
75
,
80
)
l
.
down
()
l
.
goto
(
100
,
0
)
l
.
goto
(
125
,
80
)
l
.
up
()
l
.
goto
(
180
,
80
)
l
.
down
()
l
.
goto
(
140
,
80
)
l
.
goto
(
140
,
0
)
l
.
goto
(
180
,
0
)
l
.
up
()
l
.
goto
(
180
,
40
)
l
.
down
()
l
.
goto
(
140
,
40
)
#U
l
.
up
()
l
.
goto
(
-
40
,
-
30
)
l
.
down
()
l
.
goto
(
-
40
,
-
80
)
l
.
circle
(
40
,
extent
=
180
)
l
.
goto
(
40
,
-
30
)
l
.
hideturtle
()
a
=
input
()
\ No newline at end of file
mq-artemis/pom.xml
浏览文件 @
f57eda04
...
...
@@ -20,10 +20,10 @@
</properties>
<dependencies>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version
>
<scope>
compile
</scope
>
<!-- <version>0.0.1-SNAPSHOT</version>--
>
<!-- <scope>compile</scope>--
>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
mq-common/pom.xml
浏览文件 @
f57eda04
...
...
@@ -10,8 +10,7 @@
<!-- <version>0.0.1-SNAPSHOT</version>-->
<!-- </parent>-->
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.example.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<properties>
...
...
mq-kafka/pom.xml
浏览文件 @
f57eda04
...
...
@@ -87,7 +87,7 @@
<artifactId>
spring-boot-starter-log4j2
</artifactId>
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<!-- <version>0.0.1-SNAPSHOT</version>-->
<scope>
compile
</scope>
...
...
mq-pulsar/pom.xml
浏览文件 @
f57eda04
...
...
@@ -72,10 +72,10 @@
<artifactId>
spring-boot-starter-log4j2
</artifactId>
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version
>
<scope>
compile
</scope
>
<!-- <version>0.0.1-SNAPSHOT</version>--
>
<!-- <scope>compile</scope>--
>
</dependency>
<!--SpringBoot整合Pulsar 私人写的 -->
...
...
mq-rocketmq/pom.xml
浏览文件 @
f57eda04
...
...
@@ -15,8 +15,6 @@
</parent>
<artifactId>
mq-rocketmq
</artifactId>
<groupId>
com.example
</groupId>
<version>
0.0.1-SNAPSHOT
</version>
<properties>
<java.version>
11
</java.version>
<testcontainers.version>
1.17.3
</testcontainers.version>
...
...
@@ -67,10 +65,10 @@
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<!-- <version>0.0.1-SNAPSHOT</version>-->
<scope>
compile
</scope
>
<!-- <scope>test</scope>--
>
</dependency>
<dependency>
...
...
mq-rocketmq/src/main/java/com/example/mqrocketmq/service/demo2/CartEventProducer.java
浏览文件 @
f57eda04
package
com.example.mqrocketmq.service.demo2
;
import
com.example.common.entity.Book
;
import
org.apache.rocketmq.spring.core.RocketMQTemplate
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.stereotype.Component
;
...
...
pom.xml
浏览文件 @
f57eda04
...
...
@@ -2,26 +2,26 @@
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<packaging>
pom
</packaging>
<modules>
<!-- <module>mq-common</module>-->
<module>
mq-kafka
</module>
<module>
mq-artemis
</module>
<module>
mq-pulsar
</module>
<module>
mq-rocketmq
</module>
</modules>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.7.2
</version>
<relativePath/>
<!-- lookup parent from repository
-->
<!-- <relativePath/> <!– lookup parent from repository –>
-->
</parent>
<groupId>
com.example
</groupId>
<artifactId>
mq-test
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
mq-test
</name>
<description>
mq-test
</description>
<packaging>
pom
</packaging>
<modules>
<!-- <module>mq-common</module>-->
<module>
mq-rocketmq
</module>
<module>
mq-artemis
</module>
<module>
mq-kafka
</module>
<module>
mq-pulsar
</module>
</modules>
<properties>
<java.version>
11
</java.version>
<testcontainers.version>
1.17.3
</testcontainers.version>
...
...
@@ -40,7 +40,7 @@
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
${mqtest.version}
</version>
</dependency>
...
...
preview.yml
浏览文件 @
f57eda04
autoOpen
:
true
apps
:
-
port
:
8080
command
:
cd mq-artemis & mvn spring-boot:run
root
:
./
mq-artemis
command
:
python love.py
root
:
./
name
:
artemis_test
description
:
artemis_test
autoOpen
:
true