Clash 科学上网问题排查

1 week ago
0 comment
  1. 操作系统时间不正确
  2. 开启了 IPv6
  3. 配置文件 DNS 相关配置有误

Typora 标题自动编号

3 weeks ago
0 comment

官方文档:https://support.typora.io/Auto-Numbering/

To achieve this, add the following to your base.user.css or [theme].user.css in the theme folder.

Nginx 反代配置

1 month ago
0 comment

就这样写,剩余的交给 certbot 来补全:

server {
  charset utf-8;
  server_name xxx.xxx;

  location / {
    proxy_pass http://localhost:8080;
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_redirect default;
  }
}

Ubuntu 增加 Swap 文件

1 month ago
0 comment

转自:https://askubuntu.com/questions/178712/how-to-increase-swap-space

Resize Swap to 8GB

# Turn swap off
# This moves stuff in swap to the main memory and might take several minutes
sudo swapoff -a

# Create an empty swapfile
# Note that "1M" is basically just the unit and count is an integer.
# Together, they define the size. In this case 8GiB.
sudo dd if=/dev/zero of=/swapfile bs=1M count=8192

# Set the correct permissions
sudo chmod 0600 /swapfile

sudo mkswap /swapfile  # Set up a Linux swap area
sudo swapon /swapfile  # Turn the swap on

nmcli 命令行配置热点

2 months ago
0 comment

最近有个项目要用树莓派配置一个临时热点,这里做下笔记。

查看网络设备:

nmcli device

查看无线接口状态:

nmcli radio

TriNitroTofu

_(:з」∠)_

Recent Comments

果冻

在github上看到你的typecho的主题很不错,风格我很喜欢。

TriNitroTofu

哈哈哈你是第一个发现这个站的,这个站我主要就是自己写点笔记,不再有太多社交属性,主要也是比较忙吧。

Typecho 的 demo 站上次迁移服务器之后就没开起来了,毕竟确实没啥用。
英文 ...

Edoc Li

还有!ca的雪!!!

p.s.
December系统的评论表单可以改一下能记忆name和email字段吗qwq

Edoc Li

老师您的typecho demo和原英文blog是都不打理了吗qwq
今天和别人推荐老师的bubble主题发现ty站打不开了
然后急急忙忙跑到tofu.icu发现居然停更一年了!!(23年末开...