Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
E
evsuits
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
OpsTeam
evsuits
Commits
ab66cd7b
提交
ab66cd7b
authored
6月 02, 2020
作者:
blu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
event notifier rev1: new issues interface and a set of utilities, preparing for rev2
上级
5485494d
全部展开
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
Makefile
opencv-motion-detect/Makefile
+4
-4
notify.py
opencv-motion-detect/dingbot/notify.py
+1
-1
evcloudsvc.cpp
opencv-motion-detect/evcloudsvc.cpp
+0
-0
start-local.sh
opencv-yolo/web/start-local.sh
+1
-1
没有找到文件。
opencv-motion-detect/Makefile
浏览文件 @
ab66cd7b
...
@@ -59,10 +59,10 @@ cmake_force:
...
@@ -59,10 +59,10 @@ cmake_force:
SHELL
=
/bin/sh
SHELL
=
/bin/sh
# The CMake executable.
# The CMake executable.
CMAKE_COMMAND
=
/usr/local/Cellar/cmake/3.17.
1
/bin/cmake
CMAKE_COMMAND
=
/usr/local/Cellar/cmake/3.17.
2
/bin/cmake
# The command to remove a file.
# The command to remove a file.
RM
=
/usr/local/Cellar/cmake/3.17.
1
/bin/cmake
-E
rm
-f
RM
=
/usr/local/Cellar/cmake/3.17.
2
/bin/cmake
-E
rm
-f
# Escaping for special characters.
# Escaping for special characters.
EQUALS
=
=
EQUALS
=
=
...
@@ -79,7 +79,7 @@ CMAKE_BINARY_DIR = /Users/blu/work/opencv-projects/opencv-motion-detect
...
@@ -79,7 +79,7 @@ CMAKE_BINARY_DIR = /Users/blu/work/opencv-projects/opencv-motion-detect
# Special rule for the target rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache
:
rebuild_cache
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Running CMake to regenerate build system..."
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Running CMake to regenerate build system..."
/usr/local/Cellar/cmake/3.17.
1
/bin/cmake
--regenerate-during-build
-S
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
/usr/local/Cellar/cmake/3.17.
2
/bin/cmake
--regenerate-during-build
-S
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
.PHONY
:
rebuild_cache
.PHONY
:
rebuild_cache
# Special rule for the target rebuild_cache
# Special rule for the target rebuild_cache
...
@@ -90,7 +90,7 @@ rebuild_cache/fast: rebuild_cache
...
@@ -90,7 +90,7 @@ rebuild_cache/fast: rebuild_cache
# Special rule for the target edit_cache
# Special rule for the target edit_cache
edit_cache
:
edit_cache
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Running CMake cache editor..."
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Running CMake cache editor..."
/usr/local/Cellar/cmake/3.17.
1
/bin/ccmake
-S
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
/usr/local/Cellar/cmake/3.17.
2
/bin/ccmake
-S
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
.PHONY
:
edit_cache
.PHONY
:
edit_cache
# Special rule for the target edit_cache
# Special rule for the target edit_cache
...
...
opencv-motion-detect/dingbot/notify.py
浏览文件 @
ab66cd7b
...
@@ -54,7 +54,7 @@ DINGBOT = DingBot(TOKEN, SECRET)
...
@@ -54,7 +54,7 @@ DINGBOT = DingBot(TOKEN, SECRET)
@app.route
(
'/'
)
@app.route
(
'/'
)
def
index
():
def
index
():
name
=
request
.
args
.
get
(
"name"
,
"World"
)
name
=
request
.
args
.
get
(
"name"
,
"World"
)
#
DINGBOT.send_msg('test', 'this is a test')
DINGBOT
.
send_msg
(
'test'
,
'this is a test'
)
term
=
Terminal
.
query
.
filter
(
Terminal
.
sn
==
'SNaaaaaa'
)
.
first
()
term
=
Terminal
.
query
.
filter
(
Terminal
.
sn
==
'SNaaaaaa'
)
.
first
()
ret
=
'ok'
ret
=
'ok'
if
term
:
if
term
:
...
...
opencv-motion-detect/evcloudsvc.cpp
浏览文件 @
ab66cd7b
差异被折叠。
点击展开。
opencv-yolo/web/start-local.sh
浏览文件 @
ab66cd7b
...
@@ -13,7 +13,7 @@ if [ "$1" == "start" ]
...
@@ -13,7 +13,7 @@ if [ "$1" == "start" ]
then
then
cd
/opt/data/repos/evsuits/opencv-yolo/web
;
cd
/opt/data/repos/evsuits/opencv-yolo/web
;
/opt/apps/anaconda3/bin/celery multi start 4
-E
-A
web.worker
-l
info
-n
%n.%h
--autoscale
=
4,1
--pidfile
=
%n.pid
/opt/apps/anaconda3/bin/celery multi start 4
-E
-A
web.worker
-l
info
-n
%n.%h
--autoscale
=
4,1
--pidfile
=
%n.pid
/opt/apps/anaconda3/bin/flower
-A
web.worker
--loglevel
=
info &disown
/opt/apps/anaconda3/bin/flower
-A
web.worker
--
persistent
=
True
--db
=
flowerdb/db
--
loglevel
=
info &disown
/opt/apps/anaconda3/bin/python web.py
/opt/apps/anaconda3/bin/python web.py
else
else
/opt/apps/anaconda3/bin/celery multi stop 4
/opt/apps/anaconda3/bin/celery multi stop 4
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论