Skip to content

Commit

Permalink
Site updated: 2023-12-19 23:36:42
Browse files Browse the repository at this point in the history
  • Loading branch information
uerax committed Dec 19, 2023
1 parent 370151d commit 683f3d9
Show file tree
Hide file tree
Showing 161 changed files with 48 additions and 105,710 deletions.
684 changes: 0 additions & 684 deletions 2018/05/26/hello-world/index.html

Large diffs are not rendered by default.

675 changes: 0 additions & 675 deletions 2018/06/26/paypalfees/index.html

Large diffs are not rendered by default.

739 changes: 0 additions & 739 deletions 2018/06/26/re-os/index.html

Large diffs are not rendered by default.

663 changes: 0 additions & 663 deletions 2018/06/27/mail/index.html

Large diffs are not rendered by default.

706 changes: 0 additions & 706 deletions 2018/10/15/git-note/index.html

Large diffs are not rendered by default.

663 changes: 0 additions & 663 deletions 2018/11/28/server-speeder/index.html

Large diffs are not rendered by default.

670 changes: 0 additions & 670 deletions 2020/02/23/ssr/index.html

Large diffs are not rendered by default.

690 changes: 0 additions & 690 deletions 2020/02/23/v2ray/index.html

Large diffs are not rendered by default.

675 changes: 0 additions & 675 deletions 2021/08/19/auto-script/index.html

Large diffs are not rendered by default.

675 changes: 0 additions & 675 deletions 2021/10/09/mac-issue/index.html

Large diffs are not rendered by default.

675 changes: 0 additions & 675 deletions 2022/09/01/netch/index.html

Large diffs are not rendered by default.

679 changes: 0 additions & 679 deletions 2022/09/01/quantumult-x/index.html

Large diffs are not rendered by default.

686 changes: 0 additions & 686 deletions 2022/09/03/oraclevps/index.html

Large diffs are not rendered by default.

699 changes: 0 additions & 699 deletions 2022/09/03/trojan-build/index.html

Large diffs are not rendered by default.

679 changes: 0 additions & 679 deletions 2022/09/09/dota2-rpg/index.html

Large diffs are not rendered by default.

875 changes: 0 additions & 875 deletions 2022/09/10/lua-note/index.html

Large diffs are not rendered by default.

667 changes: 0 additions & 667 deletions 2022/09/27/bbr/index.html

Large diffs are not rendered by default.

672 changes: 0 additions & 672 deletions 2022/10/15/vmess-dns/index.html

Large diffs are not rendered by default.

676 changes: 0 additions & 676 deletions 2023/02/18/regex/index.html

Large diffs are not rendered by default.

674 changes: 0 additions & 674 deletions 2023/02/26/ai-voice/index.html

Large diffs are not rendered by default.

682 changes: 0 additions & 682 deletions 2023/03/10/kamifaka/index.html

Large diffs are not rendered by default.

677 changes: 0 additions & 677 deletions 2023/03/11/img-hosting/index.html

Large diffs are not rendered by default.

683 changes: 0 additions & 683 deletions 2023/03/27/history-danmu/index.html

Large diffs are not rendered by default.

678 changes: 0 additions & 678 deletions 2023/04/02/globe-sim/index.html

Large diffs are not rendered by default.

676 changes: 0 additions & 676 deletions 2023/04/03/useful-tools/index.html

Large diffs are not rendered by default.

684 changes: 0 additions & 684 deletions 2023/04/06/segment-anything/index.html

Large diffs are not rendered by default.

725 changes: 0 additions & 725 deletions 2023/04/07/sms-forward/index.html

Large diffs are not rendered by default.

725 changes: 0 additions & 725 deletions 2023/04/30/search-danmuku/index.html

Large diffs are not rendered by default.

746 changes: 0 additions & 746 deletions 2023/05/15/giffgaff/index.html

Large diffs are not rendered by default.

705 changes: 0 additions & 705 deletions 2023/06/05/crypto/index.html

Large diffs are not rendered by default.

677 changes: 0 additions & 677 deletions 2023/08/29/clash/index.html

Large diffs are not rendered by default.

735 changes: 0 additions & 735 deletions 2023/10/25/interview/index.html

Large diffs are not rendered by default.

703 changes: 0 additions & 703 deletions 2023/11/27/mining-zephyr/index.html

Large diffs are not rendered by default.

688 changes: 0 additions & 688 deletions 2023/12/15/mining-rental/index.html

Large diffs are not rendered by default.

720 changes: 0 additions & 720 deletions 2099/01/01/aq-collection/index.html

Large diffs are not rendered by default.

589 changes: 0 additions & 589 deletions 404.html

Large diffs are not rendered by default.

630 changes: 0 additions & 630 deletions about/index.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions aplayer/APlayer.min.css

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

2 changes: 2 additions & 0 deletions aplayer/APlayer.min.js

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions aplayer/autoload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const aplayer_path = "/aplayer/";

// 封装异步加载资源的方法
function loadExternalResource(url, type) {
return new Promise((resolve, reject) => {
let tag;

if (type === "css") {
tag = document.createElement("link");
tag.rel = "stylesheet";
tag.href = url;
}
else if (type === "js") {
tag = document.createElement("script");
tag.src = url;
}
if (tag) {
tag.onload = () => resolve(url);
tag.onerror = () => reject(url);
document.head.appendChild(tag);
}
});
}


Promise.all([
loadExternalResource(aplayer_path + "APlayer.min.css", "css"),
loadExternalResource(aplayer_path + "APlayer.min.js", "js"),
loadExternalResource(aplayer_path + "list.js", "js")
])
12 changes: 12 additions & 0 deletions aplayer/list.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const ap = new APlayer({
container: document.getElementById('aplayer'),
fixed: true,
autoplay: false,
audio: [
{
name: '竹节虫',
artist: 'unknow',
url: '/music/warm.mp3'
}
]
});
Loading

0 comments on commit 683f3d9

Please sign in to comment.