Compare commits

...

12 Commits

15 changed files with 21 additions and 17603 deletions
Split View
  1. +1
    -1
      .drone.yml
  2. +0
    -17372
      01.ipynb
  3. +0
    -5
      Hello.java
  4. +0
    -23
      MachineInfo
  5. +15
    -3
      README.md
  6. +0
    -0
      a.java
  7. +0
    -0
      aaaaaaaaaa
  8. +0
    -1
      nihao
  9. +1
    -1
      src/main/java/com/educoder/bridge/handler/WebsshHandler.java
  10. +0
    -1
      test.txt
  11. +3
    -0
      test/test.py
  12. +1
    -0
      test/test1.py
  13. +0
    -6
      test3.py
  14. BIN
      产品需求跟进表.xlsx
  15. +0
    -190
      实训相关接口

+ 1
- 1
.drone.yml View File

@@ -30,7 +30,7 @@ steps:
port: 22
script:
- chmod +x /home/deploy.sh
- nohup bash /home/deploy.sh &
- cat /home/deploy.sh
trigger:
branch:
- master


+ 0
- 17372
01.ipynb
File diff suppressed because it is too large
View File


+ 0
- 5
Hello.java View File

@@ -1,5 +0,0 @@
public class {
public static void main(String[] args) {
System.out.println();
}
}

+ 0
- 23
MachineInfo View File

@@ -1,23 +0,0 @@
##########wukongclite
Hard id are no longer required.

##########wukongmac
02:42:ac:11:00:03

##########wukongc
Hard id are no longer required.

##########wukonglite
Ft6btsp+r21M77RiV7CovJCBvVcYiXgaA3thP9HdgLGZWdt1SNGWPdMcNaAjt7mYOtSdN8P46dOiWKoi9/64NmL+Rl2zeq+ZDgpsN3LOpdhsfrXvUW0ZPW0xr1kTIpQbRVkU73knAG5pcjjClZqqdRiZnia4dg9SNb+4rsx72z8=
enhlWWhJcaABzAcczsxnosB+Moj6Vw0ZuPWvXbh5igEnKtBDb1WVKjI21U+IUdzXcxvlJJwNJy9Sbq4rch/Bt3JmShPq6hOVSDxLYD4E3fpCEVKGQ+FBOc8P4JXNJzKS1pTtCL3E0Ylc6hOI2yNy5WNzve0++JbtVXO7U2Ogxz4=
xDxmfNyQx7NRmWwAMYpXre1tYwi+Z2bEeGhlq9hVf+o3rphovZw9Pu7V9qtDfEYEBCQooN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0+fV2BJaKnZjUTZI4DIksMiykdYk4sWUGNwihpIrsJGPoU7EdYDwNEWUquHj3EJkH6vlmSeSytNX1A=
WyLr/WW0XXboVN4Lu2dafcU0VCLyYWoyxiytKCo5EK/Z2WlGO6SHHtzRwmxnLSPkaT8t0MfhFQsEHpebms68G+OXThZUSjmJctxkBJxHCvYQTzu4/OtuERNB3IZTSrzWliQiM8LTQesEoETJMiQGhCMqSpDpBcGn2gmZCxpLRp8=


+ 15
- 3
README.md View File

@@ -1,5 +1,17 @@
ReadMe 使用 markdown 语法,所以我们需要掌握基础的语法。
# GeekAI

markdown 的语法主要包括 标题、段落、链接、引用、代码,语法不复杂,初学者只要多写几次就能记住。
**GeekAI** 基于 AI 大语言模型 API 实现的 AI 助手全套开源解决方案,自带运营管理后台,开箱即用。集成了 OpenAI, Azure,
ChatGLM,讯飞星火,文心一言等多个平台的大语言模型。集成了 MidJourney 和 Stable Diffusion AI绘画功能。

下面是 GitHub 上两个关于 markdown 的项目,它们总结了我们需要的基础语法。
主要特性:

- 完整的开源系统,前端应用和后台管理系统皆可开箱即用。
- 基于 Websocket 实现,完美的打字机体验。
- 内置了各种预训练好的角色应用,比如小红书写手,英语翻译大师,苏格拉底,孔子,乔布斯,周报助手等。轻松满足你的各种聊天和应用需求。
- 支持 OPenAI,Azure,文心一言,讯飞星火,清华 ChatGLM等多个大语言模型。
- 支持 Suno 文生音乐
- 支持 MidJourney / Stable Diffusion AI 绘画集成,文生图,图生图,换脸,融图。开箱即用。
- 支持使用个人微信二维码作为充值收费的支付渠道,无需企业支付通道。
- 已集成支付宝支付功能,微信支付,支持多种会员套餐和点卡购买功能。
- 集成插件 API 功能,可结合大语言模型的 function 功能开发各种强大的插件,已内置实现了微博热搜,今日头条,今日早报和 AI
绘画函数插件。

+ 0
- 0
a.java View File


+ 0
- 0
aaaaaaaaaa View File


+ 0
- 1
nihao View File

@@ -1 +0,0 @@
niasda

+ 1
- 1
src/main/java/com/educoder/bridge/handler/WebsshHandler.java View File

@@ -21,7 +21,7 @@ public class WebsshHandler extends TextWebSocketHandler {
}

/**
* 重写handleTextMessage方法,用于处理从websocket接收到的信息
* 重写handleTextMessage方法,用于处理从websocket接收到的信息
*/
@Override
protected void handleTextMessage(WebSocketSession wsSession, TextMessage message) throws Exception {


+ 0
- 1
test.txt View File

@@ -1 +0,0 @@
测试push

+ 3
- 0
test/test.py View File

@@ -0,0 +1,3 @@
print('hello')



+ 1
- 0
test/test1.py View File

@@ -0,0 +1 @@
print('hello')

+ 0
- 6
test3.py View File

@@ -1,6 +0,0 @@
printf('1111')

这是第一个变更


print(123)

BIN
产品需求跟进表.xlsx View File


+ 0
- 190
实训相关接口 View File

@@ -1,190 +0,0 @@
1、命令行评测实训
链接: https://test.educoder.net/tasks/augzqmrx5nw9
启动命令行接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/start.json?game_id=2215157
返回参数
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41279",
"link_url": "wss://pre-webssh.educoder.net/ws", # 这个是之前的ws_url
"username": "root",
"password": "XhKb4HwQ2FrnqjiS",
"myshixun_id": 584178,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": "https://41280testsvc1.vnc.educoder.net"
}
}
激活接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/active_pod.json?game_id=2215157
返回参数:
{
"status": 0,
"message": "success",
"data": {
"remaining_time": 1800000
}
}
重置命令行接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/reset_pod.json?game_id=2215157
返回接口:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41279",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "XhKb4HwQ2FrnqjiS",
"myshixun_id": 584178,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": "https://41280testsvc1.vnc.educoder.net"
}
}


2、命令行练习模式
链接:https://test.educoder.net/tasks/xjf8k5cvglpe
命令行练习模式链接接口:https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/start.json?game_id=2215160
返回参数:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41281",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "UoeOXal40rkNrOSM",
"myshixun_id": 584179,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": null
}
}
重置命令行接口: https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/reset_pod.json?game_id=2215160
返回参数:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41284",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "4tsMtsXr5hxnrAMg",
"myshixun_id": 584179,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": null
}
}
激活命令行接口:https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/active_pod.json?game_id=2215157


3、 图形化模式
链接: https://test.educoder.net/tasks/qjo69pf4yen2
图形化链接的接口:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/start.json
返回参数:
{
"status": 0,
"message": "success",
"data": {
"link_url": "https://41285testsvc1.vnc.educoder.net/vnc_lite.html?password=krFgfmEUo1eoJXSp",
"remaining_time": 1800000,
"mapping_service_url": null
}
}
图形化激活:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/active_pod.json
返回参数:
{
"status": 0,
"message": "success",
"data": {
"remaining_time": 1800000
}
}
图形化重置:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/reset_pod.json
返回参数
{
"status": 0,
"message": "success",
"data": {
"link_url": "https://41286testsvc1.vnc.educoder.net/vnc_lite.html?password=ubUfnZXfTaP2v8FS",
"remaining_time": 1800000,
"mapping_service_url": null
}
}

4、 jupyter类型
链接:https://test.educoder.net/tasks/kgilr324mf/jupyter
获取链接地址:https://test-data.educoder.net/api/myshixuns/kgilr324mf/start.json
返回参数:
{
"status": 0,
"message": "success",
"data": [{
"name": "",
"link_url": "https://41293testsvc1.vnc.educoder.net/notebooks/data/workspace/myshixun_584124/kgilr324mf20221213161642/01.ipynb?token=YkKtEKzePMHKe8tJ",
"remaining_time": 3600000
}]
}
激活时间:https://test-data.educoder.net/api/myshixuns/kgilr324mf/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/kgilr324mf/reset_pod.json


5. Vscode模式
链接:https://test.educoder.net/tasks/xzty6mscw4ak
获取链接接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/start.json
激活时间接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/active_pod.json
重置环境接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/reset_pod.json

6. jupytelab模式
链接:https://test.educoder.net/tasks/w3ku7g6hlt/jupyter
获取链接接口:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/active_pod.json
重置接口:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/reset_pod.json

7. 容器启动web类型
链接:https://test.educoder.net/tasks/iumv78glocw3
获取链接地址:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/start.json?game_id=2215349
激活时间:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/active_pod.json?game_id=2215349
重置接口:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/reset_pod.json?game_id=2215349

8. 阿里云命令行
链接:https://test.educoder.net/tasks/6vts7iqz5bok
获取链接地址:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/start.json?position=1(position表示第几个命令行)
激活时间:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/active_pod.json?position=1
重置环境:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/reset_pod.json?position=1

9.算能云(目前测试版还不能测)
链接:https://test.educoder.net/tasks/nilpzk5f34ya
获取链接地址:https://test-data.educoder.net/api/myshixuns/9uakizlso8/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/9uakizlso8/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/9uakizlso8/reset_pod.json

10. 交大云
链接:https://test.educoder.net/tasks/eyugo7923hxf
获取链接地址:https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/start.json?position=1 (position命令行的位置)
激活时间:https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/active_pod.json?position=1
重置环境: https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/reset_pod.json?position=1

11. windows云主机
链接:https://test.educoder.net/tasks/erws5kijf9cf
获取链接地址:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/reset_pod.json

12.虚拟机
链接:https://test.educoder.net/tasks/ir8p4ockhygt
获取链接地址:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/reset_pod.json

13. 阿里云Linux图形化
链接:https://test.educoder.net/tasks/bhiv3eyfug56
获取链接地址:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/reset_pod.json

Loading…
Cancel
Save