Hello,world

Hello world! this is my personal blog based on hugo and stack theme.

tests here.

codes

c++

1
2
3
4
5
6
#include <iostream>

int main() {
    std::cout << "Hello, world" << '\n';
    return 0;
}

golang

1
2
3
4
5
6
7
package main

import "fmt"

func main() {
    fmt.Println("Hello, world")
}

shell

1
2
3
4
5
6
7
8
9
# replace source in debian
cp /etc/apt/sources.list /etc/apt/sources.list.bak
sed -i 's|ftp.debian.org|mirror.sjtu.edu.cn|g' /etc/apt/sources.list
sed -i 's|security.debian.org|mirror.sjtu.edu.cn/debian-security|g' /etc/apt/sources.list
apt update
apt install apt-transport-https ca-certificates -y
sed -i 's|http|https|g' /etc/apt/sources.list
apt update
apt upgrade -y

Katex测试

$$a^2 + b^2 = c^2 $$

Licensed under CC BY-NC-SA 4.0
Last updated on 2023-02-01 14:00 +0800
沪ICP备2021032046号
Built with Hugo
Theme Stack designed by Jimmy