Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
789190036c | ||
|
|
61ba1132dc |
No files matched your search
+113
-34
@@ -1,44 +1,123 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8"/>
|
||||||
<style>
|
<style>
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
height: 100px;
|
||||||
flex-direction: column;
|
display: flex;
|
||||||
justify-content: center;
|
flex-direction: column;
|
||||||
align-items: center;
|
justify-content: center;
|
||||||
font-size: 20px;
|
align-items: center;
|
||||||
position: absolute;
|
font-size: 20px;
|
||||||
bottom: 0px;
|
background-color: #e4e4e4;
|
||||||
left: 0px;
|
position: fixed;
|
||||||
right: 0px;
|
left: 0;
|
||||||
background-color: #e4e4e4;
|
right: 0;
|
||||||
padding: 10px 0px;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filing-container {
|
.filing-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
|
.main-container {
|
||||||
|
padding-bottom: 100px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.onload = () => {
|
||||||
|
fetch("./website-update-logs.json")
|
||||||
|
.then(res => {
|
||||||
|
return res.json()
|
||||||
|
})
|
||||||
|
.then(data => {
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
const date = data[i]["date"]
|
||||||
|
const detail = data[i]["detail"]
|
||||||
|
const liEle = document.createElement("li")
|
||||||
|
const listEle = document.getElementById("update-list")
|
||||||
|
|
||||||
|
liEle.innerText = `${date}: ${detail}`
|
||||||
|
listEle.appendChild(liEle)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1 style="text-align: center;">XiaoAi's website</h1>
|
<div class="main-container">
|
||||||
|
<div style="font-size: 20px; font-weight: bold;">资源</div>
|
||||||
|
<div>linux软件源</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
debian 12<br>
|
||||||
|
<code>
|
||||||
|
wget:<br>
|
||||||
|
wget -O sources.list https://assets.cancerai.top/linux-repo/debian_12_x86-64/sources.list<br>
|
||||||
|
cat sources.list > /etc/apt/sources.list<br>
|
||||||
|
rm -rf sources.list<br>
|
||||||
|
apt update<br><br>
|
||||||
|
|
||||||
<footer>
|
curl:<br>
|
||||||
<div class="filing-container">
|
curl https://assets.cancerai.top/linux-repo/debian_12_x86-64/sources.list >
|
||||||
<a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2026028815号-1</a>
|
/etc/apt/sources.list<br>
|
||||||
</div>
|
apt update
|
||||||
|
</code>
|
||||||
|
</li>
|
||||||
|
<br>
|
||||||
|
<li>
|
||||||
|
debian 13<br>
|
||||||
|
<code>
|
||||||
|
wget:<br>
|
||||||
|
wget -O sources.list https://assets.cancerai.top/linux-repo/debian_13_arm64/sources.list<br>
|
||||||
|
cat sources.list > /etc/apt/sources.list<br>
|
||||||
|
rm -rf sources.list<br>
|
||||||
|
apt update<br><br>
|
||||||
|
|
||||||
<div class="filing-container" style="margin-top: 5px;">
|
curl:<br>
|
||||||
<img src="./filing_icon.png" width="30px" height="30px"/>
|
curl https://assets.cancerai.top/linux-repo/debian_13_arm64/sources.list >
|
||||||
<div style="width: 10px;"></div>
|
/etc/apt/sources.list<br>
|
||||||
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=31011702891982" rel="noreferrer" target="_blank">沪公网安备31011702891982号</a>
|
apt update
|
||||||
</div>
|
</code>
|
||||||
</footer>
|
</li>
|
||||||
|
<br>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div>homebrew软件源</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
版本 >= 4.x<br>
|
||||||
|
<code>
|
||||||
|
echo '<br>
|
||||||
|
export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"<br>
|
||||||
|
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"<br>
|
||||||
|
' >> ~/.zshrc && . ~/.zshrc && brew update
|
||||||
|
</code>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div style="font-size: 20px; font-weight: bold;">更新日志</div>
|
||||||
|
<ul id="update-list">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="filing-container">
|
||||||
|
<a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2026028815号-1</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="filing-container" style="margin-top: 5px;">
|
||||||
|
<img src="./filing_icon.png" width="30px" height="30px"/>
|
||||||
|
<div style="width: 10px;"></div>
|
||||||
|
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=31011702891982" rel="noreferrer" target="_blank">沪公网安备31011702891982号</a>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"date": "2026-08-28",
|
||||||
|
"detail": "新增 https://assets.cancerai.top 资源站点"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in new issue
Block a user