腾讯云命令
1.sudo su root /root命令
2.bt /面板`
建站时间代码
<p>
<span id="runtime_span"></span>
<script type="text/javascript">function show_runtime() {
window.setTimeout("show_runtime()", 1000);
X = new Date("12/15/2018 00:00:00");
Y = new Date();
T = (Y.getTime() - X.getTime());
M = 24 * 60 * 60 * 1000;
a = T / M;
A = Math.floor(a);
b = (a - A) * 24;
B = Math.floor(b);
c = (b - B) * 60;
C = Math.floor((b - B) * 60);
D = Math.floor((c - C) * 60);
runtime_span.innerHTML = "稳定运行: " + A + "天" + B + "小时" + C + "分" + D + "秒"
}
show_runtime();</script>
</p>
本站已稳定运行xx天代码
<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span>本博客已稳定运行<span id="days"
style="font-weight:800; color:#ED712E;">0</span>天</span>
<script>
let s1 = '2021-9-25';//设置为你的建站时间
s1 = new Date(s1.replace(/-/g, "/"));
s2 = new Date();
let days = s2.getTime() - s1.getTime();
let number_of_days = parseInt(days / (1000 * 60 * 60 * 24));
document.getElementById('days').innerHTML = number_of_days;
</script>
【来源:https://waistu.com/archives/65.html,转载请注明】
插入 iframe
<!-- 属性什么的不要错了,最好用双引号括住 -->
<!-- 网易云的iframe需要做些调整,调整如下 -->
<iframe src="//music.163.com/outchain/player?type=2&id=28445796&auto=0&height=66" frameborder="0" width="100%" height="86px"></iframe>
<iframe src="//music.163.com/outchain/player?type=0&id=382716015&auto=0&height=430" frameborder="0" width="100%" height="430px"></iframe>
------代码显示-------
----------------
# 背景色及背景条
<<table>
<tr>
<td bgcolor=#F4A460>背景色的设置是按照十六进制颜色值:#F4A460</td>
</tr>
</table>
<table>
<tr>
<td bgcolor=#FF6347>背景色的设置是按照十六进制颜色值:#FF6347</td>
</tr>
</table>
<table>
<tr>
<td bgcolor=#D8BFD8>背景色的设置是按照十六进制颜色值:#D8BFD8</td>
</tr>
</table>
<table>
<tr>
<td bgcolor=#008080>背景色的设置是按照十六进制颜色值:#008080</td>
</tr>
</table>
<table>
<tr>
<td bgcolor=#FFD700>背景色的设置是按照十六进制颜色值:#FFD700</td>
</tr>
------代码显示-------
------------------------