Skip to content

Commit a411fae

Browse files
committed
shutdown service
1 parent 3f665fe commit a411fae

2 files changed

Lines changed: 27 additions & 8 deletions

File tree

_posts/2018-10-03-guam-4200m-skydive.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,9 @@ mathjax: true
3030

3131
****这里就附上我随机一起的父亲吧,上镜效果还不错。
3232

33-
<iframe frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=g0745ayzmvl" allowFullScreen="true"></iframe>
34-
<script>
35-
$(document).ready(function() {
36-
var ifr_width=$(window).width()*0.9;
37-
$("#video").css('width',ifr_width);
38-
$("#video").css('height',ifr_width*0.75);
39-
});
40-
</script>
33+
<iframe frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=g0745ayzmvl&amp;tiny=0&amp;auto=0" allowFullScreen=""
34+
height="495" width="100%" id="movie_4_3"></iframe>
35+
4136

4237
## 行程参考
4338
**开放时间**:每日,遇恶劣天气会随时关闭;

shutdown.bat

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@ECHO OFF
2+
SETLOCAL ENABLEDELAYEDEXPANSION
3+
4+
::--------------------------------------------------------
5+
::-- @author frankdevhub@163.com
6+
::-- @Date 2019/04/05 Friday
7+
::-- @description: shutdown local service
8+
::--------------------------------------------------------
9+
10+
@echo 'start'
11+
12+
for /f "tokens=5" %%i in ('netstat -aon ^| findstr ":4000"') do (
13+
set n=%%i
14+
)
15+
16+
if not "%n%"!=="" (
17+
taskkill /f /pid %n%
18+
) else (
19+
echo "no existing running service on default 4000"
20+
)
21+
22+
23+
PAUSE
24+

0 commit comments

Comments
 (0)