更改docker镜像源为阿里云

1
2
sudo vim /etc/docker/daemon.json
cat /etc/docker/daemon.json

{
“registry-mirrors”: [“https://gvv1xf6d.mirror.aliyuncs.com"]
}

拉取系统镜像并运行:

1
2
docker pull debian
docker run -it debian bash

更改debian镜像源

1
2
3
4
5
6
7
8
9
10
cd /etc/apt
cp sources.list sources.list.bak
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free" > sources.list.tsinghua
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free" >> sources.list.tsinghua
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free" >> sources.list.tsinghua
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free" >> sources.list.tsinghua
mv sources.list.tsinghua sources.list
apt install apt-transport-https ca-certificates
sed -E -i 's/http/https/' sources.list
apt update

docker commit e7f167a49946 wsd/testimg:1 # container id
docker run -it wsd/testimg:1 bash

KDE is a highly configurable modern Linux desktop environment which is developed by OpenSUSE company.

阅读更多

Several extensions that I use frequently.

Ad-block plus

屏蔽百度热搜

1
2
3
www.baidu.com##div[tpl="right_toplist1"]
www.baidu.com##div[tpl="right_toplist"]
www.baidu.com##div[class="cr-content"]

屏蔽知乎热搜

1
www.zhihu.com##div[class="Card TopSearch TopSearch--new"]

补:一些常用快捷键

Alt+Left/Right 用于单标签浏览时回退到前一条和快进到后一条
Alt+Tab 切换标签页
Alt+W 关闭当前标签页

Wireshark作为网络抓包分析工具,很有学习的必要。本篇将从基本用法入手,分析几种计算机网络常用协议,带你深入计算机网络的世界。

阅读更多

以太坊开发团队开发了 Remix IDE 和配套的 Remix 一系列插件供智能合约实验用。当然也可以使用 Java 的 web3j 来实现这些功能

阅读更多

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×