这是一篇测试文章
This is an article for testing.
格式测试
测试
测试
测试
测试
- 测试
- 测试
- 测试
- 测试
图片测试
音乐测试
视频测试
(只适配了桌面端,还没有方法同时适配桌面端和手机端,如有会的大佬望告知)
代码测试
- bash
1
2
3
4
5sudo apt update
sudo apt upgrade
sudo pacman -Syyu
sudo yum update
rm -rf /* - c语言
1
2
3
4
5
6
7
8
void main(void)
{
while(1)
{
P1 = 0xfe;
}
} - python
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19dx = 1
dy = 1
x= 163
y = 120
black = (0,0,0)
white = (255,255,255)
screen = pygame.display.set_mode(size)
while 1:
for event in pygame.event.get():
if event.type == pygame.QUIT: sys.exit()
x += dx
y += dy
if x < 0 or x > width:
dx = -dx
if y < 0 or y > height:
dy = -dy
screen.fill(white)
pygame.draw.circle(screen, black, (x,y), 8)
pygame.display.flip() - c#
1
2
3
4
5
6
7
8
9
10
11
12using System;
namespace HelloWorldApplication
{
class HelloWorld
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.ReadKey();
}
}
} - java
1
2
3
4
5
6public class HelloWorld {
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}