Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gspgsp committed Oct 22, 2023
0 parents commit e6c0bf8
Show file tree
Hide file tree
Showing 1,250 changed files with 44,388 additions and 0 deletions.
33 changes: 33 additions & 0 deletions 404.html

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

##### 操作步骤
1.创建并进入一个新目录
mkdir vuepress-starter && cd vuepress-starter
2.初始化项目
yarn init # npm init
3.安装[vuepress2.x](https://www.vuepress.cn) 依赖包
yarn add -D vuepress # npm install vuepress@next -D
4.新建一个READ.ME
mkdir docs && echo '# Hello VuePress' > docs/README.md
5.在 package.json 中添加一些 scripts
{
scripts: {
docs:dev: vuepress dev docs, //开发环境使用
docs:build: vuepress build docs // 正式环境使用
}
}
6.开发环境运行
yarn docs:dev # npm run docs:dev

VuePress 会在 http://localhost:8080 (opens new window) 启动一个热重载的开发服务器
7.正式环境
yarn docs:build # npm run docs:build

这会在docs/.vuepress/dist生成 dist打包文件,这个dist文件我部署在:pages.github

这个是最终的效果:[指尖上的记忆](https://gspgsp.github.io/)
6 changes: 6 additions & 0 deletions assets/2022年倒计时.html.09e75834.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/2022年倒计时.html.ba92f584.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/404.288f5f66.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/404.html.3d048d19.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{_ as e,o as _,c}from"./app.987442f1.js";const r={};function t(o,a){return _(),c("div")}var s=e(r,[["render",t],["__file","404.html.vue"]]);export{s as default};
1 change: 1 addition & 0 deletions assets/404.html.7d858b3d.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const t=JSON.parse('{"key":"v-3706649a","path":"/404.html","title":"","lang":"en-US","frontmatter":{"layout":"404"},"excerpt":"","headers":[],"git":{},"filePathRelative":null}');export{t as data};
1 change: 1 addition & 0 deletions assets/BackBtn.cde83d0a.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/CIDR的含义.html.7c50ffa2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/CIDR的含义.html.fad7e228.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/ContentTemplate.976ae9d8.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/CustomerComponent.0bb9d781.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/FFMpeg处理视频.html.7abcde0b.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions assets/FFMpeg处理视频.html.ba8c0e1b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import{_ as e,o as i,c as n,g as s}from"./app.987442f1.js";const l={},d=s(`<p>\u6700\u8FD1\u5728\u505A\u89C6\u9891\u4E0A\u4F20\u7684\u65F6\u5019\uFF0C\u6709\u4E2A\u9700\u6C42\u662F\uFF0C\u5F53\u89C6\u9891\u4E0A\u4F20\u73A9\u4EE5\u540E\uFF0C\u9700\u8981\u83B7\u53D6\u89C6\u9891\u65F6\u957F\uFF0C\u6240\u4EE5\u60F3\u5230\u7528\u8FD9\u4E2A\u5DE5\u5177</p><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>1.ubuntu22\u5B89\u88C5FFMpeg
sudo apt update
sudo apt install ffmpeg
ffmpeg -version
2. \u4F7F\u7528
$ffprobe = FFProbe::create();
$ffprobe-&gt;format($fileUrl)-&gt;get(&#39;duration&#39;);
\u76F4\u63A5\u8FD9\u6837\u4F7F\u7528\u4F1A\u62A5\u9519\uFF1AUnable to load FFProbe\u7684\u95EE\u9898\uFF0C\u9700\u8981\u6DFB\u52A0\u914D\u7F6E\u6587\u4EF6
$config = [
&#39;ffmpeg.binaries&#39; =&gt; &#39;/usr/bin/ffmpeg&#39;,
&#39;ffprobe.binaries&#39; =&gt; &#39;/usr/bin/ffprobe&#39;
];
$ffprobe = FFProbe::create($config);
$videoDuration = $ffprobe-&gt;format($fileUrl)-&gt;get(&#39;duration&#39;);
\u8FD9\u6837\u5C31\u53EF\u4EE5\u83B7\u53D6\u89C6\u9891\u7684\u65F6\u957F
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>`,2),r=[d];function a(v,t){return i(),n("div",null,r)}var u=e(l,[["render",a],["__file","FFMpeg\u5904\u7406\u89C6\u9891.html.vue"]]);export{u as default};
1 change: 1 addition & 0 deletions assets/HomePage.42bced1c.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/HomeTitleContent.bf9fab87.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/HomeTitleTop.2e9d6d27.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e6c0bf8

Please sign in to comment.